You are not logged in.

#1 2011-01-06 17:24:52

shalaby
Member
Registered: 2011-01-06
Posts: 44

Keyboard layout switching not working

i use xfce4 and i created /etc/X11/xorg.conf
Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "us, ar"
    Option                 "XkbOptions" "grp:alt_shift_toggle"
EndSection
but it's not working.
xfce4 has a program called Keyboard in settings menu, i used it it gives the ability to add another language but it doesnt has a switching capability.

Offline

#2 2011-01-06 18:51:35

tum
Member
Registered: 2010-05-18
Posts: 40

Re: Keyboard layout switching not working

I don't use keyboard layout switch through xorg.conf because it stops to work sometimes(if i use setxkbmap for example).
So i am using setxkbmap in .xinitrc.

setxkbmap -model pc105 \
-layout "de,ru" \
-variant "basic,phonetic" \
-option -option "grp:sclk_toggle, grp_led:scroll, terminate:ctrl_alt_bksp, caps:none"

and "kbdd" for remembering layout for each window.

Change it to your needs or check the arch wiki about xorg.conf.d .

Offline

#3 2011-01-07 07:15:24

shalaby
Member
Registered: 2011-01-06
Posts: 44

Re: Keyboard layout switching not working

thank you for your help smile

Offline

Board footer

Powered by FluxBB