Wednesday, June 15, 2016

Log into Chromium as a different user

Chromium requires "users" to be added. The users must have been created in Google accounts.

It creates a profile for each "user". The first user is "Default", the next is "Profile 1" and so on.

It stores the profiles in the Home directory. Under linux this is
/home/andy/.config/chromium/

It will start with the Default profile unless you give it something else. Do the following to open it with "Profile 1":
chromium --profile-directory="Profile 1"

You can add a text file (e.g., urls_treas.txt) containing the desired URLs to be opened on start:
chromium --profile-directory="Profile 1" --new-window $(cat /data/develop/bin/comms/urls_treas.txt) &

No comments: