[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#581756: keyboard-configuration: XKBOPTIONS does not properly propagate to xserver-xorg

Package: keyboard-configuration
Version: 1.51
Severity: important

There seems to be a problem in propagation of XKBOPTIONS setup from
keyboard-configuration to Xorg. My /etc/default/keyboard is (not in sync
with debconf since I have slightly complex xkb setup):

> # If you change any of the following variables and HAL and X are
> # configured to use this file, then the changes will become visible to
> # X only if HAL is restarted.  In Debian you need to run
> # /etc/init.d/hal restart
> # The following variables describe your keyboard and can have the same
> # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
> # in /etc/X11/xorg.conf.
> XKBMODEL="pc105"
> XKBLAYOUT="us,cz"
> XKBOPTIONS="grp:caps_switch,terminate:ctrl_alt_bksp"
> # If you don't want to use the XKB layout on the console, you can
> # specify an alternative keymap.  Make sure it will be accessible
> # before /usr is mounted.
> # KMAP=/etc/console-setup/defkeymap.kmap.gz

However, Xorg.log shows:

> (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard"
> (type: KEYBOARD)
> (**) Option "xkb_rules" "evdev"
> (**) Option "xkb_model" "pc105"
> (**) Option "xkb_layout" "us,cz"
> (**) Option "xkb_variant" ",ucw"
> (**) Option "xkb_options" "grp:caps_switch"

And sure enough, I cannot use ctrl-alt-bksp in my X session to zap
the X server, a rather important functionality.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages keyboard-configuration depends on:
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  xserver-xorg                  1:7.5+6    the X.Org X server
ii  xserver-xorg-core             2:1.7.7-1  Xorg X server - core server

keyboard-configuration recommends no packages.

keyboard-configuration suggests no packages.

-- debconf information:
* keyboard-configuration/layout: USA
* keyboard-configuration/variant: USA
  keyboard-configuration/unsupported_options: true
  keyboard-configuration/optionscode: terminate:ctrl_alt_bksp
  keyboard-configuration/modelcode: pc105
* keyboard-configuration/unsupported_config_options: false
  keyboard-configuration/toggle: No toggling
* keyboard-configuration/altgr: The default for the keyboard layout
  keyboard-configuration/unsupported_layout: true
  keyboard-configuration/layoutcode: us
* keyboard-configuration/ctrl_alt_bksp: true
  keyboard-configuration/unsupported_config_layout: true
* keyboard-configuration/compose: No compose key
  keyboard-configuration/switch: No temporary switch
* keyboard-configuration/model: Generic 105-key (Intl) PC

Reply to: