[ubuntu-uk] wacom tablets

norman norman at littletank.org
Tue Jun 16 19:53:04 BST 2009

Continuing my research I came across something very interesting from a
contributor to  http://forum.meetthegimp.org/index.php in response to my
wish to have a button for shift and one for Ctrl. The author, who uses
openSUSE 10.3 thought the following code, to be entered into xinitrc,
would work in Ubuntu.

# Define the Bamboo buttons
 if [ -x /usr/local/bin/xsetwacom ]; then
   /usr/local/bin/xsetwacom set Pad AbsWDn "Button 5"	
   /usr/local/bin/xsetwacom set Pad AbsWUp "Button 4"	
   /usr/local/bin/xsetwacom set Pad Button1 "Button 1"
   /usr/local/bin/xsetwacom set Pad Button2 "CORE KEY  SHIFT"	 
   /usr/local/bin/xsetwacom set Pad Button3 "Button 3"		
   /usr/local/bin/xsetwacom set Pad Button4 "CORE KEY  CTRL"	

   /usr/local/bin/xsetwacom set Stylus TPCButton "off"	
   /usr/local/bin/xsetwacom set Stylus mode "Absolute"	
   /usr/local/bin/xsetwacom set Stylus Button1 "Button 1"	
   /usr/local/bin/xsetwacom set Stylus Button2 "Button 3"	
   /usr/local/bin/xsetwacom set Stylus Button3 "Button 2"	
I checked and found that, in Ubuntu 9.04, we have xinitrc but not
xsetwacom. I presume there must be the equivalent to wsetwacom somewhere
and probably not in /usr/local/bin.

I would be grateful for comments from anyone who understands this code
and how it would need to be modified to work in Ubuntu 9.04.


More information about the ubuntu-uk mailing list