Kiosk Project logo

TwmKiosk

KioskWiki | RecentChanges | Preferences

TWM-KIOSK README

twm-kiosk is a modified version of the twm window manager. The modifications allow the window manager to start an application upon startup and if the app askes for full screen with no titlebar then resize to cover FULL SCREEN. A new twmrc command option, KioskMode? has been added to the window manager. The enhancements include:

The need for all this arises from wanting to start a diskless X terminal in a kiosk mode and run a window manager without the need to login to the system, i.e start the window manager and GUI application from GDM or xdmcp or one of the other kiosk style setups floating around.

INSTALLATION:

BUILD twm-kiosk:

There is a twm-kiosk binary include in this package that was compiled and works on Fedora 12 so it might work for you also.

USAGE:

Run twm-kiosk as you would any windowmanager. xinit /path/to/twm-kiosk -- : 0

In the system.twmrc file add KioskMode?, RandomPlacement? and NoTitle?. Together these specify that twm-kiosk should start in kiosk mode ( start specified application on startup of wm ) and resize the application by 25 pixels high an 10 pixels wide. This way if the specified application askes to start full screen it will cover the entire screen. Edit the /etc/X11/twm/kiosk-default.sh file to include the commands you want to be executed when the twm-kiosk wm starts. Any instructions in the twm man page also applies to twm-kiosk.

About KioskMode?

The twm/sample-twmrc/kiosk.twmrc has the settings for using twm-kiosk in KioskMode?. This file can be used to replace the etc/X11/twm/system.twmrc

:-* Please note that KioskMode? is best used along with the NoTitle? and RandomPlacement? commands and is pretty much useless if the /RandomPlacement command is not specified.


KioskWiki | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited January 8, 2010 5:16 pm (diff)
Search: