Dzyatlava.by Team

Debian и обновление пакета xserver-xorg

На всякий случай опишу проблему и на русском. Проблема. После обновления пакета xserver-xorg (Version: 1:7.4+4) у меня внезапно перестали работать установленные раскладки клавиатуры при работе в иксах. При этом в логе была запись о том, что у меня

Debian и обновление пакета xserver-xorg

XKBOPTIONS="grp:lwintoggle,grpled:scroll"

  • debian
  • evdev
  • xserver-xorg
  • обновление

На всякий случай опишу проблему и на русском.

Проблема. После обновления пакета xserver-xorg (Version: 1:7.4+4) у меня внезапно перестали работать установленные раскладки клавиатуры при работе в иксах. При этом в логе была запись о том, что у меня загружен драйвер evdev, поспольку информация о раскладках пользователя в файле /etc/X11/xorg.conf отсутствует, равно как и инфа о драйвере kbd.

Решение. Как обычно, все оказалось довольно прозаично. Стоило только посмотреть в файлик /usr/share/doc/xserver-xorg/NEWS.Debian.gz:

* Changes in handling of input devices Starting from this version, input devices are no longer configured statically in /etc/X11/xorg.conf. Instead, input devices are detected at runtime (and can be hotplugged) and configured individually. The default keyboard layout is shared with the console and is configured in /etc/default/console-setup. As a result, devices configured in xorg.conf to use the mouse or kbd driver are ignored by the X server by default.

* Changes in handling of input devices

Starting from this version, input devices are no longer configured
statically in /etc/X11/xorg.conf. Instead, input devices are detected at
runtime (and can be hotplugged) and configured individually. The default
keyboard layout is shared with the console and is configured in
/etc/default/console-setup. As a result, devices configured in xorg.conf to
use the mouse or kbd driver are ignored by the X server by default.

Что я и сделал (файл /etc/default/console-setup):

... XKBMODEL="pc105" XKBLAYOUT="us,ru,by" XKBVARIANT=",winkeys," XKBOPTIONS="grp:lwin_toggle,grp_led:scroll" ...

...
XKBMODEL="pc105"
XKBLAYOUT="us,ru,by"
XKBVARIANT=",winkeys,"
XKBOPTIONS="grp:lwin_toggle,grp_led:scroll"
...

+ перезапуск X-сервера.

Отправить комментарий

Подробнее о форматировании

Ссылки по теме