[Pkg-utopia-maintainers] Bug#524098: xserver-xorg: dependency on console-setup broke keyboard settings

Gabor Gombas gombasg at sztaki.hu
Thu Apr 16 15:38:24 UTC 2009


reassign 524098 xserver-xorg
thanks

On Tue, Apr 14, 2009 at 10:46:24PM +0200, Brice Goglin wrote:

> In the meantime, you can trying moving away
> /usr/share/hal/fdi/policy/10osvendor/debian-x11-keymap.fdi

Yes, that works (at least lshal now returns the correct values; I have
long-running jobs so I can't log out to test if X receives them). From
what little I understand from HAL, the call to debian-setup-keyboard
happens _after_ procesing the .fdi files, so it will always overwrite
any custom configuration unconditionally.

You should probably not only check for the existence of the input.xkb.*
keys, but also that all keys still have the default value. Probably you
should remove the xkb-specific part from
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi, and
debian-setup-keyboard should only set the input.xkb.* properties if they
are _all_ empty (otherwise it would be difficult to distinguish the
"layout is US by default" and the "layout has been explicitely set to
US" cases).

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------





More information about the Pkg-utopia-maintainers mailing list