Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

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