I don't use my touchpad often and when I'm typing on the keyboard it sometimes happens that my hand touches it and the cursor gets clicked which is annoying. That's why I push the touchpad-disable-button on each startup.
However, I still need the touchpad occasionally so I don't want to disable it completely.
Is there a way that touchpad-disable-button is automatically activated when I start my linux machine?
EDIT: I installed "xdotool" to simulate a keypress and I found out the particular key to toggle the touchpad is called "XF86TouchpadToggle", but unfortunately when I type "xdotool key XF86TouchpadToggle" in the terminal the LED of the key doesn't go on to and the touchpad is still enabled. This is strange since I can press any other, normal key with this method. For example "xdotool key q" types a 'q' in the terminal.
xbindkeys
or similar to run an xinput-based toggling command when the button is pressed. There's a risk that this “software switch” will run out of synch with the hardware switch however. – Gilles 'SO- stop being evil' Feb 17 '16 at 10:08