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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] How can I define a Hebrew/Latin layout + Compose Key in Mageia Cauldron?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20How%20can%20I%20define%20a%20Hebrew/Latin%20layout%20%2B%0A%20Compose%20Key%20in%20Mageia%20Cauldron%3F&In-Reply-To=%3C20110823210645.31ceebf1%40lap.shlomifish.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="005086.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] How can I define a Hebrew/Latin layout + Compose Key in Mageia Cauldron?</H1>
<B>Shlomi Fish</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20How%20can%20I%20define%20a%20Hebrew/Latin%20layout%20%2B%0A%20Compose%20Key%20in%20Mageia%20Cauldron%3F&In-Reply-To=%3C20110823210645.31ceebf1%40lap.shlomifish.org%3E"
TITLE="[Mageia-discuss] How can I define a Hebrew/Latin layout + Compose Key in Mageia Cauldron?">shlomif at shlomifish.org
</A><BR>
<I>Tue Aug 23 20:06:45 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="005086.html">[Mageia-discuss] How can I define a Hebrew/Latin layout + Compose Key in Mageia Cauldron?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5087">[ date ]</a>
<a href="thread.html#5087">[ thread ]</a>
<a href="subject.html#5087">[ subject ]</a>
<a href="author.html#5087">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi all,
On Tue, 23 Aug 2011 16:51:51 +0300
Shlomi Fish <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">shlomif at shlomifish.org</A>> wrote:
><i> Hi all,
</I>><i>
</I>><i> this script gives me the Xkb layout that I need:
</I>><i>
</I>><i> <<<
</I>><i> #!/bin/sh
</I>><i>
</I>><i> # setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll -variant
</I>><i> ",phonetic," 'us,ru,il'
</I>><i>
</I>><i> setxkbmap \
</I>><i> -option "" \
</I>><i> -option "compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll" \
</I>><i> -variant ",lyx" \
</I>><i> 'us,il'
</I>><i> >>>
</I>><i>
</I>><i> Now, I have this in /etc/sysconfig/keyboard:
</I>><i>
</I>><i> <<<
</I>><i> XkbModel=pc105
</I>><i> XkbLayout=us,il
</I>><i> KEYBOARD=il
</I>><i> KEYTABLE=us
</I>><i> XkbOptions=compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll
</I>><i> >>>
</I>><i>
</I>><i> But the compose key is not configured using this by default (on X startup).
</I>><i> I'm on Mageia Linux Cauldron (what will be Mageia 2).
</I>><i>
</I>><i> I used to be able to define the keyboard layout using directives
</I>><i> in /etc/X11/xorg.conf but it no longer appears to work.
</I>><i>
</I>><i> How can I define everything I need by editing /etc/sysconfig/keyboard (or
</I>><i> any other appropriate files under /etc )?
</I>><i>
</I>
I found out a solution for that. I placed this in ~/.Xkbmap :
<<<
-option compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll
-variant ,lyx us,il
>>><i>
</I>
And now the keyboard is working fine. I learned about ~/.Xkbmap
in /etc/X11/xinit/fixkeyboard .
Thanks!
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
First stop for Perl beginners - <A HREF="http://perl-begin.org/">http://perl-begin.org/</A>
Beliefs are what divide people. Doubt unites them.
— <A HREF="http://en.wikiquote.org/wiki/Peter_Ustinov">http://en.wikiquote.org/wiki/Peter_Ustinov</A>
Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="005086.html">[Mageia-discuss] How can I define a Hebrew/Latin layout + Compose Key in Mageia Cauldron?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5087">[ date ]</a>
<a href="thread.html#5087">[ thread ]</a>
<a href="subject.html#5087">[ subject ]</a>
<a href="author.html#5087">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|