juli 19, 2013 door Tim
The simplest way to start a browser (e.g. Midori, Firefox, Chromium) from the command line without a desktop manager is with for example:
xinit /usr/bin/midori -e Fullscreen -a
-kiosk mode. (But Firefox and Chromium are heavier than Midori).
A good fix for Midori is to install a very lightweight fullscreen-only kiosk-specialized window manager, e.g.
matchbox. Install it with:
sudo apt-get install matchbox
Then create a script for
xinit to run (I called mine “transitscreen”). In this file put, for example:
midori -e Fullscreen -a http://dev.mobilitylab.org/TransitScreen/screen/index/11
xinit ./transitscreen (or whatever you called the script) and the Midori window should be fullscreen. (Note, due to the quirks of
xinit, you have the have a forward slash in the argument for it to be handled correctly, so don’t say just
xinit transitscreen for example.)