Header Ads

Phần mềm RedShift chỉnh độ sáng màn hình ám vàng thay thế Flux Gui trên Ubuntu 14.04 lts

Phần mềm RedShift chỉnh độ sáng màn hình ám vàng thay thế Flux Gui trên Ubuntu 14.04 lts

redshift

How to: setup Redshift to be like f.lux


Ever used f.lux? Well, it’s kind of buggy on GNU/Linux. Thankfully there’s an alternative which works just as well, called Redshift.
To install it on *ubuntu, just run:

sudo apt-get install gtk-redshift
Just ignore this and continue on.
First thing we need to do is find your latitude and longitude. To do this, go to http://itouchmap.com/latlong.html and enter your general location. For this guide I’ll be using NYC, which shows up as 40.714353,-74.005973.
Open a terminal and run:
gtk-redshift -l 40.71:-74.00 -t 6500:3700
substituting 40.71:-74.00 for your latitude:longitude, of course. Press ctrl+c to cancel when you’re done.
If you ran this at night you should see the display change colors. If you ran it during the day and nothing happens, that’s exactly how it should work. The -t switch defines a daytime temperature (6500k) followed by a nighttime temperature (3700k). At 6500k your monitor color shouldn’t change, while at 3700k your display should change to a red/orange color.
Now just add the command to your application autostart menu and you’re all set.
BONUS: How to change the tray icons:

Go to gnome-look.org and search for “redshift.”

Download a pack that you want, extract it, and locate the redshift-status-off.svg and redshift-status-on.svg files that you want to use. 

No comments