diff --git a/pages/linux/xsetwacom.md b/pages/linux/xsetwacom.md new file mode 100644 index 000000000..c5e8f7295 --- /dev/null +++ b/pages/linux/xsetwacom.md @@ -0,0 +1,23 @@ +# xsetwacom + +> Command line tool to change settings for Wacom pen tablets at runtime. + +- List all the available wacom devices. The device name is in the first column. + +`xsetwacom list` + +- Set Wacom area to specific screen. Get name of the screen with `xrandr`. + +`xsetwacom set "{{device name}}" MapToOutput {{screen}}` + +- Set mode to relative (like a mouse) or absolute (like a pen) mode. + +`xsetwacom set "{{device name}}" Mode "{{Relative|Absolute}}"` + +- Rotate the input (good for tablet-PC) by 0|90|180|270 degree from "natural" rotation. + +`xsetwacom set "{{device name}}" Rotate {{none|half|cw|ccw}}` + +- Set button to only work when Tip is touching the tablet. + +`xsetwacom set "{{device name}}" TabletPCButton "on"`