This is a gem! I don't know how many times I have accidentally brushed at the 
touchpad while typing and moved the cursor to somewhere it shouldn't be or 
deleted text. Maybe one could write a daemon that disables the touchpad n 
seconds after the any-key has been pressed... :)

/fuumind

On Wed, 27 Apr 2016 13:22:28 -0400
Steve Litt <sl...@troubleshooters.com> wrote:

> On Wed, 27 Apr 2016 11:25:19 +0200
> aitor_czr <aitor_...@gnuinos.org> wrote:
> 
> > On 04/27/2016 11:21 AM, aitor_czr wrote:
> > > If so, try doing:
> > > synclient TouchpadOff=1
> > >
> > > for enabling the touchpad, and:
> > >
> > > synclient TouchpadOff=0
> > >
> > > for disabling it.  
> > 
> > Sorry, it's in the other way around:
> > 
> > synclient TouchpadOff=0
> > 
> > enables the touchpad :)
> 
> And for even more fun, here's the "touchtoggle" shellscript I put on
> every laptop, linked to hotkey Ctrl+Shift+j:
> 
> =============================================
> #!/bin/sh
> 
> curstate=`synclient | grep -i TouchpadOff | sed -e"s/.*= //"`
> if test "$curstate" = "1"; then
>       synclient TouchpadOff=0
> else
>       synclient TouchpadOff=1
> fi
> =============================================
> 
> 
> SteveT
> 
> Steve Litt 
> April 2016 featured book: Rapid Learning for the 21st Century
> http://www.troubleshooters.com/rl21
> _______________________________________________
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


-- 

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to