Приквел

Jul 28, 2010 22:37


http://muhas.ru/?p=133
А для клавиатуры файлик /etc/X11/xorg.conf.d/20-keybord.conf с содержимым

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:caps_toggle,grp_led:scroll"
EndSection

setxkbmap

setxkbmap -layout us,ru -variant ,winkeys -option grp:caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp,compose:ralt

благо сей метод пока ещё замечательно работает, и работать видимо будет долго

http://sphinx.net.ru/blog/entry/xorg-udev/

Section "InputClass"
Identifier "kb"
MatchIsKeyboard "yes"
Driver "evdev"
Option "XkbModel" "evdev"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp_led:caps,compose:ralt"
EndSection

To see a full list of keyboard models, layouts, variants and options, open:

/usr/share/X11/xkb/rules/xorg.lst

cat ~/.config/axkb.cfg
[Style]
path=/usr/share/axkb/theme/default

[KeyLayout]
model=pc105
layout="us,ru"
variant=",winkeys"
status=2
showflag=true
showsingle=false
switching=2
option="grp:toggle,grp_led:scroll"

from old
/etc/X11/xorg.conf

Section "InputDevice"

# Option "XkbOptions" "grp:ralt_toggle,grp_led:scroll"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "grp:toggle,lv3:switch,grp_led:scroll"
# Option "XkbOptions" "grp:menu_toggle,grp_led:scroll"
EndSection
Previous post Next post
Up