Bryan Brady
2012-05-14 17:08:05 UTC
Hi,
I have been experiencing problems with FVWM ever since I upgraded
Ubuntu.
Here is my setup:
My laptop runs Ubuntu 12.04 (kernel 3.2.0-24-generic-pae) and I
have FVWM 2.6.1. After upgrading, my key and mouse bindings
stopped working. I tracked the problem down to a difference in the
key code. (Not sure if "key code" is the right terminology here).
Here is an example of what I mean:
I ran xev and did a middle click and got:
<snip>
ButtonPress event, serial 29, synthetic NO, window 0x4200001,
root 0xc5, subw 0x4200002, time 61366893, (51,34), root:(1439,85),
state 0x10, button 2, same_screen YES
...
ButtonRelease event, serial 29, synthetic NO, window 0x4200001,
root 0xc5, subw 0x4200002, time 61366893, (51,34), root:(1439,85),
state 0x210, button 2, same_screen YES
</snip>
Note the state of the ButtonPress is 0x10 and the state of
ButtonRelease is 0x210. I have access to an older version of Ubuntu
and the states of the ButtonPress/ButtonRelease are 0x00/0x200.
It turns out that all of my modifier keys and button presses are 0x10
greater than they used to be on the old version of Ubuntu.
I also run FVWM 2.6.1 on AIX machines that I log into remotely.
When I connect to these machines with Exceed on Demand, I have
the smae problem. But when I log in with VNC, the problem goes
away, and the Button/Key presses are back to
normal. Unfortunately, VNC is very slow compared to EoD, so I'd
like to figure out a way to get FVWM to understand the new key
codes.
Does anyone have any ideas as to how I can fix this?
Thanks
bryan
I have been experiencing problems with FVWM ever since I upgraded
Ubuntu.
Here is my setup:
My laptop runs Ubuntu 12.04 (kernel 3.2.0-24-generic-pae) and I
have FVWM 2.6.1. After upgrading, my key and mouse bindings
stopped working. I tracked the problem down to a difference in the
key code. (Not sure if "key code" is the right terminology here).
Here is an example of what I mean:
I ran xev and did a middle click and got:
<snip>
ButtonPress event, serial 29, synthetic NO, window 0x4200001,
root 0xc5, subw 0x4200002, time 61366893, (51,34), root:(1439,85),
state 0x10, button 2, same_screen YES
...
ButtonRelease event, serial 29, synthetic NO, window 0x4200001,
root 0xc5, subw 0x4200002, time 61366893, (51,34), root:(1439,85),
state 0x210, button 2, same_screen YES
</snip>
Note the state of the ButtonPress is 0x10 and the state of
ButtonRelease is 0x210. I have access to an older version of Ubuntu
and the states of the ButtonPress/ButtonRelease are 0x00/0x200.
It turns out that all of my modifier keys and button presses are 0x10
greater than they used to be on the old version of Ubuntu.
I also run FVWM 2.6.1 on AIX machines that I log into remotely.
When I connect to these machines with Exceed on Demand, I have
the smae problem. But when I log in with VNC, the problem goes
away, and the Button/Key presses are back to
normal. Unfortunately, VNC is very slow compared to EoD, so I'd
like to figure out a way to get FVWM to understand the new key
codes.
Does anyone have any ideas as to how I can fix this?
Thanks
bryan