Saturday, May 4, 2024
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 28384  / 3 Years ago, fri, may 28, 2021, 8:51:58

On Windows, Google Chrome has the option to create a shortcut on the desktop for each Chrome user. For example, I have my personal Google Account and I also have my company Google Account. So, I setup Google Chrome with two users and I created two shortcuts on desktop for each user.


On Ubuntu, I also created two users and I setup my accounts. But I can't create two "shortcuts" on launcher for each user. Is that possible? Today, on Ubuntu, I have to change between the users directly on chrome. I am not complaining about this, but I am used to have more chrome shortcuts.


I can also get used in Ubuntu is this is not possible.


My versions:



  • Ubuntu 14.04 LTS

  • Chrome 35.0.1916.153


More From » google-chrome

 Answers
1

It is quite simple to do this in Windows but not the same in Ubuntu.



For Ubuntu, I found two ways. Personally I recommend method 2 because you don't need to install anything. It also allows you to access the second profile from "Activities" (Ubuntu) without using any commands.



Please note that either way you choose, you have to know YOUR_PROFILE_NAME.



YOUR_PROFILE_NAME is normally Default for the first profile you created. The second profile is named Profile 1. The third is Profile 2, and so on (You can also give custom names for profiles). You can identify which profile is currently loaded by opening chrome://version inside Chrome and looking at Profile Path.




  1. Follow Filippo's answer but change the Command to:



    google-chrome --profile-directory=YOUR_PROFILE_NAME  

  2. Put this code in any text editor and name it anything .desktop.



    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=false
    Icon[en_US]=google-chrome
    Exec=google-chrome --profile-directory=YOUR_PROFILE_NAME
    Name[en_US]=Chrome-YOUR_PROFILE_NAME
    Name=Chrome-YOUR_PROFILE_NAME
    Icon=google-chrome


    Right-click the file. Open "Properties". Go to "Permissions" tab. Click Allow executing file as program.



    You can keep the .desktop file in ~/.local/share/applications/ so that your Application Launcher can locate it easily. Now simply press super and search for Chrome-YOUR_PROFILE_NAME (value given for Name), you will find the second profile appearing in the search results!



[#24223] Saturday, May 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tigehanc

Total Points: 162
Total Questions: 113
Total Answers: 122

Location: Zambia
Member since Sat, Oct 31, 2020
4 Years ago
tigehanc questions
;