Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I configure Ubuntu or Xubuntu such that when I click on a link, Chromium/Chrome opens in "Incognito mode"?

share|improve this question
This should work for all flavours of Ubuntu, no? – Bruno Pereira Feb 3 '14 at 10:12
Sure, I don't see why not. – Evan Carroll Feb 3 '14 at 17:55
up vote 5 down vote accepted

There are two steps,

  1. Run sudo update-alternatives --config x-www-browser and select /usr/bin/chromium-browser. This will make Chromium your system's default browser.
  2. Run sudo -e /etc/chromium-browser/default (edit as root), and change the line that reads CHROMIUM_FLAGS="" to CHROMIUM_FLAGS="--incognito".

That's it. Changes are instantaneous.

Also, if you ever want to open chrome without incognito mode, just hold Ctrl + n in incognito mode.

share|improve this answer
The question asks for incognito for both Chromium and Google Chrome—where in the world is the default file for Chrome? – Oxwivi Nov 6 '15 at 6:25

The solution which worked for me:

  1. open an incognito window
  2. lock it to luncher
  3. remove the other chrome from luncher
  4. whenever you click this icon in luncher an incognito window of chrome will be opened.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.