You are not logged in.

#1 2011-05-21 15:38:18

johnnyponny
Member
Registered: 2011-04-23
Posts: 33

[SOLVED] mapping escape to caps lock and nodeadkeys - xmodmap

I'm trying to map escape to Caps Lock and at the same time having the nodeadkeys&

 xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
setxkbmap -layout se -variant nodeadkeys&

in the ~/.xinitrc file but that only makes the last option work.

I have also tried extracting the current setup with

xmodmap -pke > ~/.xmod

and adding

modmap -pke > ~/.xmod

after I had enabled the nodeadkeys.
But that didn't work either, only the caps lock was mapped to escape.

Last edited by johnnyponny (2011-05-21 18:17:09)

Offline

#2 2011-05-21 17:39:42

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] mapping escape to caps lock and nodeadkeys - xmodmap

Don't need xmodmap to map escape to caps.

setxkbmap -option caps:escape 

or do it in xorg.conf(.d)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2011-05-21 18:16:49

johnnyponny
Member
Registered: 2011-04-23
Posts: 33

Re: [SOLVED] mapping escape to caps lock and nodeadkeys - xmodmap

thanks! it worked perfectly!

Offline

Board footer

Powered by FluxBB