Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Wacom CTH-490 on Linux
Wacom CTH-490
==== List of devices ===
gnuton@Jeremia:~$ xsetwacom --list devices
Wacom Intuos PT S 2 Pen stylus id: 10 type: STYLUS
Wacom Intuos PT S 2 Finger touch id: 11 type: TOUCH
Wacom Intuos PT S 2 Pad pad id: 12 type: PAD
==== Bind buttons to Express keys ====
Express Keys are the 4 keys on the tablet.
Sets key 'b' to Button 9
xsetwacom set "12" "Button" "9" key "b"
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
O Button 3 O Button 9 O
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
O Button 1 O Button 8 O
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
===== Gestures =====
LMB - Click
RMB - 2 fingers click
gnuton@Jeremia:~$ xsetwacom --list parameters
Area - Valid tablet area in device coordinates.
Button - X11 event to which the given button should be mapped.
ToolDebugLevel - Level of debugging trace for individual tools (default is 0 [off]).
TabletDebugLevel - Level of debugging statements applied to shared code paths between all tools associated with the same tablet (default is 0 [off]).
Suppress - Number of points trimmed (default is 2).
RawSample - Number of raw data used to filter the points (default is 4).
PressureCurve - Bezier curve for pressure (default is 0 0 100 100 [linear]).
Mode - Switches cursor movement mode (default is absolute).
TabletPCButton - Turns on/off Tablet PC buttons (default is off for regular tablets, on for Tablet PC).
Touch - Turns on/off Touch events (default is on).
HWTouchSwitchState - Touch events turned on/off by hardware switch.
Gesture - Turns on/off multi-touch gesture events (default is on).
ZoomDistance - Minimum distance for a zoom gesture (default is 50).
ScrollDistance - Minimum motion before sending a scroll gesture (default is 20).
TapTime - Minimum time between taps for a right click (default is 250).
CursorProximity - Sets cursor distance for proximity-out in distance from the tablet (default is 10 for Intuos series, 42 for Graphire series).
Rotate - Sets the rotation of the tablet. Values = none, cw, ccw, half (default is none).
RelWheelUp - X11 event to which relative wheel up should be mapped.
RelWheelDown - X11 event to which relative wheel down should be mapped.
AbsWheelUp - X11 event to which absolute wheel up should be mapped.
AbsWheelDown - X11 event to which absolute wheel down should be mapped.
AbsWheel2Up - X11 event to which absolute wheel up should be mapped.
AbsWheel2Down - X11 event to which absolute wheel down should be mapped.
StripLeftUp - X11 event to which left strip up should be mapped.
StripLeftDown - X11 event to which left strip down should be mapped.
StripRightUp - X11 event to which right strip up should be mapped.
StripRightDown - X11 event to which right strip down should be mapped.
Threshold - Sets tip/eraser pressure threshold (default is 27).
ResetArea - Resets the bounding coordinates to default in tablet units.
ToolType - Returns the tool type of the associated device.
ToolSerial - Returns the serial number of the current device in proximity.
ToolID - Returns the tool ID of the current tool in proximity.
ToolSerialPrevious - Returns the serial number of the previous device in proximity.
BindToSerial - Binds this device to the serial number.
TabletID - Returns the tablet ID of the associated device.
PressureRecalibration - Turns on/off Tablet pressure recalibration
MapToOutput - Map the device to the given output.
all - Get value for all parameters.
gnuton@Jeremia:~$ xsetwacom --get 10 all
Option "Area" "0 0 15200 9500"
Button: Actions are not supported by xorg.conf. Try shell format (-s) instead.
Button: Actions are not supported by xorg.conf. Try shell format (-s) instead.
Button: Actions are not supported by xorg.conf. Try shell format (-s) instead.
Option "DebugLevel" "0"
Option "CommonDBG" "0"
Option "Suppress" "2"
Option "RawSample" "4"
Option "PressCurve" "0 0 100 100"
Option "Mode" "Absolute"
Option "TPCButton" "off"
Option "Touch" "on"
Property 'Wacom Hardware Touch Switch' does not exist on device.
Option "Gesture" "off"
Option "ZoomDistance" "0"
Option "ScrollDistance" "0"
Option "TapTime" "250"
Property 'Wacom Proximity Threshold' does not exist on device.
Option "Rotate" "none"
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Option "Threshold" "27"
Option "Serial" "0"
Option "PressureRecalibration" "on"
Property 'Wacom Hover Click' does not exist on device.
Option "Touch" "on"
Option "Gesture" "on"
Option "ZoomDistance" "180"
Option "ScrollDistance" "80"
Option "TapTime" "250"
Property 'Wacom Proximity Threshold' does not exist on device.
Option "Rotate" "none"
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Option "Threshold" "0"
Option "Serial" "0"
Property 'Wacom Pressure Recalibration' does not exist on device.
gnuton@Jeremia:~$ xsetwacom -s --get 10 all
xsetwacom set "10" "Area" "0 0 15200 9500"
xsetwacom set "10" "Button" "1" "button +1 "
xsetwacom set "10" "Button" "2" "+2 "
xsetwacom set "10" "Button" "3" "+3 "
xsetwacom set "10" "ToolDebugLevel" "0"
xsetwacom set "10" "TabletDebugLevel" "0"
xsetwacom set "10" "Suppress" "2"
xsetwacom set "10" "RawSample" "4"
xsetwacom set "10" "PressureCurve" "0 0 100 100"
xsetwacom set "10" "Mode" "Absolute"
xsetwacom set "10" "TabletPCButton" "off"
xsetwacom set "10" "Touch" "on"
Property 'Wacom Hardware Touch Switch' does not exist on device.
xsetwacom set "10" "Gesture" "off"
xsetwacom set "10" "ZoomDistance" "0"
xsetwacom set "10" "ScrollDistance" "0"
xsetwacom set "10" "TapTime" "250"
Property 'Wacom Proximity Threshold' does not exist on device.
xsetwacom set "10" "Rotate" "none"
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
xsetwacom set "10" "Threshold" "27"
xsetwacom set "10" "BindToSerial" "0"
xsetwacom set "10" "PressureRecalibration" "on"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment