105

I've read you can start Google Chrome in kiosk mode in Windows by using the argument --kiosk.

I know how to do this on Windows, but how can I do this on Mac OS X?

And how can I run Google Chrome with the --kiosk argument on startup?

Nakilon
  • 956
alex
  • 4,442

4 Answers4

129

This works with macOS:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --kiosk
Giacomo1968
  • 58,727
Andrew
  • 1,406
38

It is probably even better to use the open command (in case the application is not located in the Application folder). E.g.: open -a "Google Chrome" --args --kiosk http://www.example.com

wuxscho
  • 481
12

In AppleScript, paste the following text:

do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --kiosk"

Save it as an application and add it to your startup items.

Arjan
  • 31,511
vynsynt
  • 121
  • 1
  • 3
7

You can create an alias to open websites or files via command line. To do this, you can include at the end of your ~/.bashrc, ~/.bash_profile or ~/.aliases the following lines:

# Google Chrome Alias
google-chrome() {
    open -a "Google Chrome" "$1"
}