Ask Your Question

Revision history [back]

Disable touchscreen on Fedora 24

Hi *,

when i try to disable the touchscreen as described in this question link the touchpad in my ThinkPad will also be disabled. I'm using Fedora 24, no modifications to X11. Is there another way than execute everytime xinput disable 9 (the only i found till now)?

Software:
libinput.x86_64: 1.5.0-1.fc24
xorg-x11-drv-libinput.x86_64: 0.19.0-2.fc24

libevdev.x86_64: 1.5.4-1.fc24
xorg-x11-drv-evdev.x86_64: 2.10.3-1.fc24

xinput:
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=13   [slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen                          id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated Camera                         id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=14   [slave  keyboard (3)]

Disable touchscreen on Fedora 24

Hi *,

when i try to disable the touchscreen as described in this question link the touchpad in my ThinkPad will also be disabled. I'm using Fedora 24, no modifications to X11. Is there another way than execute everytime xinput disable 9 (the only i found till now)?

Software:
libinput.x86_64: 1.5.0-1.fc24
xorg-x11-drv-libinput.x86_64: 0.19.0-2.fc24

libevdev.x86_64: 1.5.4-1.fc24
xorg-x11-drv-evdev.x86_64: 2.10.3-1.fc24

xinput:
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=12   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                     id=13   [slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen                          id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Sleep Button                              id=8    [slave  keyboard (3)]
    ↳ Integrated Camera                         id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                    id=14   [slave  keyboard (3)]

EDIT: I fixed the problem by adding

ID=$(xinput list | grep "ELAN Touchscreen" | tr -cd '[[:digit:]]' | cut -f1 -d '[')
xinput disable $ID

to my $HOME/.zlogin.