How do I open Chromium in incognito mode by default?











up vote
12
down vote

favorite
4












I would like to be able to open Chromium in incognito mode automatically. I'm new to Linux and I love it so far but I haven't yet found a way to do this. I'm using Ubuntu 14.04.










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
12
down vote

favorite
4












I would like to be able to open Chromium in incognito mode automatically. I'm new to Linux and I love it so far but I haven't yet found a way to do this. I'm using Ubuntu 14.04.










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
12
down vote

favorite
4









up vote
12
down vote

favorite
4






4





I would like to be able to open Chromium in incognito mode automatically. I'm new to Linux and I love it so far but I haven't yet found a way to do this. I'm using Ubuntu 14.04.










share|improve this question















I would like to be able to open Chromium in incognito mode automatically. I'm new to Linux and I love it so far but I haven't yet found a way to do this. I'm using Ubuntu 14.04.







chromium






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 2:15









muru

134k19283484




134k19283484










asked May 6 '14 at 20:46









user278752

63115




63115












  • 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


















  • 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
















This should work for all flavours of Ubuntu, no?
– Bruno Pereira
Feb 3 '14 at 10:12




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




Sure, I don't see why not.
– Evan Carroll
Feb 3 '14 at 17:55










5 Answers
5






active

oldest

votes

















up vote
12
down vote



accepted










I assume you mean the Chromium Web Browser.



You have to change one line in the chromium-browser.desktop file. The best is to do that locally:




  1. Copy the file from /usr/share/applications to /home/yourname/.local/share/applications

  2. Open the file with gedit (open gedit and drag the local desktop file on to the gedit window)

  3. Find the first line in the file that begins with Exec=

  4. Replace the line by Exec=chromium-browser --incognito


a few remarks:




  • The folder /home/yourname/.local/share/applications is a hidden folder by default. To make it visibe: go to your home folder, type ctrl + h, the .local folder will appear.


  • You can copy the chromium-browser.desktop file to your local folder with the command: cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications/chromium-browser.desktop


  • You might have to log out and back in before the changes to take effect.







share|improve this answer























  • Yep, logging out/in did the trick. Thank you so much :)
    – user278752
    May 6 '14 at 21:32






  • 1




    I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
    – Evan Carroll
    Nov 4 '16 at 1:40












  • Is there a proper icon for Chrome Incognito?
    – orschiro
    Feb 21 '17 at 6:38






  • 1




    Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
    – Jacob Vlijm
    Feb 21 '17 at 8:17












  • Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
    – orschiro
    Feb 21 '17 at 9:57


















up vote
9
down vote













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



















  • 1




    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












  • @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
    – Evan Carroll
    Apr 20 '17 at 3:10


















up vote
7
down vote













This is how I do it using alacarte (main menu).
Install alacarte (aka main menu) from the Ubuntu Software Center if you don't already have it. Launch it.



On the left hand side, under Menus, make sure Applications is expanded. Look for Internet. Single click it. Now look for Chrome under Items. Single click it. Look for Properties on the right hand side. Single click it. A little window appears. (I've dragged it to the right for clarity.) Look for Command. For me, I see /opt/google/chrome/google-chrome %U.



using alacarte



Carefully change that to:
/opt/google/chrome/google-chrome --incognito %U



Click Close on the little window and then click Close on the Main Menu window. You need to log out and log in to make the change register.



You're done.



(I just did it so I know it works.)






share|improve this answer




























    up vote
    1
    down vote













    You need create a Chorme incognito.desktop file like with the following contents,



    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Version=1.0
    Name=Chorme incognito
    Exec=/opt/google/chrome/google-chrome --incognito
    Terminal=false
    Icon=google-chrome
    Type=Application
    Categories=Network;WebBrowser;
    MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;


    save this file, open a nautilus with root permission. (run gksu nautilus)



    Browse to /usr/share/applications and paste the file here.



    Now you can drag this icon to your launcher.



    Click on launcher icon, chorme will start in incognito mode.






    share|improve this answer





















    • Can't one just use ala carte (main menu) to do this via a GUI?
      – user25656
      Jul 4 '12 at 17:33


















    up vote
    -1
    down vote













    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








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f461943%2fhow-do-i-open-chromium-in-incognito-mode-by-default%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      12
      down vote



      accepted










      I assume you mean the Chromium Web Browser.



      You have to change one line in the chromium-browser.desktop file. The best is to do that locally:




      1. Copy the file from /usr/share/applications to /home/yourname/.local/share/applications

      2. Open the file with gedit (open gedit and drag the local desktop file on to the gedit window)

      3. Find the first line in the file that begins with Exec=

      4. Replace the line by Exec=chromium-browser --incognito


      a few remarks:




      • The folder /home/yourname/.local/share/applications is a hidden folder by default. To make it visibe: go to your home folder, type ctrl + h, the .local folder will appear.


      • You can copy the chromium-browser.desktop file to your local folder with the command: cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications/chromium-browser.desktop


      • You might have to log out and back in before the changes to take effect.







      share|improve this answer























      • Yep, logging out/in did the trick. Thank you so much :)
        – user278752
        May 6 '14 at 21:32






      • 1




        I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
        – Evan Carroll
        Nov 4 '16 at 1:40












      • Is there a proper icon for Chrome Incognito?
        – orschiro
        Feb 21 '17 at 6:38






      • 1




        Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
        – Jacob Vlijm
        Feb 21 '17 at 8:17












      • Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
        – orschiro
        Feb 21 '17 at 9:57















      up vote
      12
      down vote



      accepted










      I assume you mean the Chromium Web Browser.



      You have to change one line in the chromium-browser.desktop file. The best is to do that locally:




      1. Copy the file from /usr/share/applications to /home/yourname/.local/share/applications

      2. Open the file with gedit (open gedit and drag the local desktop file on to the gedit window)

      3. Find the first line in the file that begins with Exec=

      4. Replace the line by Exec=chromium-browser --incognito


      a few remarks:




      • The folder /home/yourname/.local/share/applications is a hidden folder by default. To make it visibe: go to your home folder, type ctrl + h, the .local folder will appear.


      • You can copy the chromium-browser.desktop file to your local folder with the command: cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications/chromium-browser.desktop


      • You might have to log out and back in before the changes to take effect.







      share|improve this answer























      • Yep, logging out/in did the trick. Thank you so much :)
        – user278752
        May 6 '14 at 21:32






      • 1




        I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
        – Evan Carroll
        Nov 4 '16 at 1:40












      • Is there a proper icon for Chrome Incognito?
        – orschiro
        Feb 21 '17 at 6:38






      • 1




        Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
        – Jacob Vlijm
        Feb 21 '17 at 8:17












      • Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
        – orschiro
        Feb 21 '17 at 9:57













      up vote
      12
      down vote



      accepted







      up vote
      12
      down vote



      accepted






      I assume you mean the Chromium Web Browser.



      You have to change one line in the chromium-browser.desktop file. The best is to do that locally:




      1. Copy the file from /usr/share/applications to /home/yourname/.local/share/applications

      2. Open the file with gedit (open gedit and drag the local desktop file on to the gedit window)

      3. Find the first line in the file that begins with Exec=

      4. Replace the line by Exec=chromium-browser --incognito


      a few remarks:




      • The folder /home/yourname/.local/share/applications is a hidden folder by default. To make it visibe: go to your home folder, type ctrl + h, the .local folder will appear.


      • You can copy the chromium-browser.desktop file to your local folder with the command: cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications/chromium-browser.desktop


      • You might have to log out and back in before the changes to take effect.







      share|improve this answer














      I assume you mean the Chromium Web Browser.



      You have to change one line in the chromium-browser.desktop file. The best is to do that locally:




      1. Copy the file from /usr/share/applications to /home/yourname/.local/share/applications

      2. Open the file with gedit (open gedit and drag the local desktop file on to the gedit window)

      3. Find the first line in the file that begins with Exec=

      4. Replace the line by Exec=chromium-browser --incognito


      a few remarks:




      • The folder /home/yourname/.local/share/applications is a hidden folder by default. To make it visibe: go to your home folder, type ctrl + h, the .local folder will appear.


      • You can copy the chromium-browser.desktop file to your local folder with the command: cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications/chromium-browser.desktop


      • You might have to log out and back in before the changes to take effect.








      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Oct 13 '14 at 19:48









      muru

      134k19283484




      134k19283484










      answered May 6 '14 at 20:55









      Jacob Vlijm

      63k9121215




      63k9121215












      • Yep, logging out/in did the trick. Thank you so much :)
        – user278752
        May 6 '14 at 21:32






      • 1




        I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
        – Evan Carroll
        Nov 4 '16 at 1:40












      • Is there a proper icon for Chrome Incognito?
        – orschiro
        Feb 21 '17 at 6:38






      • 1




        Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
        – Jacob Vlijm
        Feb 21 '17 at 8:17












      • Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
        – orschiro
        Feb 21 '17 at 9:57


















      • Yep, logging out/in did the trick. Thank you so much :)
        – user278752
        May 6 '14 at 21:32






      • 1




        I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
        – Evan Carroll
        Nov 4 '16 at 1:40












      • Is there a proper icon for Chrome Incognito?
        – orschiro
        Feb 21 '17 at 6:38






      • 1




        Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
        – Jacob Vlijm
        Feb 21 '17 at 8:17












      • Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
        – orschiro
        Feb 21 '17 at 9:57
















      Yep, logging out/in did the trick. Thank you so much :)
      – user278752
      May 6 '14 at 21:32




      Yep, logging out/in did the trick. Thank you so much :)
      – user278752
      May 6 '14 at 21:32




      1




      1




      I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
      – Evan Carroll
      Nov 4 '16 at 1:40






      I downvoted this too, more complex and not as good as this older answer. This method doesn't open it by default, it makes a shortcut that opens it specifically.
      – Evan Carroll
      Nov 4 '16 at 1:40














      Is there a proper icon for Chrome Incognito?
      – orschiro
      Feb 21 '17 at 6:38




      Is there a proper icon for Chrome Incognito?
      – orschiro
      Feb 21 '17 at 6:38




      1




      1




      Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
      – Jacob Vlijm
      Feb 21 '17 at 8:17






      Hi @orschiro I found this: tekrevue.com/tip/incognito-mode-shortcut or more precisely this: cdn1.tekrevue.com/wp-content/uploads/2014/07/…
      – Jacob Vlijm
      Feb 21 '17 at 8:17














      Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
      – orschiro
      Feb 21 '17 at 9:57




      Thanks, @JacobVlijm. So, the Ubuntu Google Chrome package doesn't ship a default one?
      – orschiro
      Feb 21 '17 at 9:57












      up vote
      9
      down vote













      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



















      • 1




        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












      • @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
        – Evan Carroll
        Apr 20 '17 at 3:10















      up vote
      9
      down vote













      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



















      • 1




        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












      • @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
        – Evan Carroll
        Apr 20 '17 at 3:10













      up vote
      9
      down vote










      up vote
      9
      down vote









      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














      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














      share|improve this answer



      share|improve this answer








      edited Nov 23 at 21:36

























      answered Feb 3 '14 at 10:02









      Evan Carroll

      4,619103466




      4,619103466








      • 1




        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












      • @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
        – Evan Carroll
        Apr 20 '17 at 3:10














      • 1




        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












      • @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
        – Evan Carroll
        Apr 20 '17 at 3:10








      1




      1




      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 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














      @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
      – Evan Carroll
      Apr 20 '17 at 3:10




      @Oxwivi your distro doesn't control or bundle Google Chrome. The version of Google Chrome that they do bundle, they call Chromium. Google forces them to rename the browser because they technically publish their own patches, like the one that has the default file. It also doesn't make sense to have "a default" for more than one browser because the WM will only launch only one when you click a link.
      – Evan Carroll
      Apr 20 '17 at 3:10










      up vote
      7
      down vote













      This is how I do it using alacarte (main menu).
      Install alacarte (aka main menu) from the Ubuntu Software Center if you don't already have it. Launch it.



      On the left hand side, under Menus, make sure Applications is expanded. Look for Internet. Single click it. Now look for Chrome under Items. Single click it. Look for Properties on the right hand side. Single click it. A little window appears. (I've dragged it to the right for clarity.) Look for Command. For me, I see /opt/google/chrome/google-chrome %U.



      using alacarte



      Carefully change that to:
      /opt/google/chrome/google-chrome --incognito %U



      Click Close on the little window and then click Close on the Main Menu window. You need to log out and log in to make the change register.



      You're done.



      (I just did it so I know it works.)






      share|improve this answer

























        up vote
        7
        down vote













        This is how I do it using alacarte (main menu).
        Install alacarte (aka main menu) from the Ubuntu Software Center if you don't already have it. Launch it.



        On the left hand side, under Menus, make sure Applications is expanded. Look for Internet. Single click it. Now look for Chrome under Items. Single click it. Look for Properties on the right hand side. Single click it. A little window appears. (I've dragged it to the right for clarity.) Look for Command. For me, I see /opt/google/chrome/google-chrome %U.



        using alacarte



        Carefully change that to:
        /opt/google/chrome/google-chrome --incognito %U



        Click Close on the little window and then click Close on the Main Menu window. You need to log out and log in to make the change register.



        You're done.



        (I just did it so I know it works.)






        share|improve this answer























          up vote
          7
          down vote










          up vote
          7
          down vote









          This is how I do it using alacarte (main menu).
          Install alacarte (aka main menu) from the Ubuntu Software Center if you don't already have it. Launch it.



          On the left hand side, under Menus, make sure Applications is expanded. Look for Internet. Single click it. Now look for Chrome under Items. Single click it. Look for Properties on the right hand side. Single click it. A little window appears. (I've dragged it to the right for clarity.) Look for Command. For me, I see /opt/google/chrome/google-chrome %U.



          using alacarte



          Carefully change that to:
          /opt/google/chrome/google-chrome --incognito %U



          Click Close on the little window and then click Close on the Main Menu window. You need to log out and log in to make the change register.



          You're done.



          (I just did it so I know it works.)






          share|improve this answer












          This is how I do it using alacarte (main menu).
          Install alacarte (aka main menu) from the Ubuntu Software Center if you don't already have it. Launch it.



          On the left hand side, under Menus, make sure Applications is expanded. Look for Internet. Single click it. Now look for Chrome under Items. Single click it. Look for Properties on the right hand side. Single click it. A little window appears. (I've dragged it to the right for clarity.) Look for Command. For me, I see /opt/google/chrome/google-chrome %U.



          using alacarte



          Carefully change that to:
          /opt/google/chrome/google-chrome --incognito %U



          Click Close on the little window and then click Close on the Main Menu window. You need to log out and log in to make the change register.



          You're done.



          (I just did it so I know it works.)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 6 '12 at 12:56







          user25656





























              up vote
              1
              down vote













              You need create a Chorme incognito.desktop file like with the following contents,



              #!/usr/bin/env xdg-open
              [Desktop Entry]
              Version=1.0
              Name=Chorme incognito
              Exec=/opt/google/chrome/google-chrome --incognito
              Terminal=false
              Icon=google-chrome
              Type=Application
              Categories=Network;WebBrowser;
              MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;


              save this file, open a nautilus with root permission. (run gksu nautilus)



              Browse to /usr/share/applications and paste the file here.



              Now you can drag this icon to your launcher.



              Click on launcher icon, chorme will start in incognito mode.






              share|improve this answer





















              • Can't one just use ala carte (main menu) to do this via a GUI?
                – user25656
                Jul 4 '12 at 17:33















              up vote
              1
              down vote













              You need create a Chorme incognito.desktop file like with the following contents,



              #!/usr/bin/env xdg-open
              [Desktop Entry]
              Version=1.0
              Name=Chorme incognito
              Exec=/opt/google/chrome/google-chrome --incognito
              Terminal=false
              Icon=google-chrome
              Type=Application
              Categories=Network;WebBrowser;
              MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;


              save this file, open a nautilus with root permission. (run gksu nautilus)



              Browse to /usr/share/applications and paste the file here.



              Now you can drag this icon to your launcher.



              Click on launcher icon, chorme will start in incognito mode.






              share|improve this answer





















              • Can't one just use ala carte (main menu) to do this via a GUI?
                – user25656
                Jul 4 '12 at 17:33













              up vote
              1
              down vote










              up vote
              1
              down vote









              You need create a Chorme incognito.desktop file like with the following contents,



              #!/usr/bin/env xdg-open
              [Desktop Entry]
              Version=1.0
              Name=Chorme incognito
              Exec=/opt/google/chrome/google-chrome --incognito
              Terminal=false
              Icon=google-chrome
              Type=Application
              Categories=Network;WebBrowser;
              MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;


              save this file, open a nautilus with root permission. (run gksu nautilus)



              Browse to /usr/share/applications and paste the file here.



              Now you can drag this icon to your launcher.



              Click on launcher icon, chorme will start in incognito mode.






              share|improve this answer












              You need create a Chorme incognito.desktop file like with the following contents,



              #!/usr/bin/env xdg-open
              [Desktop Entry]
              Version=1.0
              Name=Chorme incognito
              Exec=/opt/google/chrome/google-chrome --incognito
              Terminal=false
              Icon=google-chrome
              Type=Application
              Categories=Network;WebBrowser;
              MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;


              save this file, open a nautilus with root permission. (run gksu nautilus)



              Browse to /usr/share/applications and paste the file here.



              Now you can drag this icon to your launcher.



              Click on launcher icon, chorme will start in incognito mode.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jul 4 '12 at 17:31









              Web-E

              17.6k104489




              17.6k104489












              • Can't one just use ala carte (main menu) to do this via a GUI?
                – user25656
                Jul 4 '12 at 17:33


















              • Can't one just use ala carte (main menu) to do this via a GUI?
                – user25656
                Jul 4 '12 at 17:33
















              Can't one just use ala carte (main menu) to do this via a GUI?
              – user25656
              Jul 4 '12 at 17:33




              Can't one just use ala carte (main menu) to do this via a GUI?
              – user25656
              Jul 4 '12 at 17:33










              up vote
              -1
              down vote













              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

























                up vote
                -1
                down vote













                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























                  up vote
                  -1
                  down vote










                  up vote
                  -1
                  down vote









                  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












                  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












                  share|improve this answer



                  share|improve this answer










                  answered Jul 24 '15 at 22:45









                  Siamak

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f461943%2fhow-do-i-open-chromium-in-incognito-mode-by-default%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Mouse cursor on multiple screens with different PPI

                      Agildo Ribeiro

                      Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”