Getting f.lux going on Ubuntu Linux 13.04 (Raring Ringtail)


Once you start using f.lux on some of your devices, you miss it when you don’t have it everywhere.  If you are running Ubuntu 13.04 right now, you can’t easily install the fluxgui without a little tweak. If you want to learn more about the benefits of f.lux and why many of us love it, check this page out.

1. Go ahead and add the PPA as described on the f.lux site. But, don’t run an update or try to install it yet because it won’t get the distro.

2. Go into the Synaptic Package Manager or Ubuntu Software Manager and edit the repositories. It populates the distro as whatever you are running by default and if the PPA doesn’t yet have that distro mentioned on it’s end, you will not get the install. As of 2013-03-02, f.lux doesn’t yet have a distro directory for raring.



3. So, you need to edit the sources. Change the “Distribution” from raring to “quantal” for the f.lux PPA.



4. Then you can run update via Synaptic or Ubuntu Software Manager to refresh the index of possible packages.

5. Run the install either via command-line or via Synaptic / USM



6. After that you can find the flux indicator under accessories.


7. You need to enter your location for it to properly operate. They have a great tool on their site too to get your lat/long for the config at


8. Enter it into the fluxgui config screen.


And you will be all set. I happen to be running XFCE and it puts the indicator up in the notification area. There is also a post from 2009 on getting xflux operational if the fluxgui tools are a little too buggy for you. Check it out here.


Leave a comment or reply

  • Xflux itself doesn’t seem to work:

    args: [‘/usr/bin/xflux’, ‘-l’, ‘XXX’, ‘-g’, ‘XXX’, ‘-k’, ‘3400’, ‘-nofork’]
    searcher: searcher_re:
    0: re.compile(“Color.*”)
    buffer (last 100 chars):
    before (last 100 chars): ng shared libraries: cannot open shared object file: No such file or directory

    A quick search told me that the .so file is from an old version of X. Any ideas how to fix this?

  • Worked on initial install, now for some reason the indicator doesn’t show up, and when I try to open the gui it does not open. I am on 13.04

  • No need to change the repository manually anymore. Now the PPA includes Raring. But the fact is f.lux isn’t working properly. It won’t change the color temperature automatically. You to go into Preferences and hit the Preview button. Even then, that’s a one time workaroung. If you want to change it again, you have to exit f.lux, launch it again and go through the Preferences->Preview trick. Useless until this is fixed.

    • Hi aleve, fortunately I was able to use f.lux by using the command line interface. I think it’s installed when you install fluxgui, it’s called xflux

      Just type xflux on the terminal, it will tell you which parameters you must use.
      If you want to use your latitude and longitude as parameters, you can get them here:

  • Thanks for this. Redshift was a little too red for my taste and I couldn’t get F.lux working on Ubuntu 13.10 without this tutorial.

  • Hi,
    I’m having a hard time getting it to run under linux mint 16. it worked at first but then I closed it and it never worked again. I also cant enter the preferences anymore. Any ideas? tryed this way of installing and the one on

  • I type ‘fluxgui’ in command line, it launched and gives me this:

    /usr/lib/pymodules/python2.7/fluxgui/ GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor
    /usr/lib/pymodules/python2.7/fluxgui/ Warning: g_value_unset: assertion ‘G_IS_VALUE (value)’ failed
    /usr/lib/pymodules/python2.7/fluxgui/ GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

    What those means?