Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to execute the command "redshift -l 33.8683:151.2086" at boot on my ubuntu system. The program works when run in a terminal so it may be sensitive to having the right runtime level. I've tried adding the command to a file in /usr/sbin and adding /usb/sbin/redshift1 to my /etc/rc.local, but it does not execute properly. The location of the actual script is in /usr/bin/ but I want to start the program with the arguments I mentioned. Ideas?

share|improve this question

Assuming that you want redshift to start after you started your desktop environment. You can either open "Startup Application" or similar depending on desktop environment, press add and add the command you attached in the command field.

You can also create the file ~/.config/autostart/redshift.desktop and enter

[Desktop Entry]
Exec=redshift -l 33.8683:151.2086
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .