Showing posts with label wacom. Show all posts
Showing posts with label wacom. Show all posts

Monday, April 1, 2013

Script to initialise Wacom Intuos 5

To round out the setup for my Wacom Intuos 5 tablet, this is the script I run to initialise it for left-handed use with an nVidia graphics card in Xubuntu 12.10:

#!/bin/bash if [ -x /usr/bin/xsetwacom ]; then xsetwacom set "Wacom Intuos5 M Pen stylus" Rotate half xsetwacom set "Wacom Intuos5 M Pen eraser" Rotate half xsetwacom set "Wacom Intuos5 M Pen cursor" Rotate half xsetwacom set "Wacom Intuos5 M Pen pad" Rotate half # HEAD-0, HEAD-1 identify screens when using nVidia graphics. # Use xrandr output for AMD, Intel, etc. xsetwacom set "Wacom Intuos5 M Pen stylus" MapToOutput HEAD-0 fi

Thursday, January 17, 2013

Run Script Automaticaly with LinuxMint Cinnamon

I worked out how to automatically run my Wacom tablet setup script in Xubuntu, but in Cinnamon none of those options worked.

Eventually I found the .config/autostart directory and modified an existing .desktop file to start the script. This is what I came up with (I assume the file can be called anything, I just called it xsetwacom.desktop):

[Desktop Entry]
Type=Application
Name=xsetwacom
Exec=/home/<username>/.xsetwacom.sh
Terminal=false
Icon=terminal
Comment=Set up the Wacom tablet rotation
Categories=Utility;Application;

(Then I found this post that describes how to do it graphically, which might be easier.)

Sunday, November 4, 2012

Wacom Intuos 5 Rotation

To rotate the Intuos 5 for sinister left-handed people:

$ xsetwacom set "Wacom Intuos5 M Pen stylus" Rotate half
$ xsetwacom set "Wacom Intuos5 M Pen eraser" Rotate half
$ xsetwacom set "Wacom Intuos5 M Pen cursor" Rotate half
$ xsetwacom set "Wacom Intuos5 M Pen pad" Rotate half

To get these commands to run at startup, I added them to $HOME/.profile (after trying .bashrc and .Xsession, neither of which worked [running Xubuntu]).

Adapted from notes at linuxwacom sourceforge site.

Dual-screen Setup

(Updated 24 Feb 2013)

After getting an nVidia GPU, I had much more luck getting dual-monitors to work than with either AMD or Intel graphics. By default though the tablet will span across all monitors. If you want to reduce this to a single monitor, do this:

$ xsetwacom set "Wacom Intuos5 M Pen stylus" MapToOutput HEAD-0

Note: if you're not using nVidia drivers, the output of xrandr will give you the names of your screens, rather than HEAD-0, HEAD-1, etc. as shown above.