run a single app at system star like a kiosk

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.


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

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

no true


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.