12

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.

19

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.

  • 3
    On Windows: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=c:\temp --kiosk www.example.com – Josh Santangelo Apr 25 '14 at 23:38
2

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

  • 9
    Give a bit more details what those flags mean, please – vonbrand Apr 2 '13 at 0:47
0

On Mac OS X:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.