Next, add a line configuring this hack into /usr/share/X11/app-defaults/XScreenSaver,
in the *programs section:
*programs:
"Kiosk reset" /usr/libexec/xscreensaver/kiosk-reset \n\
"Qix (solid)" /usr/libexec/xscreensaver/qix -root -solid -segments 100 \n\
15.9
15.9 Refining the Kiosk Appearance 229
If you have an existing ~/.xscreensaver file, delete it so that the changes to /usr/share/
X11/app-defaults/XScreenSaver are detected.
Use the xscreensaver-demo application to configure xscreensaver, specifying the
length of idle time before the screensaver should kick in and denoting Kiosk reset as
the one and only screensaver to be used.
The script above will reset the Firefox browser to the specified page, and then
resume normal operation; however, the screen will go black briefly when
xscreensaver kicks in.
Instead of this unpolished blanking effect, it may be better to run one of the existing
hacks to present a message to users while the kiosk is idle; for example, the
GLslideshow hack can very attractively zoom around and cross-fade between product
images, or fontglide can present advertising messages or announcements in an
attention-getting manner.
To invoke another hack from your script, you need to find the command line for that
hack; this can most easily be done by copying (or modifying) the command line for
the hack from /usr/share/X11/app-defaults/XScreenSaver, or configuring the hack
using the Settings feature in /usr/share/X11/app-defaults/XScreenSaver and then using
the Advanced tab to view the command line.
Pages:
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350