Skip to content

Instantly share code, notes, and snippets.

@leogallego
Last active March 5, 2021 18:54
Show Gist options
  • Save leogallego/33efc3109ac5b0059396eb4ab9746dc7 to your computer and use it in GitHub Desktop.
Save leogallego/33efc3109ac5b0059396eb4ab9746dc7 to your computer and use it in GitHub Desktop.
wacom one small dual monitor nvidia propietary driver
## list screens / monitors
~]$ xrandr
Screen 0: minimum 8 x 8, current 3640 x 1920, maximum 32767 x 32767
DVI-D-0 connected 1080x1920+0+0 left (normal left inverted right x axis y axis) 475mm x 267mm
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 2560x1080+1080+0 (normal left inverted right x axis y axis) 673mm x 284mm
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
## list devices
~]$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ USB Keyboard Mouse id=11 [slave pointer (2)]
⎜ ↳ Wacom One by Wacom S Pen stylus id=13 [slave pointer (2)]
⎜ ↳ Logitech USB Trackball id=15 [slave pointer (2)]
⎜ ↳ Wacom One by Wacom S Pen eraser id=18 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
## SET THE WACOM TO MAP A SPECIFIC SCREEN/MONITOR
]$ xsetwacom set "Wacom One by Wacom S Pen stylus" MapToOutput HEAD-0 <<<< PRIMARY
]$ xsetwacom set "Wacom One by Wacom S Pen stylus" MapToOutput HEAD-1 <<<< SECONDARY
## nvidia blob binary driver use HEAD instead of DP, DVI, HDMI, etc.
## if using nvidia blob, MapToOutput HEAD-0 = DP-0 = HDMI-0 = primary display
## if using open source drivers MapToOutput uses the output listed in xrandr.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment