Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications


LINUX newbies may experience difficulty in making google chrome incognito by default. If so, then this short tutorial is for you.


Step 1:
open the terminal from the applications

Step 2: type "cd /opt" without quotes.
(I assume that you've not changed the default installation folder for google chrome. If not so, go to that directory where chrome is installed)

Step 3: type "cd google" , then
    
                    "cd chrome" without quotes.

Now you are inside the chrome directory where you can find the configuration file "google-chrome" which contains the settings for chrome.
This file can be edited with any text editing software available in your LINUX distro. Let me use "gedit" to do this. 
(Remember you need have administrator privileges which can be obtained by a "sudo" command)

Step 4: type "sudo gedit google-chrome" without quotes.

You will be prompted for the admin password, enter it.

The  "gedit" text editing window will look like the snap-shot below

Step 5: Add "--incognito" to the last line of the text (see the snap-shot), save the file, close "gedit" and close the terminal.  You're done !!
Open Google Chrome from the applications (or favorites) to see an incognito window opened.

In other words you've just made Google Chrome incognito by default. :)





Best Regards,

sjsam





 
Rate This Article: poor excellent
 
Comments about this article
Alternative.
writen by: klokh on 2012-04-03 17:41:27
Thanks for the article, sjsam.
An alternative is instead to use a custom .desktop file (in ~/.local/share/applications, for instance). Just copy Chrome's desktop file from /usr/local/share/applications and add the --incognito parameter to the Exec line(s).
Your example works when launching it from the command line but every time Chrome is updated it's lost (so maybe it would be better served with an alias).
RE: Alternative. written by klokh:

Comment title: * please do not put your response text here