2015-11-21 13:53:28 +03:00
|
|
|
# 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}}"`
|
|
|
|
|
2015-11-21 17:53:20 +03:00
|
|
|
- Rotate the input (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from "natural" rotation.
|
2015-11-21 13:53:28 +03:00
|
|
|
|
|
|
|
`xsetwacom set "{{device name}}" Rotate {{none|half|cw|ccw}}`
|
|
|
|
|
2015-11-21 14:16:33 +03:00
|
|
|
- Set button to only work when the tip of the pen is touching the tablet.
|
2015-11-21 13:53:28 +03:00
|
|
|
|
|
|
|
`xsetwacom set "{{device name}}" TabletPCButton "on"`
|