Prev | Current Page 332 | Next

Chris Tyler

"X Power Tools"

In that case, you can disable all but the
first mouse button by using the Buttons option in the mouse??™s InputDevice section of
the X server configuration file:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Buttons" "1"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
EndSection
15.6 Starting a Single Fullscreen Application
For a kiosk that runs only one application, it makes sense to omit the window manager
and just start that one application in fullscreen mode.
For many applications, this can be done with a command-line geometry specification;
on a 1024 ?— 768 screen, this opens a full-screen xclock:
$ xclock -geometry 1024x768+0+0
It is common to use a web browser as a kiosk application. Unfortunately, most of the
current generation of web browsers ignores command-line geometry specifications,
and, although they have a fullscreen mode, this mode is not accessible from the command
line. In that case, it may be necessary to use a browser extension or chrome
file; alternately, you can use JavaScript to invoke a full-screen browser window, using
a file such as this:

'-//W3C//DTD XHTML 1.


Pages:
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
pustaki szklane House Extension Kąty Rybackie noclegi kasyno Kołobrzeg