I'm new to linux and I don't know how to install redshift 1.9.1, configure the color temperature and make it automatically start. I'm using Ubuntu 14.04 LTS.
5 Answers
Nowadays, as of 14.04 -- redshift is in the repos by default:
sudo apt-get install redshift redshift-gtk
Finally, it works, thanks to user2832080. This is what I did:
Install randr dependency.
$ sudo apt-get install libxcb1-dev libxcb-randr0-dev libx11-devDownload redshift 1.9.1 and extract it.
change to redshift 1.9.1 directory and type:
$ ./configure --enable-randr --enable-gui --enable-ubuntu \ --with-systemduserunitdir=$HOME/.config/systemd/user$ make$ sudo make installcreate redshift.conf at ~/.config, see this link.
go to /usr/local/bin and run redshift-gtk.
- turn on autostart.
Firstly, you need to download redshift from the git link provided and extract it. Then look on the HACKING file. It has the instructions you need to install it from source.
I quote it here for easier access:
Build from repository
$ ./bootstrap
$ ./configureThe bootstrap script will use autotools to set up the build environment and create the
configurescript.Use
./configure --help' for options. Use--prefix' to make an install in your home directory. This is necessary to test python scripts. The systemd user unit directory should be set to avoid writing to the system location.Systemd will look for the unit files in
~/.config/systemd/userso this directory can be used as a target if the unit files will be used. Otherwise the location can be set tonoto disable the systemd files.Example:
$ ./configure --prefix=$HOME/redshift/root \
--with-systemduserunitdir=$HOME/.config/systemd/userNow, build the files:
$ make
The main redshift program can be run at this point. To install to the prefix directory run:
$ make install
You can now run the python script. Example:
$ $HOME/redshift/root/bin/redshift-gtk