← 返回命令列表

Linux command

xsetwacom 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List

xsetwacom list devices

List

xsetwacom list parameters

Get

xsetwacom get "[device_name]" all

Map

xsetwacom set "[device_name]" MapToOutput [screen]

Example

xsetwacom set "[device_name]" Mode [Relative|Absolute]

Rotate

xsetwacom set "[device_name]" Rotate [none|half|cw|ccw]

Example

xsetwacom set "[device_name]" PressureCurve [0] [0] [100] [100]

Map

xsetwacom set "[device_name]" Button [button_number] "key [keystroke]"

说明

xsetwacom is a command-line utility to query and modify Wacom driver settings at runtime. It can configure input mode, screen mapping, rotation, pressure response, button mapping, and touch behavior. Device names can be found using `xsetwacom list devices` or `xinput list`. Not all parameters are available on all device types; use `xsetwacom list parameters` to see what is supported.

参数

list devices
List all recognized Wacom input devices.
list parameters
List all parameters suitable for get or set commands.
list modifiers
List available modifiers for key and button actions.
set _DEVICE_ _PARAM_ _VALUE_
Set a parameter value on the given device.
get _DEVICE_ _PARAM_
Get the current value of a parameter. Use "all" to show all settings.
-s, --shell
Display output as shell commands that can reproduce the same settings.
-x, --xconf
Display output as xorg.conf options.

FAQ

What is the xsetwacom command used for?

xsetwacom is a command-line utility to query and modify Wacom driver settings at runtime. It can configure input mode, screen mapping, rotation, pressure response, button mapping, and touch behavior. Device names can be found using `xsetwacom list devices` or `xinput list`. Not all parameters are available on all device types; use `xsetwacom list parameters` to see what is supported.

How do I run a basic xsetwacom example?

Run `xsetwacom list devices` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does list devices do in xsetwacom?

List all recognized Wacom input devices.