I'm running a script that changes files and installs things and what not on a SUSE computer. One of the scripts that gets run with my script, reboots the computer and when the computer loads back up again I want my script to continue where it left off.
What I can't figure out is where to launch my script so that it will start AFTER the desktop has loaded back up (the SUSE computer is set to automatically log in as a specific user who isn't root).
I want my script to run in this fashion because I want the user to be able to see an output log as to what is happening before another script later on reboots the computer again.
Edit: Following the link given below: https://bbs.archlinux.org/viewtopic.php?id=130344 I found out that the directory that is supposed to be where you put scripts specifically for my question is /home/user/.kde4/Autostart.
In my attempt to follow this I found that I do not have a .kde4 directory, but I do have a .kde directory. I decided this was probably the same thing and investigated finding that .kde does have Autostart. So I placed my script in there.
This resulted in my script being opened by KWrite (just the basic text editor) when my desktop loads. But the script itself doesn't get run.
I created a new directory, .kde4 with Autostart in it to place my script hoping that this would solve the problem. No luck, though, as my script doesn't even get opened in KWrite in this situation.
Edit2: I changed the permission on my script
chmod 777 script and now it starts up. It's in my home/user/.kde/Autostart directory.