Last active
April 26, 2018 14:54
-
-
Save i-e-b/2894651 to your computer and use it in GitHub Desktop.
.xinitrc for my Wacom Intuos 3 using xsetwacom
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
#!/bin/bash | |
# Map caps->esc | |
xmodmap -e 'clear lock' | |
xmodmap -e 'keycode 0x42 = Escape' | |
# Stylus stuff | |
# Set pad working area for pen. was 0 0 54204 31750; this is for screen of 2560 x 1024 | |
xsetwacom --set "Wacom Intuos3 6x11 stylus" area "0 0 54204 21682" | |
# upper pen button double click | |
xsetwacom --set "Wacom Intuos3 6x11 stylus" Button 3 "button 1 button 1" | |
# lower pen button right click | |
xsetwacom --set "Wacom Intuos3 6x11 stylus" Button 2 3 | |
# Pad stuff | |
# set 'normal' direction scrolling on both touch pads | |
# to get 'old skool X' physical direction scrolling, swap the "button 4" and "button 5" calls | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripLeftUp "button 4" | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripLeftDown "button 5" | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripRightUp "button 4" | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripRightDown "button 5" | |
# Multiple screens | |
xrandr --output HDMI1 --right-of VGA1 |
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
#!/bin/bash | |
# Stylus stuff | |
# Set pad working area for pen. was 0 0 54204 31750; this is for screen of 2560 x 1024 | |
xsetwacom --set "Wacom Intuos3 6x11 stylus" area "0 0 54204 21682" | |
# upper pen button double click | |
xsetwacom --set "Wacom Intuos3 6x11 stylus" Button 3 "button 1 button 1" | |
# lower pen button right click | |
xsetwacom --set "Wacom Intuos3 6x11 stylus" Button 2 "Button 3" | |
# Pad stuff | |
# set 'normal' direction scrolling on both touch pads | |
# to get 'old skool X' physical direction scrolling, swap the "button 4" and "button 5" calls | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripLeftUp "button 4" | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripLeftDown "button 5" | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripRightUp "button 4" | |
xsetwacom --set "Wacom Intuos3 6x11 pad" StripRightDown "button 5" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SO I finally found out what the problem was.
I just had to completely turn off the Gnome Wacom utility and just use the xsetwacom utility, otherwise the Gnome utility blocks all mouse buttons events from being triggered from the pad buttons. The issue is specified here:
https://github.com/linuxwacom/xf86-input-wacom/wiki/Consumer-Tablet-ExpressKey-Mapping-Issue