1
2
I have put the following line in my /etc/bash.bashrc
file:
chromium--kiosk www.bbc.co.uk
However I then get an error at start up:
(chromium:2100): Gtk-WARNING **: cannot open display:
If I set the Pi to boot into OS at startup, chromium never appears, but if I start a terminal window it suddenly opens chromium in kiosk mode and with the specified web page!
What am I doing wrong?
Put that in you xinitrc. – Tamara Wijsman – 2013-01-15T00:48:05.080
Which DE? If you're using Arch + Openbox, you could add it to the
~/.config/openbox/autostart
, otherwise as @TomWijsman suggested, the~/.xinitrc
should work. I might put a(sleep 3 && command) &
in there to wait for X to start. – nerdwaller – 2013-01-15T01:10:41.930