我最近买了罗技M720。在xev中按下拇指按钮可以得到以下结果:
KeyPress event, serial 36, synthetic NO, window 0x2c00001,
root 0x270, subw 0x0, time 1922861, (169,43), root:(248,150),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x2c00001,
root 0x270, subw 0x0, time 1922894, (169,43), root:(248,150),
state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
LeaveNotify event, serial 36, synthetic NO, window 0x2c00001,
root 0x270, subw 0x0, time 1922894, (169,43), root:(248,150),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 12
EnterNotify event, serial 36, synthetic NO, window 0x2c00001,
root 0x270, subw 0x0, time 1922920, (169,43), root:(248,150),
mode NotifyNormal, detail NotifyAncestor, same_screen YES,
focus YES, state 12
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 112 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 尝试在gnome键盘快捷键中绑定它也不起作用。在xev中没有按钮条目。
使用xev | grep keycode:
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,在windows中,此按钮会导致alt选项卡,它是否试图在这里执行相同的操作?
发布于 2019-02-20 07:44:39
我以前也有过同样的问题。由于其他原因,我在重新安装Ubuntu16.04之后意外地解决了这个问题。
在我的例子中,是imwheel限制了拇指按钮的使用。在我的.imwheelrc里
".*"
None, Up, Up, 5
None, Down, Down, 5它的目的是提高滚动速度,但也阻止拇指按钮。(您不必使用与我的设置相同的外轮in )。要使它们再次可用,在终端中,首先要做:killall imwheel然后做imwheel -b "4 5"。它的工作方式是将按钮抓取限制在指定按钮上。
注意:我没有安装xautomation。如果上述步骤不起作用,我会尝试卸载x自动化。
https://askubuntu.com/questions/956484
复制相似问题