I'm on Mageia Linux Cauldron (what will become Mageia 2), where Mageia Linux is a recent community fork of Mandriva Linux.
This script gives me the Xkb layout that I need:
#!/bin/sh
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 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'm looking for a solution that will be system-wide, permanent, and cross-desktop.