[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing

Colin Guthrie mageia at colin.guthr.ie
Tue Jun 26 15:47:03 CEST 2012


'Twas brillig, and Guillaume Rousse at 26/06/12 12:41 did gyre and gimble:
> Le 26/06/2012 11:27, Colin Guthrie a écrit :
>> Therefore, I'd hope this is just a product of me not rebuilding
>> everything under the sun for new udev...
>>
>> That's my current guess... :)
> ...and the winner is....(heavy rolling drum sound)... invalid keyboard
> mappings. I'd say some udev rule is just missing, but what is puzzling
> me is that only X display is affected, whereas TTY display is OK.
> 
> How are keyboards mapping managed nowadays ?

Ahh fudge. And that was mentioned earlier as well... I should have
realised. d'oh!

Yeah I think there was a change here, but upstream haven't confirmed
what is really is to blame yet. I'll go prod them again.

Basically the "correct" (apparently) way of doing it is to ensure a
snippet is written to /etc/X11/xorg.conf.d/ that sets up the correct
keyboard layout for the system - user settings can override this but the
primary mapping will be used by e.g. gdm, kdm etc.

This is done and managed by localed (which is stated on-demand when such
settings are changed at a higher level - e.g. in gnome's system
settings) so it's really just a matter of doing some dbus magic and it's
nicely abstracted from X11 stuff so when Wayland comes along, the higher
level stuff will still work the same which is nice.

I need to find a way to write this config on package upgrade I guess.


Regarding what actually changed, I think X used to inherit the tty's
locale settings (which are obviously correct as you can login there) but
now it does not. Something like that.

I'll dig some more.

Col


-- 

Colin Guthrie
colin(at)mageia.org
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 Mageia-dev mailing list