I've got a program called
redshift that I would like to autostart when I log in. If I run "
redshift" in a terminal (or
redshift &) or via alt+f2, this will start it. I don't think it has an init script, so will adding "
redshift" to my
.profile file make it load at start? I suppose a cronjob set to
@reboot could also work?
I think some programs need to be executed from a certain user environment, especially those affecting graphical elements? For example, if I SSH to a remote machine and try to open up a GUI program, obviously this will not be possible so it will fail. That's what I am trying to avoid in regards to where I execute this program from.