run a single app at system star like a kiosk

624 views
Skip to first unread message

pic t

unread,
Apr 1, 2015, 11:00:12 AM4/1/15
to beagl...@googlegroups.com
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

pic t

unread,
Apr 1, 2015, 12:41:24 PM4/1/15
to beagl...@googlegroups.com

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.





Reply all
Reply to author
Forward
0 new messages