Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Thinkpad X41 tablet PC on which I installed Ubuntu. Everything works fine, including pen input. However, there is a hardware problem which causes the mouse to erratically jump to the bottom of the screen (the problem occurs under both Windows and Linux). It seems to be linked to humidity or static or something. Since it occurs erratically, I need to disable pen input temporarily.

How do I temporarily disable pen input?

I have seen references to xorg.conf, but I do not see anything there related to pen input.

(Begin xorg.conf without comments)

Section "Monitor"
    Identifier  "Configured Monitor"

Section "Screen"
    Identifier  "Default Screen"
    Monitor 	"Configured Monitor"
    Device  	"Configured Video Device"
    SubSection "Display"
        Virtual 2048 1011

Section "Device"
    Identifier  "Configured Video Device"
share|improve this question

migrated from Sep 10 '09 at 14:09

This question came from our site for professional and enthusiast programmers.

xsetwacom is is a command you can enter in a terminal to set parameters of pens, touchpads etc. Try:xsetwacom list dev and then xsetwacom "<your device> Pen stylus" Stylus off

share|improve this answer
The 2nd command is not understood by recent xsetwacom versions, e.g. with 0.25.0 on Fedora 21. – maxschlepzig May 11 '15 at 19:05

You can use xinput to temporarily disable you pen input device.

For example, on a Thinkpad x220t, the input devices are listed as:

$ xinput list
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=16   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=15   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 E6 Pen eraser                 id=18   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 E6 Finger touch               id=13   [slave  pointer  (2)]
⎜   ↳ Wacom ISDv4 E6 Pen stylus                 id=12   [slave  pointer  (2)]

Thus, to disable all display related devices:

$ xinput disable 'Wacom ISDv4 E6 Pen eraser'
$ xinput disable 'Wacom ISDv4 E6 Finger touch'
$ xinput disable 'Wacom ISDv4 E6 Pen stylus'

Since the laptop also has a TrackPoint which is arguably more useful than a TouchPad, it makes sense to disable it, as well:

$ xinput disable 'SynPS/2 Synaptics TouchPad'

Alternatively, the finger touch feature (and only the finger touch feature) can also be disabled with xsetwacom:

$ xsetwacom set 'Wacom ISDv4 E6 Pen stylus' touch off
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.