On Wed, 11.02.15 17:07, Colin Guthrie (gm...@colin.guthr.ie) wrote: > Lennart Poettering wrote on 11/02/15 16:36: > > On Wed, 11.02.15 14:18, Colin Guthrie (gm...@colin.guthr.ie) wrote: > > > >>>> Also, anything plugged in to Xorg after running localectl (thus updating > >>>> 00-keyboard.conf) will also get the "us" keymap (as that was what was in > >>>> place at Xorg init time). > >>>> > >>>> Wouldn't it be better to do the following: > >>>> > >>>> 1. deprecate the 00-keyboard.conf xorg.conf.d file > >>>> 2. Instead apply the locale settings in udev via "xkb*" properties > >>> > >>> No, certainly not. The Xorg fragment is actual > >>> configuration. Configuration should beat the rulesets really, which > >>> carry device metadata. > >> > >> Well, I don't disagree, but it would be nice to have a way such that > >> inserting a new USB keyboard after configuring the global default, that > >> it *actually* takes effect. Currently, without some other layer on top > >> (as in GNOME), localed does not achieve this, but the udev approach > >> does. > > > > I am fine with changing what localed writes out, but udev rules is not > > the way to go. > > > > For example, if we can make the snippet we write out only be used as > > fallback, then I am all for it. > > What about the other suggestions I mentioned in my previous reply? Any > comment on those? (it might not be your area of expertise, but you often > have a nack of pointing out fundamental flaws/races so would be nice to > know if those were options worth pursuing at all! :p).
Yeah, I think it would be good to either store the xkb stuff directly in /etc/vconsole.conf, and make everything that needs xkb defaults to read it from there, or introduce a new /etc/xkb.conf or so, and make localed write that. I am pretty sure this would also help David with systemd-consoled, as well as the wayland people, since they have zero interest in X11 config snippets. I kinda was hoping David would comment on this too. David? Peter? Comments? Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel