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

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

On Sat, May 15, 2010 at 06:15:06PM +0200, Julien Cristau wrote:
> Just updating the comment.  Triggering udev from keyboard-configuration
> doesn't really make sense (it's a layering violation;
> keyboard-configuration shouldn't need to know what the users for this
> configuration file are, whether X is installed, etc),

Isn't 'udevadm trigger --subsystem-match=input --action=change' totally
user-independent, though? This actually does seem to me to be the proper
"layer interface", it will do the appropriate thing no matter if X is
installed or not and what users there are - it will just make sure they
all get the updated information.

> so I think I'd
> change the comment to recommend rebooting instead.  The X keyboard
> layout can easily be changed at runtime with setxkbmap anyway, and the
> udevadm incantation won't change the layout at the console.
> Modifications of /etc/default/keyboard are probably not a routine task,
> so I think it's ok to have them only take effect at the next boot.

It would be nice if the information would also cater for more advanced
users who would want to do without rebooting (after all, those are the
most likely to edit config files directly) - but if you think that would
make the comments too confusing, it is not so big deal I suppose.

Thanks a lot for looking into this,

				Petr "Pasky" Baudis

Reply to: