When I am in a window context I would like to press Mouse button 3 and Ctrl to open the root menu. I have this:
Mouse 3 W C Menu MenuFvwmRoot Nop
I thought the declaring “C” would mean that the following functions would only be started if I press Mouse 3 and Ctrl at the same time. But nothing happens when I do that.
What am I missing about modifiers??
Works fine for me, if you hold down CTRL before you press mouse 3. Check you haven’t got numlock, capslock, or scrollock on…
– Thomas Adam
Ok it works if I turn off NumLock. But nowI have to turn off numlock each time I want to move something is there no way to keep numlock on while using modifers?
Numlock is a modifier. try specifing the operation to require numlock and control. xmodmap will tell which modifier the lock is bound to.
Once you have that you can probobaly solve your other problem - moving the pager, but adding a modifier key to the move command.
Ok when I ran xmodmap I got:
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
Then I wrote this in my .fvwm2rc file:
Mouse 1 W Cmod2 Menu MenuFvwmRoot Nop
But when I press mouse 1, ctrl and NumLock is on nothing happens (I don’t get the root menu to appear in the window).
Should I define mod2 in my .fvwm2rc file?
you don’t need the “mod” just the “2”
Search the manpage for “IgnoreModifiers” it’ll give you the characters to use.