Begin forwarded message:
Date: Tue, 23 Aug 2011 21:06:45 +0300 From: Shlomi Fish <[email protected]> To: Mageia general discussions <[email protected]> Subject: Re: [Mageia-discuss] How can I define a Hebrew/Latin layout + Compose Key in Mageia Cauldron? Hi all, On Tue, 23 Aug 2011 16:51:51 +0300 Shlomi Fish <[email protected]> wrote: > Hi all, > > this script gives me the Xkb layout that I need: > > <<< > #!/bin/sh > > # setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll -variant > ",phonetic," 'us,ru,il' > > setxkbmap \ > -option "" \ > -option "compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll" \ > -variant ",lyx" \ > 'us,il' > >>> > > Now, I have this in /etc/sysconfig/keyboard: > > <<< > XkbModel=pc105 > XkbLayout=us,il > KEYBOARD=il > KEYTABLE=us > XkbOptions=compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll > >>> > > But the compose key is not configured using this by default (on X startup). > I'm on Mageia Linux Cauldron (what will be Mageia 2). > > I used to be able to define the keyboard layout using directives > in /etc/X11/xorg.conf but it no longer appears to work. > > How can I define everything I need by editing /etc/sysconfig/keyboard (or > any other appropriate files under /etc )? > 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 >>> And now the keyboard is working fine. I learned about ~/.Xkbmap in /etc/X11/xinit/fixkeyboard . Thanks! Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ First stop for Perl beginners - http://perl-begin.org/ Beliefs are what divide people. Doubt unites them. — http://en.wikiquote.org/wiki/Peter_Ustinov Please reply to list if it's a mailing list post - http://shlom.in/reply . -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Rethinking CPAN - http://shlom.in/rethinking-cpan Hacker sees bug. Hacker does not want bug. Hacker fixes bug. Please reply to list if it's a mailing list post - http://shlom.in/reply . _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
