:: Re: [DNG] Tochpad scrolling on devu…
Góra strony
Delete this message
Reply to this message
Autor: Steve Litt
Data:  
Dla: dng
Temat: Re: [DNG] Tochpad scrolling on devuan
On Wed, 27 Apr 2016 11:25:19 +0200
aitor_czr <aitor_czr@???> 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