Running Raspbian desktop. [ I'm afraid I had not much experience using Linux in general, and none with systemd ] : where, praytell, should I put a startup shell script to run once upon my user ("Pi" of course) auto-logs-in at the desktop ? The script I have in mind is meant to automate the start'n'forking of things like autocutsel and x2vnc, instead of launching them "manually" each time over.
What I've done in the past is to put startup tasks in the users .xinitrc file (
/home/pi/.xinitrc in this case). This should launch when the desktop start up. Just make sure the file has executable permissions.
I used this to start up a kiosk GUI app on a RasPi when the user was auto-logged in. Here's an example script I used to start up the Python based app:
#!/bin/sh xset -dpms xset s off cd ~/app_dir exec python kiosk_app.py