Skip to content

Instantly share code, notes, and snippets.

@ruario
Last active December 6, 2021 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ruario/4560cc7ceefdc90da6f0db175ae1f7b6 to your computer and use it in GitHub Desktop.
Save ruario/4560cc7ceefdc90da6f0db175ae1f7b6 to your computer and use it in GitHub Desktop.
A small App that starts Vivaldi for macOS as a Private Window

Vivaldi Private Window Launcher for macOS

The following commands will produce a small application that allows you to launch Vivaldi in Private mode on a Mac.

Start Terminal paste in the the following code (pressing Enter when done):

mkdir -p Vivaldi\ Private.app/Contents/MacOS
printf '#!/bin/sh\nopen -a Vivaldi.app --args --incognito' > Vivaldi\ Private.app/Contents/MacOS/Vivaldi\ Private
chmod +x Vivaldi\ Private.app/Contents/MacOS/Vivaldi\ Private

You should now have an application called "Vivaldi Private", stored in the folder where Terminal is running—you can check the folder location with pwd or open the folder in Finder with open .

Move "Vivaldi Private" to your /Applications folder and use "Vivaldi Private" to launch, rather than running Vivaldi directly.

@git-fr
Copy link

git-fr commented Dec 6, 2021

This isn't working for me in macOS Monterey, with Vivaldi 4.3.2439.65.

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