Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

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.