0
Many of us are using computers at work or home and spending more than one hour in front of the computer's screen which will cause eye strain and some other bothersome visual symptoms.


In this tutorial, we will see how to easily reduce your risk of computer eye strain using a simple cross-platform command line tool called Redshift, which will allow you to control your monitor brightness level according to the location you live in.

Redshift Installation

For Fedora 21/20 or older, install Redshift using this command:

su -c 'yum install redshift'

For Debian 7.8 or older, install it using these commands:

su - 
apt-get install redshift

For OpenSUSE 13.2 or older, run this command:

sudo zypper install redshift

Usage

To run Redshift with a basic setup, enter this command:

redshift -l LAT:LON

Where LAT is the latitude and LON is the longitude of your location (country/city). For a more complex syntax, you can start Redshift using this command (Munich, Germany):

redshift -l 48.8:11.35 -t 5700:3600 -g 0.7 -m randr -v

For manual configuration, you can edit this file if available using any text editor of your choice (vim for example):

vim ~/.config/redshift.conf

For more help about using Redshift, issue this command:

redshift -h

Post a Comment

 
Top