Re: Open midori from a bash script on raspberry pi with touchscreen

contact <contact-wqZ1GO9m4op/DJ8/[email protected]>
Newsgroups gmane.comp.window-managers.openbox
Organization Céramiste.
Message-ID <[email protected]>
Le 22/04/2015 18:44, Ian Zimmerman a écrit :
> On Tue, 07 Apr 2015 11:40:23 +0200,
> contact <[email protected]> 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 
true.
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.

thank's

-- 
François-Marie BILLARD
www.billard-francois-marie.eu
portable : 06 76 47 69 70
_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.