How to turn off touch-pad, when mouse is plugged in?

6 respuestas [Último envío]
AdamHoles
Desconectado/a
se unió: 05/16/2018

I don't know, how to automatically turn off the built-in touch-pad of my laptop running Trisquel, when an external mouse is plugged in to one of the USB-sockets of the same laptop running Trisquel?
I can do that in Ubuntu and Windows 10, but not in Trisquel.

jxself
Desconectado/a
se unió: 09/13/2010

The same methods for Ubuntu 16.04 LTS (Xenial Xerus) should also work here. While looking on the internet I see that someone made a custom udev rule for example.

AdamHoles
Desconectado/a
se unió: 05/16/2018

https://askubuntu.com/questions/787433/how-do-i-disable-touchpad-when-using-a-mouse
Accoriding to the above mentioned guide, in Trisquel Flidas terminal I typed this, with no effect. But in Ubuntu Focal, it has effect.
adam@tristquel:~$ gsettings get org.gnome.desktop.peripherals.touchpad send-events
'enabled'
adam@tristquel:~$ gsettings set org.gnome.desktop.peripherals.touchpad send-events disabled-on-external-mouse
adam@tristquel:~$ gsettings get org.gnome.desktop.peripherals.touchpad send-events
'disabled-on-external-mouse'
adam@tristquel:~$

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I have just set that key through "dconf Editor", on Trisquel 8. It works... but I use GNOME Shell, which is Ubuntu's default. Trisquel ships with MATE, a GNOME 2 derivative. If you want to give GNOME Shell a try: https://trisquel.info/en/wiki/installing-gnome-shell

nadebula.1984
Desconectado/a
se unió: 05/01/2018

There is such feature in KDE (distribution independent) though not enabled by default. I believe that it should work with any other desktop environments.

Though I usually manually enable or disable input devices (keyboard, mouse, touch pad, touch screen, digitizer pen, other gaming console controller, etc.) using xinput.

amenex
Desconectado/a
se unió: 01/03/2015

On my flidas OS Desktop, under System/Preferences/Hardware, there's a selection called "Mouse"
where there's a menu with "General" at the top (highlighted) and "Touchpad." You'll want to make
sure that the Touchpad is _not_ "enabled."

George Langford

AdamHoles
Desconectado/a
se unió: 05/16/2018

I unchecked enable mouse clicking by touch-pad on the control panel that you wrote.
That's enough for me, because this way I don't accidentally click with the mouse, when I type.
I don't fully turned off touch-pad.
But I asked for advice on how to automatically disable (fully turn off) the touch-pad, when the mouse is plugged in.
And when I unplug the mouse, turn it back on.
Is it possible in Trisquel Flidas?