Gaoman 数位板 M6 linux 配置
多屏如何设置数位板控制哪个屏幕
- 查看显示器信息
xrandr
Screen 0: minimum 320 x 200, current 3840 x 1200, maximum 16384 x 16384
eDP-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 302mm x 189mm
1920x1200 60.00*+ 60.00
...
320x240 60.00
360x202 60.00
320x180 60.00
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-3 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 345mm x 194mm
1920x1080 59.93*+ 60.00 59.94
1600x900 60.00
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32
640x480 60.00 59.94
DP-4 disconnected (normal left inverted right x axis y axis)
可以看到目前检索到 eDP-1
, DP-3
两个屏幕
- 执行
xsetwacom
命令设置数位板参数
‵‵‵plain Usage: xsetwacom [options] [command [arguments...]] Options: -h, --help - usage -v, --verbose - verbose output -V, --version - version info -d, --display "display" - override default display -s, --shell - generate shell commands for 'get' -x, --xconf - generate xorg.conf lines for 'get'
Commands: --list devices - display detected devices --list parameters - display supported parameters --list modifiers - display supported modifier and specific keys for keystrokes --set "device name" parameter [values...] - set device parameter by name --get "device name" parameter [param...] - get current device parameter(s) value by name ‵‵‵
xsetwacom --list devices
检索数位板设备
GAOMON GAOMON_M6 Pen stylus id: 16 type: STYLUS
GAOMON GAOMON_M6 Pad pad id: 17 type: PAD
GAOMON GAOMON_M6 Touch Ring pad id: 22 type: PAD
GAOMON GAOMON_M6 stylus id: 23 type: STYLUS
GAOMON GAOMON_M6 eraser id: 24 type: ERASER
xsetwacom set 'GAOMON GAOMON_M6 Pen stylus' MapToOutput DP-3
完成设置