Map graphics tablet to a output
The general command form to map the tablet's input area to the given output is:
xsetwacom --set $DEVICE MapToOutput $OUTPUT
Where $DEVICE is the name of the tablet's device as given by the xsetwacom --list command, and $OUTPUT is the name of the output as given by the xrandr command.
Once this command is issued, the desktop cursor will remain within the boundaries of the selected output when the tablet's pen is moved.
Example:
First, find out the name of the device:
$ xsetwacom --list
Wacom Bamboo1 stylus id: 20 type: STYLUS
Wacom Bamboo1 eraser id: 21 type: ERASER
Wacom Bamboo1 cursor id: 22 type: CURSOR
Wacom Bamboo1 stylus id: 20 type: STYLUS
Wacom Bamboo1 eraser id: 21 type: ERASER
Wacom Bamboo1 cursor id: 22 type: CURSOR
In this example the graphics tablet has 3 devices, so we'll map them all to a specific output:
$ xsetwacom --set "Wacom Bamboo1 stylus" MapToOutput "VGA1"
$ xsetwacom --set "Wacom Bamboo1 eraser" MapToOutput "VGA1"
$ xsetwacom --set "Wacom Bamboo1 cursor" MapToOutput "VGA1"
$ xsetwacom --set "Wacom Bamboo1 eraser" MapToOutput "VGA1"
$ xsetwacom --set "Wacom Bamboo1 cursor" MapToOutput "VGA1"
References
http://en.wikipedia.org/wiki/Graphics_tabletUbuntu Manpage: xsetwacom
Comments
Post a Comment