![]() Registered Member ![]()
|
Hello,
the following script
placed in
Is not run. The other one has code to disable the trackpad
Can someone explain as to why? It drives me nuts. If I manually run the command or the script it disables the trackpad but the script does not run on startup to do it automatically. |
![]() Manager ![]()
|
you can disable trackpad when mouse is plugged in in systemsettings
no idea 'cause I don't write scripts, but: 1) I would have the 2nd script write a time stamp to file just to make sure it ran (or some other confirmation) 2) I would try sh instead of exec (and no I don't know the diff) 3) I would use /bin/sh instead of /bin/exec is both (again don't know the diff) 3) I would put everything in 1 script 4) I would add a sleep just in case there was a timing issue yeah I tend to throw thing against the wall to see what sticks ![]() |
![]() ![]()
|
The autostart folder is for desktop services (*.desktop files), scripts are sourced from ~/.config/plasma-workspace/env/ (NOTICE that there's bee a bug in startkde that broke this and was at least released by ubuntu somewhen (bug story: https://bugs.kde.org/352491, first commit broke sourcing, second fixed it)
|
![]() Registered Member ![]()
|
Thanks for the replies I will try these and report back when/if fixed.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]