2015-11-21 10:53:28 +00:00
|
|
|
# xsetwacom
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> Command-line tool to change settings for Wacom pen tablets at runtime.
|
2022-03-21 17:07:48 +00:00
|
|
|
> More information: <https://manned.org/xsetwacom>.
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- List all the available Wacom devices. The device name is in the first column:
|
2015-11-21 10:53:28 +00:00
|
|
|
|
|
|
|
`xsetwacom list`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Set Wacom area to specific screen. Get name of the screen with `xrandr`:
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2018-10-29 11:14:25 +00:00
|
|
|
`xsetwacom set "{{device_name}}" MapToOutput {{screen}}`
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Set mode to relative (like a mouse) or absolute (like a pen) mode:
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2018-10-29 11:14:25 +00:00
|
|
|
`xsetwacom set "{{device_name}}" Mode "{{Relative|Absolute}}"`
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Rotate the input (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from "natural" rotation:
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2018-10-29 11:14:25 +00:00
|
|
|
`xsetwacom set "{{device_name}}" Rotate {{none|half|cw|ccw}}`
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Set button to only work when the tip of the pen is touching the tablet:
|
2015-11-21 10:53:28 +00:00
|
|
|
|
2018-10-29 11:14:25 +00:00
|
|
|
`xsetwacom set "{{device_name}}" TabletPCButton "on"`
|