Skip to content

Instantly share code, notes, and snippets.

@ruario
Last active December 20, 2019 15:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruario/0ae5a5467b22bb9db70fb044f82db164 to your computer and use it in GitHub Desktop.
Save ruario/0ae5a5467b22bb9db70fb044f82db164 to your computer and use it in GitHub Desktop.
Run this to create a Vivaldi launcher for Linux desktops that always starts in private mode.
#!/bin/sh
mkdir -p ~/.local/share/applications
cat << END > ~/.local/share/applications/vivaldi-private.desktop
[Desktop Entry]
Version=1.0
Name=Vivaldi (Private)
Exec=vivaldi-stable --incognito
StartupNotify=true
Terminal=false
Icon=vivaldi
Type=Application
Categories=Network;WebBrowser;
END
@ruario
Copy link
Author

ruario commented Dec 6, 2018

You may need to to a re-login before “Vivaldi (Private)” shows up as an item in the menus of your desktop environment.

To remove, just delete ‘~/.local/share/applications/vivaldi-private.desktop’

P.S. It is also worth noting that in popular Desktop Environments (i.e Gnome), the default desktop launcher for Vivaldi already has an entry to start a Vivaldi Private Window from the right click, context menu. The above is just an alternative or if your Desktop Environment of choice does not support desktop actions in desktop launcher files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment