LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Any simple tutorial for xmodmap or xkeycap? (https://www.linuxquestions.org/questions/linux-software-2/any-simple-tutorial-for-xmodmap-or-xkeycap-4175430376/)

wearetheborg 10-03-2012 07:44 PM

Any simple tutorial for xmodmap or xkeycap?
 
I am a bit lost in the man pages.

Essentially, I want to make the left ctrl key "}" and the key besides it "{".
And similar things for other brackets.

The output of xkeycap had this for the left ctrl key:
Code:

! The "Ctrl" key generates Multi_key, NoSymbol, and Multi_key
Is there a simple tutorial which explains in plain englush what the different entries mean?

eg
Code:

keycode 0x30 =  masculine      ordfeminine    masculine      ordfeminine    dead_circumflex dead_caron      dead_circumflex
What do the 7 entries for keycode 0x30 denote?
How do I find which entry to modify for left ctrl key?

What do the following mean?
Code:

keycode 0x6D =  Multi_key      NoSymbol        Multi_key
keycode 0x64 =  Henkan_Mode    NoSymbol        Henkan_Mode
keycode 0x68 =  KP_Enter        NoSymbol        KP_Enter
keycode 0x66 =  Muhenkan        NoSymbol        Muhenkan
keycode 0x5A =  KP_Insert      KP_0            KP_Insert      KP_0
keycode 0x5B =  KP_Delete      KP_Decimal      KP_Delete      KP_Decimal

clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5

add    Shift  = Shift_L Shift_R
add    Lock    = Caps_Lock
add    Control = Control_L Control_R Multi_key
add    Mod1    = Alt_L 0x00CD
add    Mod2    = Num_Lock
add    Mod4    = Super_L Super_R 0x00CE 0x00CF
add    Mod5    = ISO_Level3_Shift Mode_switch


clifford227 10-04-2012 04:13 AM

Quote:

Originally Posted by wearetheborg (Post 4796534)
Essentially, I want to make the left ctrl key "}" and the key besides it "{".
And similar things for other brackets.

If all you need is to swap keys around, I think I can help you do that because I've done it on my keyboard with xmodmap, but I wont be able to help with all the technical stuff your asking.


All times are GMT -5. The time now is 06:19 PM.