1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
<!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=%3C4FDFA1E0.9000603%40ono.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="016627.html">
<LINK REL="Next" HREF="016635.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing</H1>
<B>JA Magallón</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=%3C4FDFA1E0.9000603%40ono.com%3E"
TITLE="[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing">jamagallon at ono.com
</A><BR>
<I>Mon Jun 18 23:47:12 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="016627.html">[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing
</A></li>
<LI>Next message: <A HREF="016635.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#16628">[ date ]</a>
<a href="thread.html#16628">[ thread ]</a>
<a href="subject.html#16628">[ subject ]</a>
<a href="author.html#16628">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 06/18/2012 11:28 PM, JA Magallón wrote:
><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>
This file did not work for GDM.
So i checked systemd-localed, it was not started and started it manually,
and then copied my settings to system in gnome settings tool.
That made the file in xorg.conf.d appear, and GDM was OK.
Perhaps udev/dbus do not talk to X server anymore about keyboard layout.
My settiongs in xorg.conf were:
Section "InputDevice"
Identifier "keyboard"
Driver "evdev"
# Option "XkbLayout" "es"
# Option "XkbModel" "pc105"
# Option "XkbOptions" ""
EndSection
File generated by localed is:
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "es"
EndSection
--
J.A. Magallon <jamagallon()ono!com> \ Winter is coming...
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="016627.html">[Mageia-dev] ANN: For the brave. systemd v185 in cauldron updates_testing
</A></li>
<LI>Next message: <A HREF="016635.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#16628">[ date ]</a>
<a href="thread.html#16628">[ thread ]</a>
<a href="subject.html#16628">[ subject ]</a>
<a href="author.html#16628">[ 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>
|