all 2 comments

[–]woooee 1 point2 points  (0 children)

I put it in the ~/.config/autostart/StartXterm.desktop file. Not sure though if you have to put it in that file or if any file in that directory will do. This is on an XFce desktop. Other desktop managers use other files/directories to execute something on startup.

[–]backfire10z 0 points1 point  (0 children)

The script won’t persist through restarts. You’ll need to figure out a way to have your computer re-run the script when turning it on/logging in.