[openbox] Open midori from a bash script on raspberry pi with touchscreen
contact at billard-francois-marie.eu
Thu Apr 23 11:58:00 EDT 2015
Le 22/04/2015 18:44, Ian Zimmerman a écrit :
> 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.
i always have midori in full screen, a script run when a udev rules is
During this script i would change the html page display with midori. The
only solution i find, is killing midori fisrt and after run it with the
new html page.
portable : 06 76 47 69 70
More information about the openbox