reassign 596547 keyboard-configuration retitle 596547 keyboard-configuration: upgrade from xorg.conf turns layout names to lowercase kthxbye
On Sun, Sep 12, 2010 at 18:14:36 +0200, Soeren Sonnenburg wrote: > On Sun, 2010-09-12 at 17:53 +0200, Julien Cristau wrote: > > On Sun, Sep 12, 2010 at 16:49:44 +0200, Soeren Sonnenburg wrote: > > > > > Package: xkb-data > > > Version: 1.8-1 > > > Severity: important > > > > > > After updating my desktop machine to squeeze my keyboard no longer works > > > (ok 3 keys on my keyboard among them "u" work). This happens even if I > > > start with an empty/no xorg.conf. > > > > > > Starting X manually I noticed this on stderr: > > > > > > The XKEYBOARD keymap compiler (xkbcomp) reports: > > > > Error: Can't find file "en_us" for symbols include > > > > Exiting > > > > Abandoning symbols file "default" > > > Errors from xkbcomp are not fatal to the X server > > > (EE) Unable to open evdev device "/dev/input/event4". > > > (EE) PreInit returned NULL for "Microsoft NaturalĀ® Ergonomic Keyboard > > > 4000" > > > > > > > > > So I did a strace and creating this symlink fixed it for me > > > > > > # cd /usr/share/X11/xkb/symbols > > > # ln -s us en_us > > > > > > Is this a problem/misconfiguration on my side and intended or should > > > en_us be shipped indeed? > > > > > Sounds like a misconfiguration to me. What was in your xorg.conf before > > the upgrade? > > IIRC > Option "XkbLayout" "en_US' > > > What's in /etc/default/keyboard now? > > ( I did not even know this file exists ) > > XKBMODEL="microsoft" > XKBLAYOUT="en_us" > XKBVARIANT="" > XKBOPTIONS="ctrl:nocaps" > > let me guess - there should be us in there only? > en_US should still work (I didn't know that layout existed), but the script handling the move from xorg.conf to keyboard-configuration (in /var/lib/dpkg/info/keyboard-configuration.config) turns the option to lowercase :/ Anton, do you have an idea how to fix this (or anyone else, for that matter)? We need to parse the xorg.conf keywords and option names case-insensitively, but the option values themselves are case-sensitive. Cheers, Julien
signature.asc
Description: Digital signature