Running fvwm2 on a new copy of Gentoo w/ Lenovo ThinkPad X13 (Ryzen).
I've installed a new copy of Gentoo w/ FVWM 2.6.9 & Fluxbox for comparison.
The Gentoo build is from 2.7.0.
Copy over my ./.fvwm/config file.
As a santiy check I start up Fluxbox, and all three buttons work
as expected. Fluxbox maps button2 to their desktop handler [blech,
the FvwmPager is a lot nicer to use]. Point is that all three
buttons work.
Exit Fluxbox, hack .xinitrc replacing the "startfluxbox" with
exec dbus-launch --sh-syntax --exit-with-session fvwm > ~/.fvwm.out 2>&1;
Everything works out of the box execpt for Button2 in fvwm controls.
Example: Say I start up an xterm (e.g., sakura). Double-click hilites,
middle click pastes. This makes me believe that the hardware is working
(along with fluxbox) and that the events are being delivered.
Now say I try to use the middle-button w/ FVWM: nada. Clicking on
the empty screen area doesn't pull up the menu, I cannot use the
middle-click to move windows in FvwmPager, in all cases pressing
and holding the middle button freezes the cursor.
Checking with xev, I get immediate button KeyPress/KeyRelase events
from B1 & B3; the B2 seems to be buffered: I press it and nothing
shows up in xev until I release B2 and then I get both the press
and release events.
I haven't been able to uncover any similar behavor described on
the fvwm2 or SuSE forums and wandering through the bios hasn't
shown me anything that wants to configure the buttons.
Q: Has anyone seen this performace before?
Q: Any solutions for it?
Thanks
1. The button/mouse config entries in my ~/.fvwm/config.
These work without any problem in a neighboring Gentoo
system, the problems when I start using fvwm 2.7.0 on
the new gentoo system:
$ grep -v '^#' .fvwm/config | egrep -i '(button|mouse)';
+ "Buttons" Module FvwmButtons
Mouse 1 R A Menu "Utilities" Nop
Mouse 2 R N Menu "Window Ops" Nop
Mouse 3 R A WindowList
Mouse 0 1 A Function "window_ops_func"
Mouse 1 2 A Delete
Mouse 0 4 A Maximize 100 100
Mouse 0 6 A Iconify
Mouse 1 F A Function "Resize-or-Raise"
Mouse 1 TS A Function "Move-or-Raise"
Mouse 1 I A Function "Move-or-Iconify"
Mouse 2 I A Iconify
Mouse 2 FST A Function "window_ops_func"
Mouse 3 TSIF A RaiseLower
Mouse 3 W M RaiseLower
*FvwmButtonsFore Black
*FvwmButtonsBack #c0c0c0
*FvwmButtonsFont -adobe-helvetica-bold-r-normal--17-*-100-100-*-*-*-*
*FvwmButtonsGeometry -0-0
*FvwmButtonsRows 1
*FvwmButtons(Title xterm -tn xterm , Icon rterm.xpm, \
*FvwmButtons(Title kill, Icon rbomb.xpm, Action Destroy)
*FvwmButtons(2x1, Swallow(UseOld) "Desktop" 'FvwmPager 0 17')
2. Sample xev output showing result of preting each buttin in order
witout any motion or other keypress.
Sequence of button presses is only: button 1, button 2, button 3,
no other keys. The LeaveNotify and EnterNotify are unique to button 2,
not sure if those matter.
xev;
<snip moving cursor into window>
ButtonPress event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785119705, (126,88), root:(1410,480),
state 0x0, button 1, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785119910, (126,88), root:(1410,480),
state 0x100, button 1, same_screen YES
ButtonPress event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785120474, (126,88), root:(1410,480),
state 0x0, button 2, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785120690, (126,88), root:(1410,480),
state 0x200, button 2, same_screen YES
LeaveNotify event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785121122, (126,88), root:(1410,480),
mode NotifyGrab, detail NotifyAncestor, same_screen YES,
focus YES, state 1024
EnterNotify event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785121123, (126,88), root:(1410,480),
mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
focus YES, state 1024
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 179 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ButtonPress event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785121122, (126,88), root:(1410,480),
state 0x0, button 3, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0x4e00001,
root 0x7b3, subw 0x0, time 785121325, (126,88), root:(1410,480),
state 0x400, button 3, same_screen YES
<snip moving cursor out of window>
--
Steven Lembark
Workhorse Computing
[email protected]
+1 888 359 3508