using - 13.04 64bit
I have run through many websites and forums to get a very simple solution to my original problem - posting this for anyone else who may have the same/similar issue.
I bought a Wacom CTL-470 for my daughter last Christmas (2012) - plugging in the unit we had instant operation, but no access to configuring the buttons on the actual tablet itself. Also I wanted to be able to switch off the touch feature when drawing with the stylus.
I did some searching - discovered that KDE had more options for the config of the wacom - so used that for a while, but I do like Unity - so I gave up, until yesterday when I gave it another shot.
I now have two scripts: wacom-setup.sh and toggle-wacom.sh
wacom-setup.sh is run at boot from the Start-Up Programs (I had to do this as adding these lines to rc.local did not work - any ideas why...?)
toggle-wacom.sh is run at the keyboard command (shift+alt+t)
wacom-setup.sh
Code:
xsetwacom --set "Wacom Bamboo 16FG 4x5 Finger pad" Button 1 "key shift alt t"
xsetwacom --set "Wacom Bamboo 16FG 4x5 Finger pad" Button 3 "key ctrl z"
xsetwacom --set "Wacom Bamboo 16FG 4x5 Finger touch" touch off
toggle-wacom.sh
Code:
#!/bin/bash
## Get the "Device name" or ID number
## for touch from 'xsetwacom list dev'
DEVICE="Wacom Bamboo 16FG 4x5 Finger touch"
TOUCH_STATE=`xsetwacom get "$DEVICE" touch`
if [ "$TOUCH_STATE" == "on" ]; then
echo "Touch is ON, turning OFF."
xsetwacom set "$DEVICE" touch off
else
echo "Touch is OFF, turning ON."
xsetwacom set "$DEVICE" touch on
fi
I haven't used the two buttons in the middle yet, these are numbered 8 and 9 if you want to configure them.
To get the name of your device use:
Code:
xsetwacom --list devices
I also want to mention that I did attempt to make changes in /usr/share/X11/xorg.conf.d/50-wacom.conf to do some of the above. I ran into many problems, the main one being that I was unable to boot my system. I had to go to recovery mode -> enable read/write access and then remove the changes I had made to the 50-wacom.conf file. It seems that X really doesn't like typo's or dodgy settings!!! I decided to stay safe - but would appreciate any advice in this area if there is any to be had.
Bookmarks