How to Install f.lux in Ubuntu 16.04, Ubuntu 15.10

Last updated: March 27, 2016

install f.lux in Ubuntu

F.lux changes your computer display’s color temperature according to location and time of day. It was designed to reduce eye strain during night-time use and disruption of sleep patterns.

The f.lux for Linux is a command line daemon and the GUI is an indicator applet created by Kilian Valkhof. Though Kilian’s repository does not update anymore, you can still get the applet for Ubuntu 16.04, and Ubuntu 15.10 via below steps.

How to Install f.lux in Ubuntu via PPA:

The Linux f.lux GUI is now available in Nathan Rennie-Waldock’s PPA for all current Ubuntu releases.

1. Launch terminal (Ctrl+Alt+T) and run below commands one by one to get it from PPA:

sudo add-apt-repository ppa:nathan-renniewaldock/flux

Type in your password when it asks (no visual feedback when typing) and hit Enter to continue.

2. Then update and install the GUI along with xflux daemon via commands:

sudo apt-get update

sudo apt-get install fluxgui

For those who don’t want to add PPA, download the .deb package for your Ubuntu release from HERE

3. (Optional) To remove the software, use Synaptic Package Manager or just run below command:

sudo apt-get remove fluxgui

The PPA repository can be removed by going to Software & Updates -> Other Software.


I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via Buy me a coffee:

8 responses to How to Install f.lux in Ubuntu 16.04, Ubuntu 15.10

  1. Redshift is a great display’s color temperature switcher.
    In my opinion, redshift is better than flux.

    • Thank you for your suggestion. Easier to install and update since it is in the software center.

  2. I just installed f.lux on ubuntu 16.04 via ppa. When i start it the screen color for the night is ok. But then it change step by step to the day mode.


  3. Thanks for providing this package! i was looking for f.lux for ubuntu. I like the various options like Tungsten, Sunrise/Sunset, Matchstick to adjust how dim you like the screen.

  4. Instructions also work for Linux Mint 18.1 (Cinnamon). Many Thanks!!

  5. Thanks — works on Linux Mint 13 MATE as well.