On Sunday 04 Jan 2015 19:53:37 lee wrote: > Hi, > > I'm trying to use the CapsLock key as control key. With 'setxkbmap > -option ctrl:nocaps' that works --- until I use 'xmodmap' to load my > keymap. Once the keymap is loaded, the CapsLock key again works as > CapsLock and not as control. > > This worked fine with other distributions. Is there anything special to > Gentoo which breaks this? > > > Section "InputClass" > Identifier "keyboard-all" > Driver "evdev" > Option "XkbLayout" "de" > Option "XkbModel" "pc105" > Option "XkbRules" "xorg" > Option "XkbOptions" "ctrl:nocaps,terminate:ctrl_alt_bksp" > MatchIsKeyboard "on" > EndSection
What happens if you remove "ctrl:nocaps" above? > ~/.xinitrc: > [...] > setxkbmap -option ctrl:nocaps > xmodmap ~/.Xmodmap > [...] > > > ~/.Xmodmap: > [...] > keycode 37 = Control_L NoSymbol Control_L > [...] and why do you need to specify this in .Xmodap? -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.