Type of slideshow items

When using the local playlist to define the slideshow (no XML), the application will guess the type of each item to display using the protocol and file extension. If not correctly detected, the default behaviour is to display the item as a web page. To override this behaviour, you can associate filename extensions with display types.

The known types are:

The association is done in the main configuration file (/etc/xdg/webkiosk/preferences), in a [slideshow-types] section. For exemple:

[slideshow-types]
iso = video
flv = video
gif = image

Hooks

Scripts can be executed when some event happen on the kiosk. For each hook a different script must be used. The scripts just need to be named like the event, and to be executable. The scripts must be saved in the hook dir (/etc/xdg/webkiosk/hooks/). The current events are: session-start: triggered when a web session starts session-stop: triggered when a web session ends

Prestart script

In Kiosk mode, a prestart script can be used to define whether a web session should be triggered when the kiosk application starts. It can obviously also setup a few things before the application startup. The prestart script is /etc/xdg/webkiosk/prestart. It will be used if it exists and is executable. If the script returns 0, a web session will be triggered at startup. Any other return code will start the kiosk in display mode.

Default display time

Delay (in seconds) to use as default time for added items the static playlist.