If you are using unity then to alter the command you run when you click on the icon you will need to edit the google-chrome.desktop file.
The safest way I have come across is first to copy the file from
/opt/google/chrome/google-chrome.desktop
to ~/.local/share/applications/
Code:
cp /opt/google/chrome/google-chrome.desktop ~/.local/share/applications/
then you will need edit the .desktop file
and find the line that has exec in it, for me this is:
Code:
Exec=/opt/google/chrome/google-chrome %U
and replace it with
Code:
Exec=/opt/google/chrome/google-chrome --incognito
and make the file executable
Code:
chmod +x google-chrome.desktop
This will of course only work for the user in whose home directory you have the saved file.
Corrected typo in the copy command.
Bookmarks