View Single Post
  #4  
Old August 19th, 2007, 08:06 PM

Jagdpanther Jagdpanther is offline
Corporal
 
Join Date: Mar 2004
Location: Los Angeles, CA
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Jagdpanther is on a distinguished road
Default Re: Disable or re-map Hot-Key?

Because this really was bugging me and physically changeing the keys wouldn't help :-) (I don't look at my keyboard enough, that is the real problem) here is a cheesy hack that will re-map your 'e' key to 'r' ... so if you press 'e' you get the recruitment page. 'Cheesy' because it re-maps your entire XWindows session.

This only works on Linux ...

Script 1, change 'e' to 'r'

no_e_key.bash:

#!/bin/bash
xmodmap -e "keycode 26 = 0x0072" # make e --> r


And when you want your 'e' back:

yes_e_key.bash:

#!/bin/bash
xmodmap -e "keycode 26 = 0x0065" # make e --> e


Also, if you logout of your XWindows session the original settings will be back.
Reply With Quote