Prev | Current Page 256 | Next

Chris Tyler

"X Power Tools"

Each
options name is a concatenation of Xkb and a component or parameter name.
12.7
168 Chapter 12: Keyboard Configuration
To specify an XKB keyboard map using rules, any combination of XkbRules,
XkbModel, XkbLayout, XkbVariant, and XkbOption options may be specified:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ca"
Option "XkbVariant" "intl,"
Option "XkbOption" "grp:menu_toggle,grp_led:scroll"
EndSection
You may also specify the keymap using components, using the XkbKeycodes,
XkbTypes, XkbCompat, XkbSymbols, and XkbGeometry option names:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbKeycodes" "xfree86+aliases(qwerty)"
Option "XkbTypes" "complete"
Option "XkbCompat" "complete+ledscroll(group_lock)"
Option "XkbSymbols" "pc(pc105)+us(intl)+ca:2+group(menu_toggle)"
Option "XkbGeometry" "pc(pc105)"
EndSection
12.7 Setting the Keymap from the Command Line
The setxkbmap command enables you to change the keymap at any time. The
options -rules, -model, -layout, -variant, and -option are used to specify the
parameters:
$ setxkbmap -rules xorg -model pc105 -layout us,ca -variant intl, \
-option grp:menu_toggle,grp_led:scroll
If you specify the -v option, setxkbmap will print a list of the components used:
$ setxkbmap -rules xorg -model pc105 -layout us,ca -variant intl, \
-option grp:menu_toggle,grp_led:scroll
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete+ledscroll(group_lock)
symbols: pc(pc105)+us(intl)+ca:2+group(menu_toggle)
geometry: pc(pc105)
If you want only to see the components listed and do not wish to actually set the keyboard
map, use the -print option.


Pages:
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268
studia podyplomowe transport Everest Poker Bonus Kod kredyt samochodowy teksty piosenek reklama