Installing Redshift 1.10 on Linux Ubuntu 14.04

Redshift is an application that adjusts your computer display’s color temperature based upon the time of day. It was written because the author faced a few issues with xflux, the Linux port of f.lux.

The Ubuntu repo for Trusty only provides version 1.8, which has its share of bugs in it. The solution? Install it manually from the release packages provided by the original author on github.

Pre Requisites

You’ll need the tarball release from github (link) on your system, and the following packages from the Ubuntu repository. An up to date system is also recommended.

#apt-get install autopoint intltool libdrm-dev libxcb1-dev libxcb-randr0-dev libx11-dev libxxf86vm-dev libgeoclue-dev libglib2.0-dev

To get the latest updates on your system,
#apt-get update && apt-get dist-upgrade

You’ll also need to inflate the tarball once its downloaded. You can do it either via whatever graphical tool you use, or, run the following code in a terminal emulator.

tar -xvf /path/to/tar.xz

Once that’s done, you’ll need to fire up the terminal emulator, and navigate to the directory where the contents of the tarball were inflated to, and run the following commands to install redshift.

./configure --prefix=$HOME/redshift/root --with-systemduserunitdir=$HOME/.config/systemd/user && make && make install

This will install redshift into a folder in your home directory. To run redshift, simply open up your terminal, and navigate into the ~/redshift/root/bin/ directory. Then run redshift if you are comfortable with the CLI, or redshift-gtk, if you want an icon in your notifications panel. Although the program tries to auto-detect your position using various methods, it may not always be accurate. If you don’t trust the program, you may provide custom values for the location while execution, using the following format:

./redshift-gtk -l LATITUDE:LONGITUDE

Issues

Due to lack of proper testing environment, I haven’t been able to properly test this method, and my measure of success is the fact that the application successfully fires up.

Expect the following issues :

  • You will have to manually start redshift each time you log in (or you can get your system to start it up each time you log in, but, as of now, I haven’t been able to find an option in the program itself which enables auto-start)
  • The indicator file may for some reason, be not found. (image)
  • The program might not work at all. I haven’t been able to test this out, because I only had a virtual machine to work with.
  • Unforseen bugs may arise

One thought on “Installing Redshift 1.10 on Linux Ubuntu 14.04

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


%d bloggers like this: