mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 08:53:21 +00:00
Update cheatsheets
This commit is contained in:
29
linux/xsetwacom
Normal file
29
linux/xsetwacom
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xsetwacom
|
||||
|
||||
> Command-line tool to change settings for Wacom pen tablets at runtime.
|
||||
> More information: <https://manned.org/xsetwacom>.
|
||||
|
||||
- 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 (useful for tablet-PC when rotating screen) by 0|90|180|270 degrees from "natural" rotation:
|
||||
|
||||
`xsetwacom set "{{device_name}}" Rotate {{none|half|cw|ccw}}`
|
||||
|
||||
- Set button to only work when the tip of the pen is touching the tablet:
|
||||
|
||||
`xsetwacom set "{{device_name}}" TabletPCButton "on"`
|
||||
Reference in New Issue
Block a user