Israel, I had the same reaction to Basil's suggestion. But, I overlooked
how he said a value of zero means "touchpad off." I think that would
satisfy resource sensitive people (the target audience of Lubuntu?).

If I'm not using a real mouse (and needed the touchpad), reducing its
sensitivity while typing would be a blessing. Maybe it's just me, but my
mouse cursor (and focus) are *all over the place* while I type with the
touchpad on. I can't get anything done. I prefer an external mouse (and
touchpad off). But, sometimes it's handy to use the touchpad than to lug a
mouse around with you.

My thing is: I wish it could be a UI in the menu->preferences/settings.
Then new users would have a reasonable chance of finding it. But, I know
that adds to someone's work.

There is a touchpad-indicator[1] package (with a UI, sits in the taskbar).

[1] sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator

On Sat, Sep 10, 2016 at 8:11 AM, Israel <israeld...@gmail.com> wrote:

> On 09/07/2016 04:24 PM, Basil Fernie wrote:
>
>> This is beginning to sound rather easy to implement: have a little
>> listener process monitoring keyboard activity.. whenever a key is pressed,
>> the touchpad is automatically set "off" for say 500-600ms, after which it
>> is set "on" again. No need to fiddle with drivers, key-combos... User must
>> be able to set delay, with delay=0 meaning touchpad permanently off.
>>
>> Any takers?
>>
>> Basil
>>
> ...
> Hi Basil,
> This would be an OK idea, and easy to implement, but the issue you run
> into is having a near continual 'sleep' going, which eats memory.
> You could write a program to do this but I think a touchpad toggle script
> is easier, and makes more sense, as well as saves your resources:
>
> #!/bin/bash
> CURRENT=$(synclient |grep TouchpadOff)
> # get the current touchpadoff value... 0 is on 1 is off
> if [[ "${CURRENT/0}" != "$CURRENT" ]]
> then
>   #  touchpad is on, so turn it off
>   synclient TouchpadOff=1
> else
>   # touchpad is off, so  turn it on
>   synclient TouchpadOff=0
> fi
>
> Just simply make this an executable file and edit your openbox config file
> to make a shortcut to run this script
> It is simple and easy.  It automatically turns it off OR on depending on
> the current state.
>
> --
> Regards
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/lubuntu-users
>
-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users

Reply via email to