我正在尝试使用鼠标上的按钮 10 拖动窗口。我安装了 CCSM,并将插件“移动窗口”中的启动按钮更改为“按钮 10”(不使用修饰键,尽管添加修饰键进行测试没有帮助)。
我知道所需的按钮是数字 10,因为xev
报告
ButtonPress event, serial 36, synthetic NO, window 0x4000001,
root 0x15d, subw 0x0, time 8361012, (77,129), root:(1812,182),
state 0x0, button 10, same_screen YES
ButtonRelease event, serial 36, synthetic NO, window 0x4000001,
root 0x15d, subw 0x0, time 8361286, (77,129), root:(1812,182),
state 0x0, button 10, same_screen YES
当我单击其窗口中的该按钮时。
使用这些设置按下按钮 10 时没有任何效果。但是,我知道我更改了正确的设置,因为从默认的 Alt+Button1 切换到例如 Ctrl+Alt+Button1 确实有效。
xinput list --long 10
编辑:按照 Braiam 的要求输出。
Logitech Gaming Mouse G400 id=10 [slave pointer (2)]
Reporting 5 classes:
Class originated from: 10. Type: XIButtonClass
Buttons supported: 16
Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" "Button Forward" "Button Back" "Button Task" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown"
Button state:
Class originated from: 10. Type: XIValuatorClass
Detail for Valuator 0:
Label: Rel X
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 10. Type: XIValuatorClass
Detail for Valuator 1:
Label: Rel Y
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 10. Type: XIValuatorClass
Detail for Valuator 2:
Label: Rel Vert Wheel
Range: -1.000000 - -1.000000
Resolution: 1 units/m
Mode: relative
Class originated from: 10. Type: XIScrollClass
Scroll info for Valuator 2
type: 1 (vertical)
increment: -1.000000
flags: 0x2 ( preferred )
答案1
您如何在 CCSM 中设置?尝试<ALT> Button 10
。我认为你可能必须使用ALT按钮来启动移动。“不要引用我”。我只是猜测。