[openbox] Open midori from a bash script on raspberry pi with touchscreen

Ian Zimmerman itz at buug.org
Wed Apr 22 12:44:45 EDT 2015


On Tue, 07 Apr 2015 11:40:23 +0200,
contact <contact at billard-francois-marie.eu> wrote:

contact> I use openbox on a raspberryPi and would open midori from a
contact> bash script with these lines :

contact> export DISPLAY=:0
contact> midori -e Fullscreen -a /opt/bin/SD_ejection.html &

contact> but i have nothing on the screen...

I don't have a solution for you but why do you set the DISPLAY?
Do you run this script from somewhere outside of X-Window?  If not
(i.e. the script is an indirect descendant of openbox),
then DISPLAY is already in your environment and is correct, so by
setting it yourself you only risk shooting yourself in the foot.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.
Local Variables:
mode:claws-external
End:



More information about the openbox mailing list