<div dir="ltr">While working on this script part have you tried <div><br></div><div>Programs --> Settings --? Mouse and Touchpad --> Touchpad (tab)</div><div><br></div><div>and check the "Disable touchpad while typing" option.</div><div><br></div><div>That aside... sounds like the script, xinput.." command needs to query the device id so that it grows with the OS.</div><div><br></div><div>Lastly, perhaps the word struggling should be changed out with contributing. You are correct that easier methods should be available for many little tweaks and tricks used in any OS. As a community, we are the R&D department for Linux. You are doing well to stick with it and your efforts are appreciated.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 2:27 AM, Thomas Blasejewicz <span dir="ltr"><<a href="mailto:nyuwa@hb.tp1.jp" target="_blank">nyuwa@hb.tp1.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016/03/30 4:09, Steve Litt wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Wed, 30 Mar 2016 02:22:04 +0900<br>
Thomas <<a href="mailto:nyuwa@hb.tp1.jp" target="_blank">nyuwa@hb.tp1.jp</a>> wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On 2016年03月28日 07:49, Steve Litt wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Sun, 27 Mar 2016 19:06:57 +0900<br>
Thomas <<a href="mailto:nyuwa@hb.tp1.jp" target="_blank">nyuwa@hb.tp1.jp</a>> wrote:<br>
<br>
<br>
#!/bin/bash<br>
<br>
curstate=`synclient | grep -i TouchpadOff | sed -e"s/.*= //"`<br>
<br>
if test "$curstate" = "1"; then<br>
<br>
synclient TouchpadOff=0<br>
<br>
else<br>
<br>
synclient TouchpadOff=1<br>
<br>
fi<br>
<br>
<br></span><span class="">
What you have left now is just some troubleshooting. Start by seeing if<br>
the command works without a hotkey, by typing the word touchtoggle<br>
followed by the Enter key at the command prompt, and seeing whether it<br>
turns on and off the touchpad. Make sure the touchtoggle file is<br>
permissioned as executable by all. If it's permissioned executable for<br>
all and still doesn't toggle the touchpad state, you need to start<br>
experimenting with the individual "synclient TouchpadOff=0" and<br>
"synclient TouchpadOff=1" commands at the command prompt.<br>
</span></blockquote></blockquote></blockquote>
I tried running "synclient TouchpadOff=0" in a terminal.<br>
That gives me the error message:<br>
"Couldn't find synaptics properties. No synaptics driver loaded?"<br>
Using Package Manager I looked for "synclient". There was ONE package installed<br>
and I added the only other apparently related package (xserver-xorg-input-synaptics dbg 1.8.2-ubuntu1)<br>
<br>
That did not change anything.<br>
<br>
Somebody else previously suggested using the commands:<br>
"xinput set-prop 14 "Device Enabled" 0 (to disable and 1 to enable)"<br>
THAT command actually works.<br>
Device ID: here "14".<br>
A few days ago I tried to "update" my system, made a mistake somewhere and ended up with an "upgrade" to 15.10.<br>
(lots of trouble with that one too)<br>
BEFORE the upgrade the same device had the ID "12". AFTER the upgrade the same device suddenly has the ID "14".<br>
<br>
With the above command I am supposed to create a ".desktop" file under /usr/local/share/applications/<br>
(have not yet figured out how to do that)<br>
and then create a shortcut (hotkey) to that file.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This sounds like a real pain in the posterior,<br>
</blockquote></span>
Indeed. There REALLY should be something more easy to accomplish this everyday task.<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
but the more you do this<br>
kind of troubleshooting, the more proficient you get, until, one day in<br>
the near future, people start saying "Go to Thomas, he can fix<br>
anything."<br>
<br>
</blockquote></span>
Thank you for your kind words. Apparently I am not doing very well.<br>
I am struggling to "get friendly" with Linux for about 8 years with rather little success.<br>
The posts here make that clear I think.<span class="HOEnZb"><font color="#888888"><br>
Thomas</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
xubuntu-users mailing list<br>
<a href="mailto:xubuntu-users@lists.ubuntu.com" target="_blank">xubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/xubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/xubuntu-users</a><br>
</div></div></blockquote></div><br></div>