I'm using TV Paint on Ubuntu 11.4 I have 2 displays my Laptop(LVDS1) and another display (VGA1).
I have made a way to "Display Toggle" between the 2 displays.
1) save this script for example in the file "~/wacom_displayToggle.sh"
Code: Select all
#!/bin/sh
temp="$HOME/wacom_displayToggle.tmp"
display=`head -1 $temp`
echo "$display"
if [ $display = "LVDS1" ]
then
echo "VGA1">"$temp"
xsetwacom set "Wacom Intuos4 8x13 stylus" MapToOutput VGA1
fi
if [ $display != "LVDS1" ]
then
echo "LVDS1">"$temp"
xsetwacom set "Wacom Intuos4 8x13 stylus" MapToOutput LVDS1
fi
2) in System>Preferences>Keyboard Shortcuts
add a new
name: TDisplay Toggle
Command sh /home/your user name/wacom_displayToggle.sh
assign a short cut I have choosen "f10"
3) run this command in terminal
Code: Select all
xsetwacom set "Wacom Intuos4 8x13 stylus" Button 3 "key f10"
I dont know if there is a smarter way. please say if so but I just wan't to share this if anybody is interested.
And maybe I can learn something from the comments
-Mads