xsetwacom
TLDR
List devices
$ xsetwacom list
Map to screen$ xsetwacom set "[device_name]" MapToOutput [screen]
Set mode$ xsetwacom set "[device_name]" Mode "[Relative|Absolute]"
Rotate input$ xsetwacom set "[device_name]" Rotate [none|half|cw|ccw]
Enable tablet PC mode$ xsetwacom set "[device_name]" TabletPCButton "on"
SYNOPSIS
xsetwacom COMMAND [OPTIONS]
DESCRIPTION
xsetwacom configures Wacom pen tablets and touchscreens at runtime. It can set input mode, screen mapping, rotation, and button behavior.
Device names can be found using xsetwacom list or xinput list.
PARAMETERS
list
List all Wacom devicesset DEVICE PARAM VALUE
Set device parameterget DEVICE PARAM
Get device parameter valueMapToOutput SCREEN
Map tablet to specific screenMode MODE
Relative (mouse) or Absolute (pen) modeRotate DIRECTION
Rotate input (none, half, cw, ccw)
CAVEATS
X11 only. Settings do not persist across reboots. Device names may change on reconnect.


