Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Google Chrome Incognito

  1. #1
    Join Date
    Sep 2011
    Beans
    67

    Google Chrome Incognito

    Does anyone know how to open the Chrome browser so that it is automatically in Incognito mode? I know I can press Ctrl+Shift+N to open a window if in normal mode. But I want to just click the icon and have it open incognito each time. In Windows you can do this by adding --incognito after the shortcut target path. Does Ubuntu allow a similar ability.

    Thanks,

    Justin

  2. #2
    Join Date
    Dec 2007
    Beans
    11,995

    Re: Google Chrome Incognito

    Quote Originally Posted by crutch145 View Post
    Does anyone know how to open the Chrome browser so that it is automatically in Incognito mode? I know I can press Ctrl+Shift+N to open a window if in normal mode. But I want to just click the icon and have it open incognito each time. In Windows you can do this by adding --incognito after the shortcut target path. Does Ubuntu allow a similar ability.

    Thanks,

    Justin
    Just a wild newbie guess but maybe you have to modify the command to
    Code:
    /opt/google/chrome/google-chrome --incognito
    That works when entered in a terminal. Someone else may explain how to get stuff like that into the Launcher!
    Last edited by vasa1; October 29th, 2011 at 01:21 PM.

  3. #3
    Join Date
    Sep 2011
    Beans
    67

    Re: Google Chrome Incognito

    Do I just do that through the terminal? If so, what is the command I need to enter? I right clicked on the Chrome icon and it did not have anything for me to modify command code. Need to break those Windows habits, lol.

  4. #4
    Join Date
    Jan 2010
    Location
    Delhi, India
    Beans
    95
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile Re: Google Chrome Incognito

    1. Right click on the panel and select "Add to panel".
    2. Select "Custom application launcher" and click "add".
    3. Fill "Name" and "Comment" field as desired.
    4. In command field type in "/opt/google/chrome/google-chrome --incognito" without quotes.
    5. Click on the spring icon.
    6. Browse to /opt/google/chrome and select "product_logo_24.png" to select it as the icon.
    7. Click close.

  5. #5
    Join Date
    Jun 2006
    Beans
    107
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Google Chrome Incognito

    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.
    Last edited by Gillingham; October 29th, 2011 at 03:55 PM. Reason: Corrected typo (missing space in the copy command.)

  6. #6
    Join Date
    Sep 2011
    Beans
    67

    Re: Google Chrome Incognito

    I am using version 11.10. Is the Panel you are referring to the taskbar on the left side of the screen? If I right click on that, nothing comes up unless I right click closer to one of the icons (but then the right click only applies to the icon I am right clicking on/near).

  7. #7
    Join Date
    Sep 2011
    Beans
    67

    Re: Google Chrome Incognito

    Gillingham - Here is the error I get when running the first command in the terminal: cp: missing destination file operand after `/opt/google/chrome/google-chrome.desktop~/.local/share/applications'

  8. #8
    Join Date
    Oct 2011
    Beans
    7

    Re: Google Chrome Incognito

    You forgot a space.

  9. #9
    Join Date
    Sep 2011
    Beans
    67

    Re: Google Chrome Incognito

    The only spaces in the fist command shown above is between cp and /opt

  10. #10
    Join Date
    Jul 2010
    Location
    United Kingdom
    Beans
    11
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Google Chrome Incognito

    You need a space between the p of desktop and the ~.
    The code after and including the ~ becomes the destination.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •