Recently for some unbeknownst reason my AlpsPS/2 ALPS GlidePoint touchpad is disabled when logging into my account in KDE. If I login to other accounts it works fine. The only way to enable the touchpad is to run xinput enable 13 but of course it reverts to being disabled after reboot. Does anyone know how to make KDE keep the touchpad enabled after logout or reboots?
And if you go to menu / Configure Desktop / Hardware / Input Devices / Touchpad, what options do you get there? You can write a bash script, place it in $HOME/bin as the file et (Enable Touchpad) that has only:
#!/bin/bash
xinput enable 13
In it, then use this command to mark it executable:
chmod +x $HOME/bin/et
You can then go to menu / Configure Desktop / System Administration / Startup and Shutdown / Autostart / Add Script and seach and find your et script in ~/bin. It then gets run on each login to KDE automatically.
I checked out the KDE Configure Desktop and the touchpad doesn’t have any kind of on/off switch. I was wondering why it seemed to disable when KDE logged in so I checked xinput and the id of my touchpad was 13. I wrote the script you suggested and rebooted and the mouse still didn’t work. Turns out it was now on ID 14. Here is a dump of xinput:
So I have no idea why the devices are swapping around their ID’s. I added several of the ID’s to the script you suggested but it doesn’t work on startup or when set to pre-kde startup.
Correction: I added the script as a program in Configure Desktop > Startup and Shutdown > Autostart and it works fine. I just added xinput enable for both 13 and 14 since they keep switching.
Sounds like you got it fixed then. Adding in and becoming a different user may also work as you suggest, but this is less trouble if it keeps working for you. Happy to hear you found the solution.