Chrome shortcut for itch user

Hi. I getting a error message during I try to create a shortcut for second chrome user.
Executing in terminal:
/usr/bin/google-chrome-stable --profile-=“Profile 2”

Every time terminal is trying to create new Profile inside a profile’s folder which already exist.
Does anyone have idea how to easy create a desktop shortcut?

I have looked, but not very far or thoroughly, but:
(why) are you sure that this command should work as intended?
(starting a chrome instance with this specific profile?)

edit:

I had a look at

man google-chrome-stable

and it seems this can be done via this option:

--user-data-dir=DIR
              Specifies the directory that user data (your "profile") is kept in.  Defaults to $HOME/.config/google-chrome .  Separate instances of  Google  Chrome
              must use separate user data directories; repeated invocations of google-chrome will reuse an existing process for a given user data directory.

/edit

[Desktop Action new-private-window]
Exec=/usr/bin/google-chrome-stable --incognito --profile-directory=“Profile 1”
Name=New Incognito Window

[Desktop Action new-window]
Exec=/usr/bin/google-chrome-stable --profile-directory=“Profile 1”
Name=New Window

[Desktop Entry]
Actions=new-window;new-private-window;
Categories=Network;WebBrowser;
Comment[pl_PL]=dostęp do internetu
Comment=dostęp do internetu
Exec=/usr/bin/google-chrome-stable %U --profile-directory=“Profile 1”
GenericName[pl_PL]=przegglądarka internetowa
GenericName=przegglądarka internetowa
Icon=/home/michau/Obrazy/ikony/Chrome-icon.png
MimeType=text/html;image/webp;image/png;image/jpeg;image/gif;application/xml;application/xml;application/xhtml+xml;application/rss+xml;application/rdf+xml;application/pdf;
Name[pl_PL]=marysia
Name=marysia
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=

This is how new created desktop shortcut should look like.
Only user name has to be change and your local language settings

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.