f.lux

this little program chooses the colour temeprature depending on your latitude. so you need to download the binary and put it into a folder, where you want to execute it. now start the program with -l and -g (xflux -l xx -g yy ) and use maps.google.com to get your longitude. just right click on your place and click on “whats here”. normally there should be now two numbers in the search bar (round them up or down and replace the xx and yy). this should do the trick.

now to get it started on a session with your window manager, e.g. lxde. create a folder ~/.config/autostart, if it is not there and put there a desktop-file, e.g. xflux.desktop. you need three basic lines to start it.

[Desktop Entry]
Type=Application
Exec=xflux -l 66 -g 6

sources:

http://www.ubuntu-inside.me/2009/03/flux-better-lighting-for-your-computer.html
http://www.stereopsis.com/flux/linux.html
http://wiki.lxde.org/en/LXSession
http://standards.freedesktop.org/desktop-entry-spec/latest/apa.html

Advertisements

~ by frankooh on 2011-02-09T22:19:25+00:00.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: