cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us,ru"
XKBVARIANT=""
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"
BACKSPACE="guess"
service keyboard-setup restart
[ ok ] Setting preliminary keymap...done.
udevadm trigger –subsystem-match=input –action=change
переключить раскладки получается только при помощи нажатия мышкой на флаг страны («Keyboard layout handler» на LXPanel 0.5.12).
при первом (после вышенаписанных команд) нажатии на alt+shift мышка останавливается на десяток-другой секунд, но потом опять может двигаться.
tail /var/log/messages
May 23 05:01:16 c kernel: [1123531.348093] usb 1-6.1.1.3: new low-speed USB device number 10 using ehci-pci
May 23 05:01:16 c mtp-probe: checking bus 1, device 10: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.1/1-6.1.1/1-6.1.1.3"
May 23 05:01:16 c mtp-probe: bus: 1, device: 10 was not an MTP device
May 23 05:01:16 c kernel: [1123531.463098] usb 1-6.1.1.3: New USB device found, idVendor=04f2, idProduct=0111
May 23 05:01:16 c kernel: [1123531.463103] usb 1-6.1.1.3: New USB device strings: Mfr=4, Product=20, SerialNumber=0
May 23 05:01:16 c kernel: [1123531.463106] usb 1-6.1.1.3: Product: USB Keyboard
May 23 05:01:16 c kernel: [1123531.463108] usb 1-6.1.1.3: Manufacturer: Chicony
May 23 05:01:16 c kernel: [1123531.467131] input: Chicony USB Keyboard as /devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.1/1-6.1.1/1-6.1.1.3/1-6.1.1.3:1.0/input/input18
May 23 05:01:16 c kernel: [1123531.467282] hid-generic 0003:04F2:0111.0004: input,hidraw0: USB HID v1.10 Keyboard [Chicony USB Keyboard] on usb-0000:00:1a.7-6.1.1.3/input0
May 23 05:01:16 c kernel: [1123531.474769] input: Chicony USB Keyboard as /devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6.1/1-6.1.1/1-6.1.1.3/1-6.1.1.3:1.1/input/input19
May 23 05:01:16 c kernel: [1123531.474919] hid-generic 0003:04F2:0111.0005: input,hiddev0,hidraw1: USB HID v1.10 Device [Chicony USB Keyboard] on usb-0000:00:1a.7-6.1.1.3/input1
$ setxkbmap -v 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc105
layout: ru,us
variant: ,
options: grp:shift_caps_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+ru+us:2+inet(evdev)+group(shift_caps_toggle)
geometry: pc(pc105)
$ sudo cat /etc/issue
Debian GNU/Linux jessie/sid \n \l