Hello, Anton Zinoviev, le Tue 14 Sep 2010 13:24:59 +0300, a écrit : > On Tue, Sep 14, 2010 at 12:18:44PM +0200, Julien Cristau wrote: > > > Do you think it will be useful if keyboard-configuration provides a > > > /etc/foo.d directory where the interested packages (console-setup, X) > > > can install scripts to reconfigure the keyboard? > > > > > It seems overkill to me, fwiw (I think it's reasonable to say that > > changes to /etc/default/keyboard take effect at the next boot), but if > > you want to provide this then I have no objection. > > Personally I don't have an opinion about this. I guess I am going to > wait for some more bug reports requesting 'dpkg-reconfigure > keyboard-configuration' to actually reconfigure the keyboard. :)
Well, I happened to expect it. At least the attached patch should be applied since restarting udev won't fix anything, while udevadm would save people a reboot. Samuel
Index: config.kbd =================================================================== --- config.kbd (révision 64907) +++ config.kbd (copie de travail) @@ -1,6 +1,7 @@ # If you change any of the following variables and X is configured to -# use this file, then the changes will become visible to X only if udev -# is restarted. You may need to reboot the system. +# use this file, then the changes will become visible to X only if +# udevadm trigger --subsystem-match=input --action=change +# is called, or the system is rebooted. # The following variables describe your keyboard and can have the same # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options