X Configuration for English/LyX keyboard + Compose Key

X Configuration for English/LyX keyboard + Compose Key

Shlomi Fish shlomif at iglu.org.il
Sat Jun 26 07:59:40 IDT 2010


Hi Tzafrir,

thanks for your help. See below for my response.

On Saturday 26 Jun 2010 05:07:24 Tzafrir Cohen wrote:
> On Fri, Jun 25, 2010 at 06:17:50PM +0300, Shlomi Fish wrote:
> > Hi all!
> 
> > How do I set the X configuration in the following script:
> -option does not set options. It adds options. To reset the options:
> -options ''

Actually it's "-option ''" but thanks.

> 
> Thus:
> > [code]
> > #!/bin/sh
> > 
> > setxkbmap \
> 
>       -option '' \
> 

It took me time to understand that you want me to have this new code, but I 
managed after reading "man setxkbmap":

[code]
#!/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'
[/code]

> >     -option "compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll"
> >      \ -variant ",lyx" \
> >     'us,il'
> > 
> > [/code]
> 
> To check the actual setup that was applied:
> 
>   xprop -root | grep _XKB

I'm getting:

[code]
_XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us,il", ",lyx", 
"compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll"
[/code]

(sorry for the broken line). Now how do I translate this to what 
/etc/X11/xorg.conf accepts.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
What does "Zionism" mean? - http://shlom.in/def-zionism

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .



More information about the Linux-il mailing list