Keyboard key re-mapping.

The Linuxator

Banned
Jun 13, 2005
3,121
1
0
I am used to my Thinkpad's ctrl key postion and I want ot remap the winkey as Ctrl so that way I disable the left Ctrl and move it to the winkey, or maybe have both of them as Ctrl keys

I want to do this in both Fedora Core 4 and Win Xp pro (at work)
 

The Linuxator

Banned
Jun 13, 2005
3,121
1
0
Originally posted by: n0cmonkey
I've never tried this, but it might work (search for setkeycodes).


Well I found it at /usr/bin/setkeycode I opened it with Emacs Text editor and it gave me abunch of jeberish .
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
I've never tried this, but it might work (search for setkeycodes).


Well I found it at /usr/bin/setkeycode I opened it with Emacs Text editor and it gave me abunch of jeberish .

It looked like setkeycode is a program you run, not a text file you edit. Stuff in /usr/bin should be executables, and configs should be in /etc.

Try file /usr/bin/setkeycode to make sure though.
 

The Linuxator

Banned
Jun 13, 2005
3,121
1
0
Originally posted by: n0cmonkey
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
I've never tried this, but it might work (search for setkeycodes).


Well I found it at /usr/bin/setkeycode I opened it with Emacs Text editor and it gave me abunch of jeberish .

It looked like setkeycode is a program you run, not a text file you edit. Stuff in /usr/bin should be executables, and configs should be in /etc.

Try file /usr/bin/setkeycode to make sure though.


it's not executing
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
Originally posted by: The Linuxator
Originally posted by: n0cmonkey
I've never tried this, but it might work (search for setkeycodes).


Well I found it at /usr/bin/setkeycode I opened it with Emacs Text editor and it gave me abunch of jeberish .

It looked like setkeycode is a program you run, not a text file you edit. Stuff in /usr/bin should be executables, and configs should be in /etc.

Try file /usr/bin/setkeycode to make sure though.


it's not executing
Have you read the relevant man pages? It looks like there's one in sections 1 and 8 although that 1 looks like it might be a typo.