13

I tried

chrome url --kiosk

but it works only when there's no instance running. I also tried

chrome url --kiosk --new-window

but it doesn't solve my problem neither.

Jader Dias
  • 16,236

3 Answers3

23

According to this answer, you need to create a new directory and use it for the user-data-dir. This should get you started quickly:

chrome --user-data-dir=$(mktemp -d) --kiosk

That will launch an entirely new instance of Crome in kiosk mode. Note the use of mktemp above to make a temporary directory. Depending on your goals, you may want to save that to a variable and delete it after Chrome exits.

justis
  • 346
  • 4
  • 5
2

chrome.exe --chrome-frame -kiosk http://www.google.com

0

On Mac OS X:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=$(mktemp -d -t chrome)
caruccio
  • 448
  • 4
  • 7