Redshift Keeps Your Eyes Sharp & Helps You Sleep [Linux]

Justin Pot 17-06-2010

<firstimage=”//”>redshift linuxIf you spend a lot of time looking at your computer – and if you read this blog I’m betting you do – you might notice that after a while your eyes start to hurt, and that you have trouble going to sleep at night. There’s a good reason for this: your computer screen is essentially a lightbulb, and you’re looking straight into it for hours at a time.


It’s for this reason that devices like the Kindle and the Nook are fast gaining popularity. Rather than utilizing the backlit screens we know from computers and cell phones, these devices mimic paper. The result is easier to read in the sun, and is in general easier on the eyes than a screen.

It’s not practical to give up traditional screens on conventional computers, however. Windows and Mac users have the option of using F.lux to offset this, and Varun wrote about last year in an article called Get Better Monitor Lighting That Feels Good To Your Eyes How To Get Better Monitor Lighting That Feels Good To Your Eyes Ever worked late into the night on your computer and found yourself blinded by the light from the monitor? Yes, all of us have experienced it at some point or another. Read More and Jackson followed up with an article called Use F.lux To Sleep Better After Late-Night Computer Activities Use F.lux To Sleep Better After Late-Night Computer Activities If you look carefully, most of LCD monitors have a button to automatically change the attributes of the screen to adjust for the types of media which is being viewed. Read More .

Linux users, it seems, were left out of the fun: F.lux does not work on Linux. That’s where Redshift comes in. The program is currently in development, and currently requires the user to have no fear of the command line, but don’t worry: it’s not too hard to use.

What It Does

If you’re not familiar with F.lux you probably don’t know what Redshift does. Essentially this application will, as it gets darker outside, alter your computer’s display and give everything a red tinge. There’s a reason for that. The type of lighting that is around you changes as it gets darker outside. Sunlight is very white, but artificial lighting tends to be more red. As such, if you read something on a piece of paper it will look white to your eyes during the day and reddish at night.

You don’t notice this because your brain automatically balances the difference. Your computer monitor, being backlit, is constantly white. Because of this, looking at your computer at night can hurt your eyes and cause you to lose sleep. Redshift helps offset this.



You’ll find really simple instructions for installing this amazing software over at Ubuntu blog OMG Ubuntu, which recently featured Redshift.

If you’re not a Ubuntu user you can find generic instructions over at the official Redshift page. Heck, you’ll even find instructions for installing Redshift in Windows (but I’d advise Windows users to stick with F.lux for now).

Set Up Your Gnome Clock

redshift linux

Once you’ve got Redshift installed you’re going to want to set up your Gnome clock so it knows your location. Why? Because it might simplify using Redshift for you.


Click the clock in your tray and you’ll see your calendar. You’ll also see your “Locations” at the bottom of this pop-up. If you’ve already configured your location this way congratulations: you can skip this step. If not go ahead and add your location. The dialogue is simple enough, as you can see.

Once you’ve done this you can launch Redshift.

Using Redshift

The first time you use Redshift, it’s a good idea to do so in a terminal – this will tell you about any errors the program may encounter. Open your terminal and type “gtk-redshift“. Assuming all is well, you should find this new notification applet in your system tray:

redshift linux


If not, you’ll probably see a request for you to manually input your latitude and longitude. Yeah, this program has a few bugs still, but don’t worry too much: doing this is easy. Go back to the configuration screen you used to set your location above and write down your latitude and longitude. Then type a new command that consists of “gtk-redshift” followed by “-l” followed by your latitude and longitude separated only by a colon.

For example, if you live in Copenhagen, Denmark, type this command:

gtk-redshift -l 55.7:12.6

Redshift will now launch Redshift, forcing your location onto it.

Do you want an indicator applet to run in the background without the indicator applet? Easy. Just use the command “redshift” instead of “gtk-redshift” and voila: trayless redshift.


At Boot

redshift program

Want Redshift to start when your computer does? Easy enough. Just copy whatever command you managed to type to get Redshift working, then click “System,” then “Preferences,” then “Startup Programs.” Add a new program, using your command in the “Command” box and whatever you like for the rest.


redshift program

I love reading articles from The Economist before going to bed. I do this using Readability, the service I described last week as being Safari’s “Reader” for Chrome and Firefox. I do find that I sleep better after this using Redshift than I do without, so try it out for yourself.

And if you do try it out for yourself please do share with us how it worked out for you. Also share any tips you might have for using Redshift, because it’s always great to learn.

Related topics: Computer Monitor, GNOME Shell, Health, Ubuntu.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. FFG
    August 13, 2010 at 5:02 am

    My experience with F.lux on Linux is not that great.

  2. jhpot
    July 27, 2010 at 3:46 pm

    You can change the color temperature under those circumstances, though I'm working on an article now about an easier program for this job.

  3. Titanio Verde
    July 26, 2010 at 10:18 pm

    Hum! I see it reddish, too. I was looking for an explanation, and here I found it. Thank you.

    But you tell that artificial lights tend to be reddish. My room's lights are blueish. This program is still being useful?

    And what about Screen's options? I leave them on Default?

  4. Linuxoid1986
    July 5, 2010 at 11:06 pm

    It's grate software for people who want save his eyes.
    I use it.

  5. Guilherme
    June 18, 2010 at 2:33 pm

    There is a F.lux version for linux: xflux

  6. Chmurli
    June 18, 2010 at 7:51 am

    seriously, default setting sux. In night my monitor looks too much red. U should use options like this: gtk-redshift -l 50.26:19.02 -t 6500:5500

  7. david
    June 18, 2010 at 12:42 am

    OMG this is so cool! is there a similar program like this for windows? particulary vista?

    • msr
      June 18, 2010 at 7:41 am

      It's mentioned in the article: F.lux

    • Wolf
      August 12, 2010 at 5:45 pm

      Ya try my program for Windows: [Broken Link Removed]
      (It doesn't do that time-based shifting btw).