Skip to content

Instantly share code, notes, and snippets.

@robertmarsal
Created December 17, 2014 21:09
Show Gist options
  • Save robertmarsal/9feaa9150926efa4175a to your computer and use it in GitHub Desktop.
Save robertmarsal/9feaa9150926efa4175a to your computer and use it in GitHub Desktop.
Install f.lux on Ubuntu 14.10
sudo apt-get install python-glade2 python-appindicator
git clone https://github.com/Kilian/f.lux-indicator-applet.git
cd f.lux-indicator-applet
chmod +x setup.py
sudo ./setup.py install
fluxgui
@DmitrySandalov
Copy link

I was installing on Ubuntu 14.04 LTS and got this error. ANy idea how to resolve this?

sudo chmod 755 /usr/local/bin/xflux

@mbrav
Copy link

mbrav commented May 1, 2016

@DmitrySandalov Thank you, started working! 👍

@lmiguelvargasf
Copy link

@DmitrySandalov thank you your answer worked for me.

@cehatu
Copy link

cehatu commented May 23, 2016

I have tried to install f.lux on Ubuntu 16.04 LTS and received this error:

fluxgui
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 3, in <module>
    from fluxgui import fluxcontroller, settings
  File "/usr/local/lib/python2.7/dist-packages/fluxgui/settings.py", line 3, in <module>
    from xdg.DesktopEntry import DesktopEntry
ImportError: No module named xdg.DesktopEntry

I am quite new to Ubuntu and have no idea what to make of this. I have already tried the additional packages and fixes mentioned above.

Thanks in advance for your support.

@duyphut
Copy link

duyphut commented May 27, 2016

I have tried to install f.lux on Ubuntu 16.04 LTS and received this error:

fluxgui
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 3, in
from fluxgui import fluxcontroller, settings
File "/usr/local/lib/python2.7/dist-packages/fluxgui/settings.py", line 3, in
from xdg.DesktopEntry import DesktopEntry
ImportError: No module named xdg.DesktopEntry

I am quite new to Ubuntu and have no idea what to make of this. I have already tried the additional packages and fixes mentioned above.

Thanks in advance for your support.
sudo apt-get install python-xdg

@ingadi
Copy link

ingadi commented Jun 26, 2016

Thanks @ferstar works on Ubuntu 16.04 LTS. With mine it was the permissions issues

@asanchezgomez
Copy link

On Ubuntu 16.04 LTS I get this error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/fluxgui/fluxapp.py", line 3, in <module>
    from fluxgui import fluxcontroller, settings
  File "/usr/local/lib/python2.7/site-packages/fluxgui/fluxcontroller.py", line 1, in <module>
    from fluxgui import xfluxcontroller
  File "/usr/local/lib/python2.7/site-packages/fluxgui/xfluxcontroller.py", line 1, in <module>
    import pexpect
ImportError: No module named pexpect

I've tried with the different solutions postes in this post but it is still not working...

@Xuij
Copy link

Xuij commented Aug 19, 2016

@ferstar recommendation worked perfectly:
sudo chmod +x /usr/local/bin/xflux

@BIgRunner
Copy link

I installed f.lux in Ubuntu14.04, using:
$ sudo add-apt-repository ppa:nathan-renniewaldock/flux
$ sudo apt-get update
$suod apt-get install fluxgui
and then, I started it by
$ fluxgui.
error came up as
"Traceback (most recent call last):
File "/usr/bin/fluxgui", line 17, in
from fluxgui.fluxapp import main
ImportError: cannot import name main"
Any advice to deal with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment