[Bug 19947] xkbcomp-1.0.5: Group width mismatch between key and type

Martin MOKREJŠ mmokrejs at ribosome.natur.cuni.cz
Sat Feb 21 11:15:36 PST 2009


Hi,
  would anybody please tell me what is wrong on my system
so that the alt+shift switch does not work?

  Should I use in HAL .fdi files "input.xkb.layout" or
"input.x11_options.XkbLayout"?

  Below is my message originally sent to Sergey U. but
unfortunately he could not help me with this.

TIA,
Martin


Sergey V. Udaltsov wrote:
> Hello Martin.
> 
> What you should do it "xkbcomp :0 -xkb out.xkb" and look at out.xkb
> trying to find out what could break alt+shift.

Sergey,
  I don't know the internals of xorg server, so ... I am puzzled why
the /usr/bin/xkbcomp is being called twice, as logged in Xorg.0.log.
I even cannot find the file to existing for teh currently running
instance:

(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) AT Translated Set 2 keyboard: xkb_rules: "evdev"
(**) Option "xkb_model" "evdev"
(**) AT Translated Set 2 keyboard: xkb_model: "evdev"
(**) Option "xkb_layout" "us,cz"
(**) AT Translated Set 2 keyboard: xkb_layout: "us,cz"
(**) Option "xkb_variant" ",qwerty"
(**) AT Translated Set 2 keyboard: xkb_variant: ",qwerty"
(**) Option "xkb_options" "grp:alt_shift_togglegrp_led:scrollcaps:shift_nocancel"
(**) AT Translated Set 2 keyboard: xkb_options: "grp:alt_shift_togglegrp_led:scrollcaps:shift_nocancel"
Popen: `"/usr/bin/xkbcomp" -w 1 "-R/usr/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/var/lib/xkb/server-0.xkm"', fp = 0x8459478
Pclose: fp = 0x8459478
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Group width mismatch between key and type
Loaded XKB keymap /var/lib/xkb/server-0.xkm, defined=0x7f

# find / -name server-0.xkm
# ls -la /var/lib/xkb/
total 12
drwxr-xr-x  2 root root 4096 Feb 13 09:48 .
drwxr-xr-x 39 root root 4096 Sep 18 10:34 ..
-rw-r--r--  1 root root    0 May 20  2008 .keep_x11-apps_xkbcomp-0
-rw-r--r--  1 root root  644 Jan 28 18:11 README.compiled
# cat /var/lib/xkb/README.compiled

The X server uses this directory to store the compiled version of the
current keymap and/or any scratch keymaps used by clients.  The X server
or some other tool might destroy or replace the files in this directory,
so it is not a safe place to store compiled keymaps for long periods of
time.  The default keymap for any server is usually stored in:
     X<num>-default.xkm
where <num> is the display number of the server in question, which makes
it possible for several servers *on the same host* to share the same 
directory.

Unless the X server is modified, sharing this directory between servers on
different hosts could cause problems.
#


Clues? Or shall I subscribe to some email list instead? Sorry for bugging
you on this.
Thanks,
Martin

> 
> HTH,
> 
> Sergey
> 
> On Wed, 2009-02-04 at 19:38 +0100, Martin MOKREJŠ wrote:
>> Thanks, Sergey, but can you tell me if that is the cause why my
>> keyboard layout broke with 1.4 and 1.5 series? I cannot use
>> anymore alt+shift switch, HAL fdi policy files are fine
>> as other confirmed, just no hint where to look at. And the
>> DEBUG CFLAGS gave me at least this hint.
>>
>> Thanks,
>> Martin
>>
>> bugzilla-daemon at freedesktop.org wrote:
>>> http://bugs.freedesktop.org/show_bug.cgi?id=19947
>>>
>>>
>>> Sergey V. Udaltsov <svu at gnome.org> changed:
>>>
>>>            What    |Removed                     |Added
>>> ----------------------------------------------------------------------------
>>>              Status|NEW                         |RESOLVED
>>>          Resolution|                            |NOTABUG
>>>
>>>
>>>
>>>
>>> --- Comment #2 from Sergey V. Udaltsov <svu at gnome.org>  2009-02-04 10:18:57 PST ---
>>> That is not a bug, it is a warning AFAIK

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: out.xkb
URL: <http://lists.x.org/archives/xorg/attachments/20090221/45151e86/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xorg.0.log
URL: <http://lists.x.org/archives/xorg/attachments/20090221/45151e86/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-multiple-layouts.fdi
Type: text/xml
Size: 4527 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090221/45151e86/attachment.xml>


More information about the xorg mailing list