我很难在manjaro安装上配置我的wacom平板电脑上的按钮。
最后,我使用了这个答案来实现它的工作,但是它只在一些时候起作用,因为当我再次插入平板时,手写笔和笔in有时会改变。
下面是实际更改按钮设置的shell脚本的内容:
#!/usr/bin/env bash
sleep 1
export XAUTHORITY=/home/mashpoe/.Xauthority
export DISPLAY=:0
# the IDs will randomly change so the next commands won't work
# sets button 3 for the stylus
xsetwacom set 15 Button 3 "key e"
# sets each button for the pad
xsetwacom set 16 Button 1 "key +ctrl z -ctrl"
xsetwacom set 16 Button 2 "key +ctrl +shift z -ctrl -shift"
xsetwacom set 16 Button 3 "key +ctrl - -ctrl"
xsetwacom set 16 Button 8 "key +ctrl +shift + -ctrl -shift"发布于 2022-06-06 10:19:07
对于未来的读者来说,这是可行的。
xsetwacom --set "Wacom One by Wacom M Pen stylus" TabletPCButton onhttps://unix.stackexchange.com/questions/627536
复制相似问题