browse

Terminal commands to launch your preferred browser (or any app) in full-screen mode

browse

Launch apps in full-screen mode from the Terminal. Currently Mac OS X only, patches welcome.

Install Node.js, then run

$ npm install -g browse

Mac / Linux users may need to run the above with sudo

Six convenience commands are installed:

To launch Chrome Canary in Presentation Mode, run:

$ ca <location>

To launch Chrome in Presentation Mode, run:

$ ch <location>

To launch Firefox in full-screen Mode, run:

$ ff <location>

To launch Safari in full-screen Mode, run:

$ sf <location>

Run the command ccf (an applescript which sends the CMD+CTRL+f keystroke to the active application) following a regular open to switch it to full-screen mode:

$ open -a Calendar; ccf

Should an app have an additional full-screen mode shortcutted by CMD+Shift+f (as Chrome does), use:

$ open -a "Google Chrome"; csf

Tip. If an app is slow to load, give it chance to load fully by inserting a pause before running the keyboard shortcut:

$ open -a "Google Chrome"; sleep 3; csf