You are not logged in.

#1 2011-03-10 23:23:24

codeRage
Member
Registered: 2011-02-20
Posts: 29

.Xmodmap format

Is it possible to get X to eat one keycode and emit a different one?

For instance eat "a" (keycode 38) and emit an "Alt-Tab"

keycode  23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode  38 = a A a A

How would you change .xmodmap to do this

Offline

#2 2011-03-11 04:09:10

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: .Xmodmap format

codeRage wrote:

Is it possible to get X to eat one keycode and emit a different one?

For instance eat "a" (keycode 38) and emit an "Alt-Tab"

keycode  23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode  38 = a A a A

How would you change .xmodmap to do this

Sure. Search the web for 'xmodmap swap keys'. It's well documented.

-- EDIT --

Duh. man xmodmap will do the trick too.

Last edited by skottish (2011-03-11 04:10:22)

Offline

Board footer

Powered by FluxBB