You can find the directory where the generated service files for autostart scripts are saved and check their status to find their log.
These generated service files are stored in $XDG_RUNTIME_DIR/systemd/generator.late
you should be able to see the script that you created there.
The service file name for a script names test.sh would look like app-test.sh@autostart.service
Once you have found the file you are looking for use the following command to see its status systemctl status --user "app-bookMyShow@autostart.service"
You should be able to see the log there. This should give you enough information to see why it’s not working
Did you add the login script through system-settings autostart? Because the desktop file that you provided looks very different compared to the one’s that were generated on my system. Are you sure you didn’t manually create that desktop file?
why do you have ibus.sh inside ~/.config/autostart?
when adding a script to autostart through kde systemsettings, the script that you are selecting could be placed anywhere. I usually place them in ~/Documents .
did you log out and log in before checking if it was generated?
Exactly. I even have a suspicion why the generated desktop file is so different: because it’s been created yesterday, and not a couple of years ago. Today’s installation has already given me a lot of headache as it is.
I put the script in autostart directory so it should not litter such places as Documents. While it is negotiable, it should not be the cause of my trouble.
No, I can’t tell exactly when the desktop file was generated. I suppose right after pressing OK on the Properties dialog of the script in Startup and Shutdown > Autostart.
Kde systemsettings will tell you if the script doesn’t have executable permissions and allow you to make it executable with just a click of a button.
Yes the executable permission is necessary.
Changed the name of the script to layout.sh. Added it to Startup and Shutdown > Autostart > Login scripts. The same result: desktop generated, but not the service.
I will, I’m in no position to be too choosy . I can see a cryptic dropdown box under Properties > Application > Advanced Options: D-Bus registration. It’s None with the working matray too, but it looks very suggestive just the same.