[xubuntu-users] toggle touchpad ON/OFF
Thomas
nyuwa at hb.tp1.jp
Tue Mar 29 17:22:04 UTC 2016
On 2016年03月28日 07:49, Steve Litt wrote:
> On Sun, 27 Mar 2016 19:06:57 +0900
> Thomas <nyuwa at hb.tp1.jp> wrote:
>
>
> #!/bin/bash
>
> curstate=`synclient | grep -i TouchpadOff | sed -e"s/.*= //"`
>
> if test "$curstate" = "1"; then
>
> synclient TouchpadOff=0
>
> else
>
> synclient TouchpadOff=1
>
> fi
>
>
> Copy those lines into a file, located on the executable path, called*
> "touchtoggle". Chmod a+x touchtoggle.
>
> Now, using your window manager, assign a hotkey to run touchtoggle.
> Once you've done that, hitting the hotkey switches the touchpad to
> "off". Hitting the hotkey once more switches it back to "on", over and
> over, forever and ever.
I am afraid, I am still not able to make it work.
* Created a file with above lines
- the "Chmod a+x touchtoggle" did work only with a lower case c in chmod
* After some googling I finally found out how to copy that file into
/usr/bin/
* File properties -> Permissions -> allow this file to run as a program
-> However, right clicking on the file does not show the item "execute"
-> In the past I tried to create a shortcut key to toggle the touchpad
(which did not work):
* "/usr/bin/touch" -> Crtl + Win + P
-> Changed this command now to "/usr/bin/touchtoggle"
Still .. nothing happens.
I assume there is very simple trick that I am just not seeing.
> This being Xubuntu's mailing list, I imagine you're using Xfce. Good
> choice. If Xfce works the same as it did in 2012, the following
> instructions should work:
>
> http://www.troubleshooters.com/lpm/201206/201206.htm#_Hotkeys
>
>
Yes, I am using xubuntu Xfce, but only because I am trying to use
"tuxtrans", which is based on the former.
I wanted to try the large number of tools for translators that come with
tuxtrans, but have not yet really had time to play.
The most important tool for me as a translator = dictionaries, is
something where Linux does not seem to have
anything suitable for the "regular Joe" like me.
Therefore I have been advised to stop asking questions and go back to
Windows ...
Nevertheless .. I still want to know how to do the "toggle touchpad" trick.
Thomas
More information about the xubuntu-users
mailing list