fvwm modifiers

Problems with decorations or key/mouse bindings? Or perhaps you have a cool mouse/key binding you want to share.
jopeto
Kitten
Kitten
Posts: 7
Joined: Tue Dec 18, 2007 5:31 pm

fvwm modifiers

Postby jopeto » Wed Nov 14, 2012 9:22 pm

I have a question about modifiers. I would like to assign the mod1 through mod5 modifiers to particular keys. I installed both xmodmap and xev. So I wanted to compare the output of the two, in order to make sure it is working. However when I run xev and press the left Ctrl key, I get the following output:

KeyPress event, serial 40, synthetic NO, window 0x2c00001,
root 0xac, subw 0x2c00002, time 6321773, (41,36), root:(1192,58),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x2c00001,
root 0xac, subw 0x2c00002, time 6321903, (41,36), root:(1192,58),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False


On the other hand when I run xmodmap, I get the following:

xmodmap: up to 4 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)


So in the first case I get keycode 37, while in the second 0x25. Am I reading it correctly? So does that mean that I will need to change the xmodmap bindings?

Thanks a lot in advance.

Return to “Decorations and bindings”

Who is online

Users browsing this forum: No registered users and 1 guest