Posts Flux on linux
Post
Cancel

Flux on linux

I am currently using ubuntu 13.10.

This post is to explain how to install and run f.lux for Linux.

f.lux site explains the installation process using apt-get install.

1
2
3
sudo add-apt-repository ppa:kilian/f.lux
sudo apt-get update
sudo apt-get install fluxgui

The above steps only installs the f.lux gui client.

When executed f.lux gui runs, but when I clicked the preview, after setting the desired “Night time color temperature” nothing happened.

This is due to the fact that the above installation steps only installs the gui and not the program that does the actual work.

I ran the gui via terminal and got the below errors.

1
2
3
4
5
6
7
8
$ fluxgui

command: /usr/bin/xflux
args: ['/usr/bin/xflux', '-l', '-26.0997', '-k', '3400', '-nofork']
searcher: searcher_re: 0: re.compile("Color.*")
buffer (last 100 chars):
before (last 100 chars):  directory
fluxgui.py: Fatal IO error 2 (No such file or directory) on X server :0.g=28.0513c

As per highlighted above

gui client needs xflux program

program must be installed in “/usr/bin” location.

On the same f.lux site its daemon program is available.

So I downloaded the x64 daemon and extracted the xflux64.tgz file and got the xflux program.

I then copied the file to my /usr/bin directory using the below command.

1
$ sudo cp xflux /usr/bin

After this I started the flux gui “fluxgui” program, and it worked like a charm :) .

This post is licensed under CC BY 4.0 by the author.