diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016635.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-June/016635.html | 207 |
1 files changed, 207 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-June/016635.html b/zarb-ml/mageia-dev/2012-June/016635.html new file mode 100644 index 000000000..32cda95b5 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-June/016635.html @@ -0,0 +1,207 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANN%3A%20For%20the%20brave.%20systemd%20v185%20in%20cauldron%0A%09updates_testing&In-Reply-To=%3C4FE03352.20605%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="016628.html"> + <LINK REL="Next" HREF="016636.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANN%3A%20For%20the%20brave.%20systemd%20v185%20in%20cauldron%0A%09updates_testing&In-Reply-To=%3C4FE03352.20605%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing">mageia at colin.guthr.ie + </A><BR> + <I>Tue Jun 19 10:07:46 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="016628.html">[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing +</A></li> + <LI>Next message: <A HREF="016636.html">[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#16635">[ date ]</a> + <a href="thread.html#16635">[ thread ]</a> + <a href="subject.html#16635">[ subject ]</a> + <a href="author.html#16635">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and JA Magallón at 18/06/12 22:47 did gyre and gimble: +><i> On 06/18/2012 11:28 PM, JA Magallón wrote: +</I>>><i> Hi.... +</I>>><i> +</I>>><i> Sorry for the delay, I've been busy with end-of-term festivals in +</I>>><i> my children' schools ;)... +</I>>><i> +</I>>>>><i> +</I>>>>>><i> - keyboard layout under Gnome got reset to English (from Spanish). +</I>>>>>><i> Changed manually under +</I>>>>>><i> system settings and fine again. +</I>>>>><i> +</I>>><i> +</I>>><i> One addtional problem is that GDM starts with english keyboard which +</I>>><i> is a problem for passwords with non alpha-num chars... :). +</I>>><i> +</I>>>>><i> Interesting. Does this new setting survive a reboot? Does the new +</I>>>>><i> mapping work at the system level (i.e. is the layout respected in GDM)? +</I>>><i> +</I>>><i> Yep, the setting survives a reboot for the user that changed it, but +</I>>><i> as I said above it does not change GDM settings. I did not try to do it +</I>>><i> with system tools, just user preferences. +</I>>><i> And keymap is OK in virtual consoles. +</I>>><i> +</I>>>>><i> +</I>>>>><i> Do you have a /etc/vconsole.conf file? +</I>>><i> +</I>>><i> Nop, I have not. I think system settings were in /etc/sysconfig/keyboard. +</I>>><i> +</I>>>><i> +</I>>>><i> OK, so I don't really understand why it's broken. I think it's maybe a +</I>>>><i> regression in that X is no longer inheriting settings from the console, +</I>>>><i> but I think longer term this is a valid thing (maybe there will not be a +</I>>>><i> console to inherit from in the future?) +</I>>>><i> +</I>>>><i> So, it seems that systemd-localed will write an Xorg snippet into +</I>>>><i> /etc/X11/xorg.conf.d/00-keyboard.conf when the keyboard is set. Thus +</I>>>><i> your setting of it via the Gnome System Settings will have written this +</I>>>><i> file (can you confirm it exists?) and it will remain there for the +</I>>>><i> remaining boots. +</I>>><i> +</I>>><i> This file does not exist in my box, I just used user prefs to change +</I>>><i> the map, not sytem ones. +</I>>><i> +</I>>>><i> +</I>>>><i> Longer term, we need to make sure the installer runs this daemon for +</I>>>><i> fresh installs. And perhaps we should run it on upgrade automatically +</I>>>><i> too to ensure it's written as needed. +</I>>>><i> +</I>>><i> +</I>>><i> I will try to write an /etc/vconsole.conf and see if it works. +</I>>><i> Perhaps the fix is just to write it from /etc/syscofig/keyboard... +</I>>><i> +</I>><i> +</I>><i> This file did not work for GDM. +</I> +Yup, I realise now that it's only good for the console. I think in the +past we must have somehow inherited from the console but that's no +longer working (I could be wrong on this one). + +><i> So i checked systemd-localed, it was not started and started it manually, +</I>><i> and then copied my settings to system in gnome settings tool. +</I>><i> That made the file in xorg.conf.d appear, and GDM was OK. +</I> +You shouldn't actually need to start it manually. It should start +on-demand (it's dbus activated). That worked here. + +Strangely, I wasn't able to write the file immediately It somehow +detected my system settings as the same as my local settings and refused +to write a file. I think perhaps that my "local" settings were a little +bit broken tho' (years of upgrades I guess) and adding a layout, +removing it and then copying did indeed write the xorg.conf.d snippet. + +><i> Perhaps udev/dbus do not talk to X server anymore about keyboard layout. +</I> +Well I'm not sure at what point X will talk to udev or dbus about this? +Maybe udev no longer carries locale information in it's db? Maybe it's +simply due to X being linked against an old libudev at the moment (until +this lands in the release repo)? That said I don't see any layout +information in my udev database for my console on mga2 machines. So I'm +not really sure how this stuff works to be honest. + +><i> My settiongs in xorg.conf were: +</I>><i> Section "InputDevice" +</I>><i> Identifier "keyboard" +</I>><i> Driver "evdev" +</I>><i> # Option "XkbLayout" "es" +</I>><i> # Option "XkbModel" "pc105" +</I>><i> # Option "XkbOptions" "" +</I>><i> EndSection +</I> +Well these options are commented out so won't have any effect. Most of +the time xorg.conf isn't even needed any more, hence the desire to use +the xorg.conf.d folder instead. + + +><i> File generated by localed is: +</I>><i> +</I>><i> # Read and parsed by systemd-localed. It's probably wise not to edit +</I>><i> this file +</I>><i> # manually too freely. +</I>><i> Section "InputClass" +</I>><i> Identifier "system-keyboard" +</I>><i> MatchIsKeyboard "on" +</I>><i> Option "XkbLayout" "es" +</I>><i> EndSection +</I>><i> +</I> +Yup that seems correct. + +Likely we'll need to update things accordingly to deal with this, but on +the whole I'm sure we'll get it working smoothly :) + +Cheers + +Col + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> + + +</PRE> + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="016628.html">[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing +</A></li> + <LI>Next message: <A HREF="016636.html">[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#16635">[ date ]</a> + <a href="thread.html#16635">[ thread ]</a> + <a href="subject.html#16635">[ subject ]</a> + <a href="author.html#16635">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |