summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-June/016635.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-June/016635.html')
-rw-r--r--zarb-ml/mageia-dev/2012-June/016635.html207
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&#243;n at 18/06/12 22:47 did gyre and gimble:
+&gt;<i> On 06/18/2012 11:28 PM, JA Magall&#243;n wrote:
+</I>&gt;&gt;<i> Hi....
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Sorry for the delay, I've been busy with end-of-term festivals in
+</I>&gt;&gt;<i> my children' schools ;)...
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> - keyboard layout under Gnome got reset to English (from Spanish).
+</I>&gt;&gt;&gt;&gt;&gt;<i> Changed manually under
+</I>&gt;&gt;&gt;&gt;&gt;<i> system settings and fine again.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> One addtional problem is that GDM starts with english keyboard which
+</I>&gt;&gt;<i> is a problem for passwords with non alpha-num chars... :).
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Interesting. Does this new setting survive a reboot? Does the new
+</I>&gt;&gt;&gt;&gt;<i> mapping work at the system level (i.e. is the layout respected in GDM)?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Yep, the setting survives a reboot for the user that changed it, but
+</I>&gt;&gt;<i> as I said above it does not change GDM settings. I did not try to do it
+</I>&gt;&gt;<i> with system tools, just user preferences.
+</I>&gt;&gt;<i> And keymap is OK in virtual consoles.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Do you have a /etc/vconsole.conf file?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Nop, I have not. I think system settings were in /etc/sysconfig/keyboard.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> OK, so I don't really understand why it's broken. I think it's maybe a
+</I>&gt;&gt;&gt;<i> regression in that X is no longer inheriting settings from the console,
+</I>&gt;&gt;&gt;<i> but I think longer term this is a valid thing (maybe there will not be a
+</I>&gt;&gt;&gt;<i> console to inherit from in the future?)
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> So, it seems that systemd-localed will write an Xorg snippet into
+</I>&gt;&gt;&gt;<i> /etc/X11/xorg.conf.d/00-keyboard.conf when the keyboard is set. Thus
+</I>&gt;&gt;&gt;<i> your setting of it via the Gnome System Settings will have written this
+</I>&gt;&gt;&gt;<i> file (can you confirm it exists?) and it will remain there for the
+</I>&gt;&gt;&gt;<i> remaining boots.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> This file does not exist in my box, I just used user prefs to change
+</I>&gt;&gt;<i> the map, not sytem ones.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Longer term, we need to make sure the installer runs this daemon for
+</I>&gt;&gt;&gt;<i> fresh installs. And perhaps we should run it on upgrade automatically
+</I>&gt;&gt;&gt;<i> too to ensure it's written as needed.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I will try to write an /etc/vconsole.conf and see if it works.
+</I>&gt;&gt;<i> Perhaps the fix is just to write it from /etc/syscofig/keyboard...
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<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).
+
+&gt;<i> So i checked systemd-localed, it was not started and started it manually,
+</I>&gt;<i> and then copied my settings to system in gnome settings tool.
+</I>&gt;<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 &quot;local&quot; 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.
+
+&gt;<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.
+
+&gt;<i> My settiongs in xorg.conf were:
+</I>&gt;<i> Section &quot;InputDevice&quot;
+</I>&gt;<i> Identifier &quot;keyboard&quot;
+</I>&gt;<i> Driver &quot;evdev&quot;
+</I>&gt;<i> # Option &quot;XkbLayout&quot; &quot;es&quot;
+</I>&gt;<i> # Option &quot;XkbModel&quot; &quot;pc105&quot;
+</I>&gt;<i> # Option &quot;XkbOptions&quot; &quot;&quot;
+</I>&gt;<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.
+
+
+&gt;<i> File generated by localed is:
+</I>&gt;<i>
+</I>&gt;<i> # Read and parsed by systemd-localed. It's probably wise not to edit
+</I>&gt;<i> this file
+</I>&gt;<i> # manually too freely.
+</I>&gt;<i> Section &quot;InputClass&quot;
+</I>&gt;<i> Identifier &quot;system-keyboard&quot;
+</I>&gt;<i> MatchIsKeyboard &quot;on&quot;
+</I>&gt;<i> Option &quot;XkbLayout&quot; &quot;es&quot;
+</I>&gt;<i> EndSection
+</I>&gt;<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>