Ubuntu: How can I add Chrome's Incognito Window mode to Unity's Dash?


Is it possible to add Chrome's Incognito Mode to Unity Dash? By clicking on the Chrome Incognito Mode icon, I envision to open Chrome in a new incognito mode window. I still want to keep the default Google Chrome launcher icon and don't want to make the incognito mode the default mode.

enter image description here


From the Unity Dash ? No, not possible. It only displays applications,not their quicklists/options. However, if you pin an application to the launcher, you can open incognito from Chrome's quicklist:

enter image description here


How to create a .desktop

  • Create an empty file
  • Write the following:

    [Desktop Entry]  Name=Chrome Incognito  Comment=Opens chrome in incognito mode  Exec=google-chrome --incognito  Icon=google-chrome  Terminal=false  Type=Application  StartupNotify=true  Categories=GNOME;  OnlyShowIn=GNOME;Unity;  X-GNOME-Keywords=Network;Chrome;Incognito  

    Name, Comment, Icon, and X-GNOME-Keywords may be changed as your prefer.

Icon: All icons that are under the directory /usr/share/pixmaps don't need to have their full path specified, but their filename without the extension. For example, if the icon file is /usr/share/pixmaps/wallch.png, then the Icon field should be just 'wallch'. All other icons should have their full path specified.

  • Save it and name it as SOMETHING.desktop
  • Now you should be able to find it, using the keywords used at X-GNOME- Keywords

You can easily add it to the launcher as well, just by dragging the .desktop to the launcher, it will be automatically locked there.

Source / Extra information: https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »