on 01/13/2010 08:59 PM Thanasis wrote the following:
> on 01/13/2010 08:38 PM Thanasis wrote the following:
>   
>> swapping keys
>>     
> I think I 'm in the right direction looking at KEYMAPS(5)
>   
Here is what I did:
1) chose a keymap file (/usr/share/keymaps/i386/qwerty/gr.map.gz in my case)
2) copied and unzipped it at some location and edited it like so:

# diff gr.map-modified gr.map
102c102
< keycode  56 = Control
---
> keycode  29 = Control
142c142
< keycode  29 = Alt
---
> keycode  56 = Alt

3) Then restarted /etc/init.d/keymaps
(/etc/init.d/keymaps restart)
and it worked, ie left ALT and CTRL where swapped (in console F1 to F6)

4) To make it permanent we can then edit /etc/conf.d/keymaps
and change the keymap="...." entry to the pathname of our new keymap file.

Any comments, before I consider the case solved, are welcome.
:-)



Reply via email to