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

Julien Cristau jcristau at debian.org
Thu Apr 16 17:15:03 UTC 2009


reassign 524098 hal
kthxbye

On Thu, Apr 16, 2009 at 17:38:24 +0200, Gabor Gombas wrote:

> 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.
> 
that still sounds like a hal bug to me.

> 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

that's shipped by hal, so xserver-xorg can't do anything about that.

> 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).
> 
i don't think debian-setup-keyboard can distinguish between 'layout set
by hal's 10-keymap.fdi' and 'layout set by the user's config' currently.

Cheers,
Julien



More information about the Pkg-utopia-maintainers mailing list