How to dim screen to reduce eyestrain on Ubuntu

by Ruchira on April 3, 2013

If you work in front of the computer quite a lot, You might have eye strain issues. On Laptops this is not a big issue because those have the ability to dim the light considerably. But in my case I use a desktop for work and monitors doesn’t have the ability to dim extensively like laptops.  Even at lowest brightness, the whites are too bright for me.

I’m using Ubuntu and there is this app called “redshift” to adjust the color temperature and lets see how you can get it running.

Redshift adjusts the color temperature according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt.

Lets add the PPA

sudo add-apt-repository ppa:jonls/redshift-ppa

And Install

sudo apt-get update
sudo apt-get install redshift

Running redshift is simple. Press Alt+F2 and type redshift on finder and you are good to go.

Redshift gets data by geolocation so if you don’t have an internet connection it wont work. As a work around you can hard code your geo location data and make redshift run on startup. You will have a toggle on notification bar to enable and disable redshift.

Run this command to install gtk-redshift

sudo apt-get install gtk-redshift

Then open start up applications and add a new one to start up the redshift gtk application. Replace LAT:LON with your location data. You can find out relatively accurate data by using a service such as or google maps for more accurate positioning.

gtk-redshift -l LAT:LON




Click save and you are good to go.  Redshift will automatically start since next reboot and it will display a toggle on the task bar to enable and disable it easily.

I'm Ruchira Sahan and all posts on this blog are completely my thoughts and writings. I love DIY and Technology. So feel free to contact me for anything about this blog and don't forget to add a comment if this blog helped you! Thanks
View all posts by Ruchira

Last 5 posts by Ruchira

Previous post:

Next post: