Skip to content

Instantly share code, notes, and snippets.

@LeetCodes
Forked from ruario/macos-private.md
Created March 31, 2020 11:53
Show Gist options
  • Select an option

  • Save LeetCodes/e8badfecdf4935487207ba28cf4e6378 to your computer and use it in GitHub Desktop.

Select an option

Save LeetCodes/e8badfecdf4935487207ba28cf4e6378 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.

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