With Touchpad Indicator you can enable or disable the touchpad, with shortcuts or by clicking on menu. Besides, it enables or disables the touchpad, when the computer returns from hibernation.
For more information, please visit our website: https://www.atareao.es/aplicacion/touchpad-indicator-para-ubuntu/
Required dependencies:
gir1.2-gtk-3.0,
gir1.2-gdkpixbuf-2.0,
gir1.2-appindicator3-0.1,
gir1.2-notify-0.7,
gir1.2-gconf-2.0,
gir1.2-rsvg-2.0,
python3-xlib,
python3-pyudev,
python3-dbus,
xinput
sudo add-apt-repository ppa:atareao/atareao
sudo apt update
sudo apt install touchpad-indicator