Couldn't get xsetwacom (or xorg.conf mods) to work to set button-2 on my Wacom stylus to double-click.
An archived thread titled "Doubleclicking with a Wacom stylus doesn't work" at http://ubuntuforums.org/showthread.php?t=418203 was unresolved, and a few other threads covered the same topics, but none seemed to rank as high on google. Most notably, the official bug report at: https://bugs.launchpad.net/ubuntu/+s...ls/+bug/112310
Anyway, I've found a workaround and thought it might be helpful to share with others. The core problem still exists (see the bug for more details). Until it's fixed, this worked for me:
Background:
See http://linuxwacom.sourceforge.net/in...owto/xsetwacom for general instructions on xsetwacom (and xorg mods)
See https://bugs.launchpad.net/ubuntu/+s...ls/+bug/112310 and others for bug description (even the 196609 trick didn't work)
Resolution:
I followed http://ubuntuforums.org/showthread.php?t=316441 and did the following to "emulate" a double-click with button-2:
First of all, set button2 back to button-2 if modified:
Install stuff (as root) (sorry, I'm a debian guy, but the original thread was in this ubuntu forum, so I thought I'd post my resolution here; modify as you wish):xsetwacom set stylus "button2" "button 2"
Note that xautomation includes xte, which is what we use below.aptitude install xautomation xbindkeys
create/edit ~/.xbindkeysrc for user:
start xbindkeys, to test:"/usr/bin/xte 'mouseup 2' 'mouseclick 1' 'mouseclick 1' &"
b:2
try button-2, see if it works. If so, addxbindkeys -n -v
to your x startup script, whatever it might be (e.g., for me, it's ~/.config/openbox/autostart.sh), and you're good to go.xbindkeys &
Hope it works for you as it is for me.
Bookmarks