On Wednesday, April 1, 2015 at 4:00:12 PM UTC+1, pic t wrote:
>
> Hi ,
>
> I would like to run my application like a kiosk, without access to a 
> desktop.  most instructions i found are related to running chromium, but i 
> would like to do this with my own application. I run Debian and have 
> BB-View LCD screen. any help would be appreciated, thanks. 
>
> Regards
>

I have found a solution to this, so i will post it here for any one 
interested, and for my own future reference. 


I am doing this on Beaglebone Black Debian 
My application does not have a GUI yet so i will be running it from 
terminal, so here is what i have done. 

edit /etc/xdg/lxsession/LXDE/autostart

# comment out lxpannel and pcmanfm, and add the following 

#@lxpanel --profile LXDE
#@pcmanfm --desktop --profile LXDE
@xset s off
@xset -dpms
@xset s noblank
@lxterminal -t NameOfTerminal -e Path/To/Executable/myapplication

the above lunches lxterminal with parameters at startup running the 
application, replace @lxterminal with application of your choice, another 
example is 
@chromium --kiosk --incognito http://www.google.ie

this will lunch chromium in kiosk mode, be sure to have wifi enable to make 
use of it. 

at this stage the terminal has all its menu buttons, which does not look 
well, so i edited the following 

/home/debian/.config/openbox/lxde-rc.xml    in <applications> 

        <application name="lxterminal">
                <decor>no</decor>
                <maximized>true</maximized>
        </application>

this removes the decor and maximize the window, 

to remove the menu buttons edit .config/lxterminal/lxterminal.conf 

that should give us a nice kiosk type application. 





-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to