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

redshift   Redshift Keeps Your Eyes Sharp & Helps You Sleep [Linux]If 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 and Jackson followed up with an article called Use F.lux To Sleep Better After Late-Night Computer Activities.

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.

Installation

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 location   Redshift Keeps Your Eyes Sharp & Helps You Sleep [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 applet   Redshift Keeps Your Eyes Sharp & Helps You Sleep [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 startup   Redshift Keeps Your Eyes Sharp & Helps You Sleep [Linux]

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.

Conclusion

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

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.

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.

17 Comments -

david

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

msr

It’s mentioned in the article: F.lux

Chmurli

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

Guilherme

There is a F.lux version for linux: xflux

Linuxoid1986

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

Linuxoid1986

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

Titanio Verde

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?

jhpot

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

Titanio Verde

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?

FFG

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

jhpot

Did you try the new GUI for it?

http://www.makeuseof.com/tag/f

jhpot

And here it is:
http://www.makeuseof.com/tag/f

That program will let you easily configure the lightbulb type.

@zeadie

For those of you commandline gurus, here’s a way to install it via shell:

http://www.lazyscripter.com/2010/04/how-to-setup-redshift-for-ubuntu/

@zeadie

For those of you commandline gurus, here’s a way to install it via shell:

http://www.lazyscripter.com/20