Wacom Интуос Тоуч disable button

Running 14.04

I recently bought the Ваком Интуос Пен и Touch and it's working beautifully out of the box, however I often touch the tablet by mistake and it wreaks havoc...

So I figured out how to disable the function, and I know how to make that command permanent, however that's not really what I want эксперт it seems really конечный and not в clean solution.

The command is this:

xsetwacom -v --set 'Wacom Intuos PT S Finger touch' gesture off

And to turn it back on:

xsetwacom -v --set 'Wacom Intuos PT S Finger touch' gesture on

What I would like to make is to have it схвати в рукописный шрифт, and нравьтесь схвати в button on the taskbar (somewhere next to my clock) using which I хан toggle it on and off whenever I need to turn it back on.

Хан anyone help with this? Cheers!

2
задан 7 November 2015 в 13:31

1 ответ

Ну, с коллеги помогают, у меня есть сценарий теперь, когда переключают функция прикосновения вкл\выкл, теперь я хотел бы иметь возможность так или иначе сделать ее, поскольку пользовательский индикатор на панели задач... вот - кодекс для сценария:

#!/bin/bash
device="Wacom Intuos PT S Finger touch"

state="`xsetwacom --get "$device" gesture`"
if [ "$state" = "on" ] ; then
    xsetwacom --set "$device" gesture off
    echo "gesture = off"
else
    xsetwacom --set "$device" gesture on
    echo "gesture = on"
fi
1
ответ дан 2 December 2019 в 05:00

Другие вопросы по тегам:

Похожие вопросы: