thinkpad-touch¶
enable/disable the touch screen
Author: | Jim Turner <jturner314@gmail.com> |
---|---|
Manual section: | 1 |
Synopsis¶
thinkpad-touch [on|off]
Description¶
This program enables/disables the touch screen of the ThinkPad tablet. If no option is given, it toggles the touch screen on/off.
Options¶
- on|off
If you want to enable the touch screen, use
on
. Otherwise useoff
.If you omit this option, the script will toggle the touch screen on/off.
Exit Status¶
- 0
- Everything okay.
- 1
- Some error.
Config¶
In the configuration file, you can set the xinput
name of the touch screen.
The ThinkPad X220 Tablet has Wacom ISDv4 E6 Finger touch
for instance:
[input]
touchscreen_device = Wacom ISDv4 E6 Finger touch
Examples¶
You can just call thinkpad-touch
to toggle the touch screen; otherwise
state on/off explicitly with thinkpad-touch on
or thinkpad-touch off
.
Epilogue¶
This file is part of thinkpad-scripts by Martin Ueding and Jim Turner.
We hope that this collection of scripts is useful to you. If you experience bugs, find the documentation lacking or have a new kind of hardware that we do not yet support, feel free to open an issue on GitHub or write an email to Martin Ueding.
See also
- GitHub Repository
- project website.
- Hosted documentation (via Read the Docs)