What is the recommended way of starting an app after log-in?

I edited your command line to make the file correctly copied into the env folder. Also because there were some typos (plassma) I also checked with Dolphin, that the file is there. The file is also executable there.

Could it be, that the script is starting correctly but stops the login process, because it doesn’t exit?

Script code

 #!/bin/bash
sudo /opt/Ryzen\ Controller/ryzen-controller --no-sandbox
exit 0

Make sure the script is executable:

chmod u+x ~/.config/plasma-workspace/env/Ryzen-Controller-Startup.sh

Edit:

If that doesn’t work, then I really don’t know why and I’d recommend trying to possibly find it with with systemd then, but let’s not get ahead of ourselves.

1 Like