[systemd-devel] Changing how localed writes keymap for xorg
Colin Guthrie
gmane at colin.guthr.ie
Wed Feb 11 09:07:42 PST 2015
Lennart Poettering wrote on 11/02/15 16:36:
> On Wed, 11.02.15 14:18, Colin Guthrie (gmane at 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).
Cheers!
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list