|
|
|
 |

August 20th, 2007, 07:41 PM
|
Corporal
|
|
Join Date: Mar 2004
Location: Los Angeles, CA
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Re: Disable or re-map Hot-Key?
Hadrian_II, I like that script. I think I'll call it 'dom' and be happy about not accidentally moving on to the next turn.
FYI if you want a key other than 'r' remapped try the following command:
xmodmap -pk
Then substitute the Keysym value of the key you want ...
|

August 21st, 2007, 04:27 PM
|
 |
Major General
|
|
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
|
|
Re: Disable or re-map Hot-Key?
Lol, srrms likr this would makr in-gamr messagrs a bit odd. Hoprfully you can still typr your password... 
__________________
My guides to Mictlan, MA Atlantis, Eriu, Sauromatia, Marverni, HINNOM, LA Atlantis, Bandar, MA Ulm, Machaka, Helheim, Niefleheim, EA Caelum, MA Oceana, EA Ulm, EA Arco, MA Argatha, LA Pangaea, MA T'ien Ch'i, MA Abysia, EA Atlantis, EA Pangaea, Shinuyama, Communions, Vampires, and Thugs
Baalz good player pledge
|

August 21st, 2007, 09:31 PM
|
 |
General
|
|
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
|
|
Re: Disable or re-map Hot-Key?
Quote:
Baalz said:
Lol, srrms likr this would makr in-gamr messagrs a bit odd. Hoprfully you can still typr your password...
|
That's why with Windows it's easier to use remapkey.exe and have the 'end' key be switched with 'e' key. All you have to remember is the end key is for 'e' within messages and the end key will end your turn.

__________________
There can be only one.
|

August 26th, 2007, 12:16 AM
|
Corporal
|
|
Join Date: Mar 2004
Location: Los Angeles, CA
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Re: Disable or re-map Hot-Key?
Here is the Linux bash script to change
e --> r # so no accidental end of turn
end --> e # press end to end turn or 'e'for other apps
run dominions 3
when dominions 3 exits change keys back:
---------------------
Code:
#!/bin/bash
xmodmap -e "keycode 26 = 0x0072" # make e --> r
xmodmap -e "keycode 103 = 0x0065" # make end --> e
dom3 # you might need full path
xmodmap -e "keycode 26 = 0x0065" # make e --> e
xmodmap -e "keycode 103 = 0xff57" # make end --> end
------------------
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|