LinuxCommandLibrary

xsetwacom

TLDR

List devices

$ xsetwacom list
copy
Map to screen
$ xsetwacom set "[device_name]" MapToOutput [screen]
copy
Set mode
$ xsetwacom set "[device_name]" Mode "[Relative|Absolute]"
copy
Rotate input
$ xsetwacom set "[device_name]" Rotate [none|half|cw|ccw]
copy
Enable tablet PC mode
$ xsetwacom set "[device_name]" TabletPCButton "on"
copy

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 devices
set DEVICE PARAM VALUE
Set device parameter
get DEVICE PARAM
Get device parameter value
MapToOutput SCREEN
Map tablet to specific screen
Mode MODE
Relative (mouse) or Absolute (pen) mode
Rotate DIRECTION
Rotate input (none, half, cw, ccw)

CAVEATS

X11 only. Settings do not persist across reboots. Device names may change on reconnect.

SEE ALSO

xinput(1), xrandr(1)

Copied to clipboard