Re: Reassigning keys to be another key
Classic Valve Design <[email protected]> Sun, 08 Jul 2012 23:38:47 -0700
| Newsgroups | gmane.comp.window-managers.icewm.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I just tried that as: xmodmap -e 'keycode 117 = Ctrl_R' Also: xmodmap -e 'keycode 117 = Control_R' What I originally had in /etc/X11/xinit/xinitrc was: keycode 117 = Ctrl_R and tried: keycode 117 = Control_R As well as: keycode 117 = Ctrl_R add Ctrl_R and: keycode 117 = Control_R add Control_R That Windows key refuses to be a control key :-( So, I tried the exact sample script in man xmodmap that swaps the caps lock and control keys to test if IceWM is overriding xinitrc and the sample script in xmodmad doesn't work either. IceWM seems to be overriding. Thank you! Attila Kinali wrote: > Moin, > > On Sat, 07 Jul 2012 23:47:59 -0700 > Classic Valve Design <[email protected]> wrote: > >> I wish to reassign certain keys on my keyboard to a more familiar one >> (due to the layout of the keyboard). >> >> Example, I want to turn the "Windows" key (#117) into "Ctrl_R" and the >> "Wake Up" key (#227) into my delete key. >> >> I can do this in xinit and it works fine in say, TWM, but IceWM is >> overriding it and all I can find for keybinding HOWTO is how to start or >> modify programs, not make a key do the job of another. > > How are you overriding it? xmodmap? > If so, i dont think icewm is overriding it. I overwrite the setting > of my "windows" key to make it a "Kanji" key using the following line > in my ~/.xinitrc: > xmodmap -e 'keycode 133 = Kanji' > > If you do that and it doesnt work, can you tell us the exact command > you use? Your mail is awfully terse and lacks a lot of information > one would need to be able to help you. > > Attila Kinali > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/