Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to boot a chrome application shortcut in full screen (kiosk mode).

Launching as an application shortcut is straightforward by appending the command --app=http://website.com. But the kiosk/fullscreen mode --kiosk or --start-maximized doesn't work.

I've looked up the commands through man google-chrome. I doesn't look like the option exists.

Is this option hidden, or are there alternatives? A way of starting chrome in fullscreen by default? I'm guessing that there is a way to fake a key press on F11 after chrome has started. Though this really isn't an ideal solution.

share|improve this question
    
Have you tried google-chrome --help? –  MadMike Oct 14 '13 at 14:17
    
yes, its the same command as 'man google-chrome' –  rom Oct 14 '13 at 17:03

2 Answers 2

up vote 5 down vote accepted

How to use Chrome browser in kiosk-mode

Use it like this:

google-chrome --kiosk http://example.com
chromium-browser --kiosk http://example.com

tested with Ubuntu 12.04, google-chrome-stable 30.0.1599.66-1 and chromium-browser 28.0.1500.71-0ubuntu1.12.04. But only if there is no other instance of the browser running.

So close all browser windows and then use it with the option and it should definitely work as expected.

Other things I've learned

Checking --help or man google-chrome didn't help because:

Chromium has hundreds of undocumented command-line flags that are added
and removed at the whim of the developers.   Here,  we  document  rela‐
tively stable flags.

So --kiosk is an option that is deliberately un-document, because it might disappear at a whim... which it didn't since over 2 years. But, well you have been warned.

share|improve this answer
    
Nice one, works fine on 13.04 (though I am running legacy fullscreen support). I take it my issue was that I already had a chrome instance running. Was hoping there was a kiosk mode that would fall back to an application shortcut when exiting fullscreen. A tall order I suppose. –  rom Oct 15 '13 at 9:17

Peter Beverloo has comprised a list of command line options at http://peter.sh/experiments/chromium-command-line-switches/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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