Configuring a Software to launch in fullscreen in SUSE Studio

From openSUSE

    Portal Start   FAQ FAQ   Tour Tour   Howto Howto    API API   Feddback, bugs and known issues Bugs   Support and information channels Support   Download appliances and other things Download    Display index of "Category: SUSE Studio"   How to edit this documentation


Some applications may not be started in fullscreen. One way to control such a thing is to use the icewm-ctrl utility on the .xinitrc (see How to implement a KIOSK like application with window manager ). In order to do so, the icewm-ctrl utility needs the window id.

Here is an example on how to achieve that with the gbrainy application :

gbrainy &
while [ `wmctrl -l | grep gbrainy | wc -l` != '1'  ]; do echo "waiting for  gbrainy" » /tmp/start.sh.log ;done
wmctrl -r gbrainy -b toggle,fullscreen
echo "done" »» /tmp/start.sh.log