Last active
December 31, 2021 13:48
-
-
Save gbaptista/85073ee4b8c78c329bd213a0d635f51e to your computer and use it in GitHub Desktop.
Wacom Intuos with Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AWESOME documentation! > https://wiki.archlinux.org/index.php/Wacom_Tablet | |
xsetwacom --list | |
# Wacom Intuos S 2 Pad pad id: 11 type: PAD | |
# Wacom Intuos S 2 Pen stylus id: 10 type: STYLUS | |
xsetwacom set 10 mode relative | |
xsetwacom set 10 mode absolute | |
xsetwacom --get 10 Area | |
# 0 0 15200 9500 | |
# 15200 / 11.25 = 1351.11 | |
# 9500 / 11.25 = 844.44 | |
# Current resolution = 1351.11 x 844.44 | |
# Your monitor resolution = 1600 x 900 | |
# 1600 * 11.25 = 18000 | |
# 900 * 11.25 = 10125 | |
xsetwacom --set 10 Area 0 0 18000 10125 | |
# OR | |
# Original Table - 15200 9500 | Monitor aspect Ratio - 16:9 | |
# 16 * 950 = 15200 | |
# 9 * 950 = 8550 | |
xsetwacom --set 10 Area 0 0 15200 8550 # Works great! | |
xsetwacom --set 10 MapToOutput "VGA1" | |
# Discover button codes. | |
xev | grep KeyPress -A 5 | |
xsetwacom --set 11 Button 3 "key 1" | |
xsetwacom --set 11 Button 1 "key 2" | |
xsetwacom --set 11 Button 9 "key 2" | |
xsetwacom --set 11 Button 8 "key 3" | |
# My Personal Setup: | |
xsetwacom --set 10 MapToOutput "VGA1" | |
xsetwacom set 10 mode absolute | |
xsetwacom --set 10 Area 0 0 15200 8550 | |
# Work | |
xsetwacom --set 11 Button 3 "key +ctrl" | |
xsetwacom --set 11 Button 1 "key +shift" | |
xsetwacom --set 11 Button 9 "key B" | |
xsetwacom --set 11 Button 8 "key R" | |
# Practice | |
xsetwacom --set 11 Button 3 "key +ctrl" | |
xsetwacom --set 11 Button 1 "key +ctrl z -ctrl" | |
xsetwacom --set 11 Button 9 "key B" | |
xsetwacom --set 11 Button 8 "key R" | |
# Pen 1 = Left Click | |
# Pen 2 = Right Click | |
# Table 1 = Ctrl | |
# Table 2 = Shift | |
# Table 1 = B | |
# Table 2 = R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment