Lubuntu 16.04 xsetwacom:“无法找到输出‘DVI-I-0’。”

And*_*arr 7 input xrandr lubuntu

我刚买了双显示器,我想限制我的 Wacom 平板电脑只能在一个显示器上绘图。不幸的是,xsetwacom 似乎无法识别 DVI 输入——即使它们在 xrandr 中被列为白天。有任何想法吗?

这是我的控制台输出:

andrewcarr@andrewcarr-desktop:~$ xrandr
Screen 0: minimum 8 x 8, current 3200 x 900, maximum 16384 x 16384
DVI-I-0 connected primary 1600x900+1600+0 (normal left inverted right x axis y axis) 443mm x 249mm
   1600x900      60.00*+
   1440x900      59.89  
   1280x1024     60.02  
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 1600x900+0+0 (normal left inverted right x axis y axis) 443mm x 249mm
   1600x900      60.00*+
   1440x900      59.89  
   1280x1024     60.02  
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
 andrewcarr@andrewcarr-desktop:~$ xsetwacom set "Wacom Intuos PT M Pen stylus" MapToOutput DVI-I-0
Unable to find an output 'DVI-I-0'.
Run Code Online (Sandbox Code Playgroud)

小智 13

而不是来自 xrandr 的监视器名称,使用HEAD-[head index]. 例如,HEAD-0用于列出的第一个监视器,HEAD-1用于第二个,等等。

例如 xsetwacom --set "Wacom Intuos PT S 2 Pen stylus" MapToOutput HEAD-1