Skip to content

A Single Program to both Enable or Disable Touch Screens and other Input Devices.

License

Notifications You must be signed in to change notification settings

kaivalyar/ToggleTouch

Repository files navigation

ToggleTouch

A linux program to enable/disable touch screens and other input devices. A single command for both enabling and disabling (toggling) is especially useful if used as a custom command for hot-corners or other similar triggers.

Synopsis

This program is designed for linux environments which support the xinput command, like Ubuntu and Linux-Mint. It is especially useful if used in conjuncton with hot-corner triggers such as the ones available with Unity or Cinnamon, on Ubuntu and Linux-Mint respectively. Additionally, the program can be used to control any input device, not just the touch screen.

Setup

To Install:

When installing ToggleTouch for the first time, use these commands. If you just want to update your version, go to the update section instead.

  1. Download the files install-toggletouch.sh and ToggleTouch.sh.
  2. Move the files to your home directory.
  3. Run the command sh install-toggletouch.sh from the terminal.
  4. Enter the root password when prompted.
  5. When asked, inform ToggleTouch of the current state of your touch screen (or other input device).

To Run:

From the terminal, use the command toggletouch to toggle the state of your touchscreen. The same command can be assigned a trigger such as a hot-corner, for greater utility. To configure for other input devices:

  1. Run the xinput command on your terminal.
  2. Note the name of the device you wish to enable/disable from the list displayed.
  3. From the name of your choice, determine a word unique only to this device.
  4. Use the command toggletouch <NAME>, where is a single, unique word enough to identify a line from the output of xinput.

To Update:

If you're using an old version of ToggleTouch, and want to update to a newer version, follow the following commands:

  1. Download the files update-toggletouch.sh and ToggleTouch.sh.
  2. Move the files to your home directory.
  3. Run the command sh update-toggletouch.sh from the terminal.
  4. Enter the root password if prompted.

Contact

If you have any questions, suggestions, or feedback, please feel free to write to kaivalyaraw@gmail.com. I look forward to hearing from you.

License

This project is released under and protected by the MIT License

Copyright © 2016 Kaivalya Rawal

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Single Program to both Enable or Disable Touch Screens and other Input Devices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages