You are not logged in.

#1 2010-07-07 21:12:33

anabolikas
Member
Registered: 2010-05-05
Posts: 45

Keyboard layouts in Xmonad

Hello, all!
Can someone tell me, how to change between en and lt keyboard layouts using Caps Lock? (When disabled - en layout, active - lt)

Offline

#2 2010-07-08 22:56:54

a_priori_mouse
Member
Registered: 2010-05-16
Posts: 38

Re: Keyboard layouts in Xmonad

You can use "InputClass" section of /etc/X11/xorg.conf
See http://wiki.archlinux.org/index.php/Xor … rd_Layouts

Offline

#3 2010-07-10 14:57:46

anabolikas
Member
Registered: 2010-05-05
Posts: 45

Re: Keyboard layouts in Xmonad

I have alreadry read it and it didn't help. I have no idea why.

Offline

#4 2010-07-10 15:15:34

a_priori_mouse
Member
Registered: 2010-05-16
Posts: 38

Re: Keyboard layouts in Xmonad

Then u can add

setxkbmap -layout us,it -option grp:caps_toggle

to .xinitrc

Last edited by a_priori_mouse (2010-07-10 15:16:16)

Offline

#5 2010-07-10 15:41:21

anabolikas
Member
Registered: 2010-05-05
Posts: 45

Re: Keyboard layouts in Xmonad

Thank You! smile
It takes some time to configure, but this wm becomes just ideal for me. It solves all problems I had with awesome and dwm. Thank's again smile

Offline

Board footer

Powered by FluxBB