5

I've searched beforehand and the only suggestion I've found is this one but it doesn't work, at least not on my system (Ubuntu Unity 14.04 x64).

I need to disable the touch on my WACOM Bamboo Manga CTH-470 tablet so only the pen tip and eraser are recognized and not my hand when I accidentally touch it.

I know of this temporary solution:

xsetwacom --list

to list the output of the tablet (example)

inoki@innerdistance-Satellite-L650:~$ xsetwacom --list Wacom Bamboo 16FG 4x5 Pen stylus id: 11 type: STYLUS
Wacom Bamboo 16FG 4x5 Finger touch id: 12 type: TOUCH
Wacom Bamboo 16FG 4x5 Pen eraser id: 16 type: ERASER
Wacom Bamboo 16FG 4x5 Finger pad id: 17 type: PAD

then

xsetwacom --set # touch off

Using

inoki@innerdistance-Satellite-L650:~$ xsetwacom --list | grep TOUCH | cut -d ' ' -f 8 TOUCH inoki@innerdistance-Satellite-L650:~$

has shown only the "TOUCH" word exactly as above.

I need to make it permanent, so I don't have to insert the command every time I want to work with my tablet.

SNH
  • 1,003

3 Answers3

6

in my case worked this:

xsetwacom -v --set 'Wacom Intuos Pro M (WL) Finger touch' gesture off

test

xsetwacom -v --set 'Wacom Bamboo 16FG 4x5 Finger touch' gesture off
αғsнιη
  • 36,350
doiar
  • 76
6

Rather than rely on fixed character positions and cut, you could use sed instead, like this:

xsetwacom --set `xsetwacom --list | grep TOUCH | sed -r "s/.*id: *([0-9]*).*/\1/"` touch off
user2154526
  • 61
  • 1
  • 1
1

First off, you still need to add the new command to your autostart configuration so that it's disabled to start with:

xsetwacom --set `xsetwacom --list | grep TOUCH | cut -c 40-42` touch off

Then try putting the following into a new file: /etc/pm/power.d/99_touchdisable:

#!/bin/bash

ac_power ()
{
    xsetwacom --set `xsetwacom --list | grep TOUCH | cut -c 40-42` touch off
}

battery_power ()
{
    xsetwacom --set `xsetwacom --list | grep TOUCH | cut -c 40-42` touch off
}

Then run sudo chmod 755 /etc/pm/power.d/99_touchdisable

Restart your tablet and try unplugging/plugging in your tablet.

If it doesn't work, check to see if you have different power profiles enabled. If it still isn't working, run sudo apt-get install pm-utils and try running sudo pm-powersave <true/false> to get it to run the script.

SNH
  • 1,003
hal7df
  • 656