Skip to content

What is the best way to disable the touchscreen on a laptop running arch?

9 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
9 · 100% up
Kind
Text
ID
489p98

Author

31
posts
11
comments
5
media
View profile

6 comments

 # /etc/modprobe.d/modprobe.conf
 blacklist usbtouchscreen

I would just blacklist the universal module, as shown above.

4 points

edit: my answer is completely irrelevant. misunderstood the question...

#!/bin/bash

which synclient >/dev/null 2>&1 || exit
if [[ $1 == "on" ]]; then
    synclient TouchpadOff=0
elif [[ $1 == "off" ]]; then
    synclient TouchpadOff=1
fi
1 points

He asked for the touch screen, not the touch pad, or am I missing something?

1 points

oh yes, sorry. never thought of having a touch screen on a laptop...

1 points

Well, I did this mine so I could clean the screen without clicking on stiff randomly, but I can't remember exactly what I did. I think it may have been as simple as unchecking a box somewhere. I will take a look and see if I can figure out what I did.

Edit: looks like I just unchecked the "enable this device" under the mouse and touchpad settings in xfce. Is this the best way? Dunno, but it was simple, convenient, easy to reverse, and doesn't require logging out or restarting either the machine or just X.

Edit 2: Some googling turned up this: http://unix.stackexchange.com/questions/127443/how-do-i-disable-the-touch-screen-on-my-laptop

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.