Kilian Valkhof

Front-end developer, user experience designer & Jedi.

F.lux for Ubuntu

Linux, 26 July 2010, 83 comments

F.lux is a small but very useful application: It fades your screens to a warmer color temperature in the evening. This is pleasant for your eyes and won’t leave you wide awake at 2am because your computer monitors are so bright. There are mac and windows versions, but only a commandline app for Linux. Together with Michael Herf, the author of F.lux, I made a version for Ubuntu.

F.lux for Ubuntu is an indicator applet (like the new Messaging Menu), so it works very nicely on Ubuntu 10.04 and 10.10. Michael improved the commandline application by leaps and bounds. There are a bunch of new configuration options (all available in the GUI), the night/daytime cycle is now much more accurate, and it even takes daylight savings into account.

The F.lux indicator applet automatically manages the color temperature of your screen based on your latitude and longitude, or if you are in the US, your zipcode. In the preferences panel, you can set your preferred nighttime colortemperature and see a preview, as well as seeing the current color temperature.

Screenshot of the preference panel

Installation

Installation is easily done by adding the PPA for f.lux, simply type the following into your terminal:

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

When you first launch the application (via ‘accessories’ in the menu, or by pressing alt+f2 and opening “fluxgui”) you will be asked to fill in either your latitude and langitude, or your zipcode. If you want f.lux to autostart at the next startup, select the “autostart” option. Close the preferences panel and you’re all set!

There is a bug in the current version of Fluxgui that’s preventing it from running correctly the first time it’s started. I wrote a fix that’ll be available in the PPA shortly (version 1.1.4). If you can’t start because fluxgui claims it’s already running, remove “fluxgui.pid” from the /tmp folder. After the update, it should work as advertised!

On developing F.lux for Ubuntu

As I mentioned, F.lux for Ubuntu is built using GTK+. This isn’t by choice, but needed because I wanted to built an indicator applet.

Coming from Python + Qt (for Trimage) , GTK+ feels like a serious step back. The Glade interface builder is clunky and quirky, and surprisingly, modules such as python-gconf and python-appindicator are virtually undocumented. There is a massive amount of time spent on figuring out what-goes-where-and-how.

Nevertheless, I like Python more each time I use it, and going back to JavaScript often feels weird (“Oh, yes, parentheses!”) so I think it’s time to start doing more with Coffeescript in the future.

Official announcement

Michael posted an official announcement on the F.lux website with these instructions as well: f.lux for linux, so be sure to go there and leave nice comments for us and tell us what we can improve! :)

Future versions

The currently released version is 1.1.1, For version 1.2 we will be adding a “pause for an hour” function, as well as an indication of how long until sunset/sunrise. Feel free to suggest other new features or fork the project on Github. It’s build using Python and GTK+, and the GUI is MIT licenced.

I’m quite proud of the result so far, and I hope it’ll be as useful to others as it already has been to me! Please leave suggestions for new features in the replies :)

Thank you for reading this article.

Please don't hesitate to leave a comment!

I am a front-end developer and user experience developer from the Netherlands, and you can hire me. Contact me or ping me on twitter: @kilianvalkhof.

83 comments

  1. Sameer Morar 26 July 2010, 13:38

    When I try to start fluxgui, It states: “fluxgui is already running, exiting”, and does not start. I am running Ubuntu 10.04, with awn (with support for app indicators) instead of the gnome panel.

  2. hrm I get the following without anything else happening: fluxgui
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:133: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor

    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:133: Warning: g_value_unset: assertion `G_IS_VALUE (value)’ failed
    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:133: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

    ‘gtk-icon-theme-name’)
    Traceback (most recent call last):
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 352, in
    app = Fluxgui()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 21, in __init__
    self.open_preferences(“activate”)
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 73, in open_preferences
    self.get_colortemp()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 64, in get_colortemp
    self.xflux.sendline(“c”)
    AttributeError: Fluxgui instance has no attribute ‘xflux’

  3. David Ainley 26 July 2010, 16:33

    Beautiful utility :)

  4. Hey, I already have f.lux installed manually. What do I need to do to use it from the ppa?

  5. Sameer and ‘someone’, There is an upcoming update on the PPA that fixes both these issues!

    Olivia, If you add the ppa like the instructions, and autostart ‘fluxgui’ instead of ‘xflux’, you’re all set :)

  6. I’ve been running f.lux on my XP netbook for a few weeks now and really like it. I don’t know if it makes a difference in my sleeping, but since I often use my machine late at night, it can’t hurt.

    Now I can install it on my Ubuntu machines, too. Thanks!

  7. Don’t forget about Redshift (http://jonls.dk/redshift/) which provides similar functionality for Linux.

  8. I’ve been using it on my Mac for a while and it’s pretty nice. However, I have one bug report and one feature request. Bug: I’ve noticed the “Start Flux at Login” doesn’t seem to work – whenever I reboot I need to restart flux manually, it doesn’t start up by itself. Feature request: have the ability to disable Flux not just for an hour, but also while some app is in fullscreen mode. I’m not sure if this is even possible, but it would be nice to have Flux disabled while I’m watching a movie in the evening so the colors look normal.

  9. [...] Kilian Valkhof s’est donc raproche de Michael Herf, l’auteur de F.lux afin de développer une version pour Ubuntu Lucid Lynx et Maverick Meerkat [...]

  10. Sebastian Fabian 27 July 2010, 1:48

    Nice work, however, it doesn’t work with a dual screen layout.

  11. Sounds nice, I’d like to join in the fun, but I can’t.

    I get the same error as has been pointed here :

    AttributeError: Fluxgui instance has no attribute ‘xflux’

    Long version :

    Traceback (most recent call last):
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 352, in
    app = Fluxgui()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 21, in __init__
    self.open_preferences(“activate”)
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 73, in open_preferences
    self.get_colortemp()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 64, in get_colortemp
    self.xflux.sendline(“c”)
    AttributeError: Fluxgui instance has no attribute ‘xflux’Traceback (most recent call last):
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 352, in
    app = Fluxgui()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 21, in __init__
    self.open_preferences(“activate”)
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 73, in open_preferences
    self.get_colortemp()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 64, in get_colortemp
    self.xflux.sendline(“c”)
    AttributeError: Fluxgui instance has no attribute ‘xflux’

  12. Worked on a dualscreen (nvidia twinview), but while fading, was using 100% of a cpu.

  13. doeesn’t work for kddde

  14. The latest version still has the “fluxgui is already running, exiting” problem. I fixed it by setting the following script to autostart:

    #!/bin/sh
    pkill fluxgui
    pkill -9 fluxgui
    rm -f /tmp/fluxgui.pid
    fluxgui &

  15. As a nocturnal coder, this program has saved me from several headaches. Great idea and thanks for sharing!

  16. [...] are currently only instructions for installing on Ubuntu on the programer’s official post f.lux GUI for Linux, which includes installation instructions. These instructions consist of three quick commands: sudo [...]

  17. [...] are currently only instructions for installing on Ubuntu on the programer’s official post f.lux GUI for Linux, which includes installation instructions. These instructions consist of three quick commands: sudo [...]

  18. brucebanner 9 August 2010, 1:04

    Excellent, but when do you plan on releasing a karmic package?

  19. [...] dell’ora via NTP permette di ottenere sempre la luminosità più adeguata. Le istruzioni per l’installazione di F.Lux su Ubuntu (e sulle altre distribuzioni) si trovano sul blog di Kilian Valkhof, che ha [...]

  20. GUI doesn’t seem to work too well. Have it on a Windows box too so I have something to compare it to. Typing now at almost 1 AM with both the Lat/Long and the zip code calibrated, set to “Tungsten”, but the color temperature is still listed as 6500K. Preview buttons work only intermittently … because of this, I’m probably switching to Redshift and seeing if their Linux integration is better

  21. P.S. Using Ubuntu 10.04

  22. why you can’t use the webcam to capture the light?

  23. Some days are rainy/Cloudy or you just have the curtains down ,some kind of graphic scaled meter where user can set the tungsten level had been great for those days.Dont get me wrong the program looks and is great thx for that!

    /Fab

  24. When opening the GUI the preview button only works once. To get it to work again you have to close and reopen.

    Also, the selected color temperature never seems to be reached. 2 AM right now and the listed color temperature is 44% over what I have selected. ???

    Also the screen sometimes goes wacky when opening the GUI. This program doesn’t feel polished at all and doesn’t seem to work how it’s intended.

  25. [...] with the blessing of XFlux’s creator Michael Herf, a new indicator applet for setting, controlling and, indeed, configuring XFlux has been developed by OMG! iRC! regular, [...]

  26. [...] 1 : Le site officiel de Redshift lien 2 : Redshift sur launchpad lien 3 : Flux pour Ubuntu lien 4 : Les recherches sur le [...]

  27. It says: “Sorry, we only support 24/32-bit displays right now.
    XF86VidModeGetGammaRampSize returned 2048 entries.”

    Will this setting be supported in the near future?

  28. I’m getting the following error (installed as per instructions on http://stereopsis.com/flux/linux.html )

    tijmen@jeanne:~$ fluxgui
    Traceback (most recent call last):
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 381, in
    app = Fluxgui()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 17, in __init__
    self.indicator = Indicator(self)
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 149, in __init__
    self.setup_indicator()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 162, in setup_indicator
    ‘gtk-icon-theme-name’)
    ValueError: could not find setting

  29. I’m using kubuntu 10.04. xlux on it’s own is working though

  30. Flux is truly a must have. The problem is, I’m using multiple monitors, and flux isn’t doing anything for the second one. Is there a way around this? Running an instance per monitor maybe?

  31. Thanks so much for making this. This is an important problem. Very big deal.

    So excited to try it out.

  32. Very nice concept and app!
    I was uncomfortable with the brightness of my rather intrusive 42″ hdtv i use as a monitor, at night, brightness settings never really felt right, but the color temp thing really works. I don’t feel the fatigue I was feeling before. I tried the app on xp and it rocks, the little gui and independant settings for day and night are the bees knees. please get this gui functionality to linux soon!! I want the bells and whistles on my Nix as I am migrating away from windows steadily.

    Thanks for a neat app!

  33. When opening the GUI the preview button only works once. To get it to work again you have to close and reopen. Also, the selected color temperature never seems to be reached. 2 AM right now and the listed color temperature is 44% over what I have selected. ??? Also the screen sometimes goes wacky when opening the GUI. This program doesn’t feel polished at all and doesn’t seem to work how it’s intended.

  34. Me too:

    Traceback (most recent call last):
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 381, in
    app = Fluxgui()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 17, in __init__
    self.indicator = Indicator(self)
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 149, in __init__
    self.setup_indicator()
    File “/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py”, line 162, in setup_indicator
    ‘gtk-icon-theme-name’)
    ValueError: could not find setting

    Kubuntu 10.04

  35. Hi! Thanks a lot for that great work you have done! I was dying of having the simplicity of a GUI and a PPA!

    Just a little suggestion regarding new features: it would be nice it there would be an option to match location to the one selected in the Gnome location/calendar (this calendar and map that are popping down when one clicks on the clock in Ubuntu. It is possible to have several locations so to easily switch from one to an other, and it would be greeat if F.lux would simply follow that change!)

    Thank you again and good luck in your future work (hopefully related to this suggestion ;) )

  36. I’m using Flux on Ubuntu 10.10 with two monitors. I love this app but it only affects one of them – any chance of multi monitor support?

    Also FYI I get these warnings on loading fluxgui:

    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor

    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:162: Warning: g_value_unset: assertion `G_IS_VALUE (value)’ failed
    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

    ‘gtk-icon-theme-name’)

  37. I have Ubuntu 10.04 (64-bit) and have tried f.lux. However, the program doesn’t to anything from what I can tell. The color temperature on my machine does not change at all. Also, when I try to open the Preferences (after using applet on first use to set them) from the tray icon, the Preferences window never opens.

    Any ideas on what I can try to get this to work? I use it on Windows and really helps out at night.

  38. I have the same problem as Jose. I run Ubuntu 10.10 (64-bit) and I installed f.lux a while ago. I set my location using longitude and latitude and the app never did anything so I stopped using it. Today I gave it another chance and still nothing. This is definitely a bug.

  39. I just installed Ubuntu on my laptop for the first time today, and had no idea how to install flux on it (being accustomed to the ease of .exe after being a windows user for almost all of my 19 year old life) – but i followed your instructions and it’s up and running perfectly! THANKS A TON!
    :)

  40. also not working for me, ubuntu x64 10.10. Doesn’t look like the developer is very interested in the linux port…

  41. I seem to have the same problem with x64 Linux Mint and Ubuntu. Flux just won’t do anything. It won’t even open up the Preferences menu. :( Too bad, I love this program. Hope you can fix it soon! :)

  42. I’m on ubuntu 10.10 x64 and same thing, doesn’t work for me. I managed to get the menu up by sudo-ing when opening flux, but then it wouldn’t write my preferences. Was on 10.04 before and that worked great.

    This is the greatest app ever, on a fresh ubuntu install it’s the first thing I downloaded, before chrome even, pleeease fix. Thanks:)

  43. Figured it out….. running file on xflux reveals that it’s a 32 bit binary. Need to install the package ia32-libs, should fix the problem. :)

  44. I also had some issues with this (I am on Kubuntu).

    Someone above suggested a startup script for the error that flux is already running. My .pid files were actually called ‘/tmp/fluxgui_nic.pid’ (with my username in them), so I adjusted that.

    It is also easy to fix the ‘could not find setting error’.
    You need to edit one file. On the terminal, do

    sudo kate /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py

    Line 162 should be:

    theme = gtk.gdk.screen_get_default().get_setting(
    ‘gtk-icon-theme-name’)

    Change it to:

    try:
    theme = gtk.gdk.screen_get_default().get_setting(
    ‘gtk-icon-theme-name’)
    except:
    theme = ‘ubuntu-mono-dark’

    (the indenting is of course crucial cause it’s Python. This code uses 2 spaces for indenting a new line)

  45. I just realised that in the github repository (https://github.com/Kilian/f.lux-indicator-applet/blob/master/src/fluxgui/fluxgui.py), Kilian has fixed the could not find setting’ error in a similar way.

    I just installed (on Kubuntu 10.04), so I guess the fix is just not packaged yet – but it seems to be taken care of :)

  46. Hello there,

    sadly flux doesnt work in a multi monitor setup with Ubuntu 10.10 x64. Color temp indicator stays at 6500K, first monitor changes though but second does not.

  47. f.lux does fine shifting from day to night but it doesn’t shift back to normal during the day.
    Is anyone else experiencing this or is it just me? Please someone check and let me know so I can see if the problem only exists at my end.
    I am posting this here and http://stereopsis.com/flux/linux.html

  48. So when I try to add the repository (Ubuntu 10.04):
    > https://launchpad.net/api/1.0/~killan/+archive/f.lux
    Error reading https://launchpad.net/api/1.0/~killan/+archive/f.lux: HTTP Error 404: Not Found

    Is there another way to install fluxgui on Ubuntu?

  49. My bad — I had misspelled the name of the repo. I was using “killan” instead of “kilian”.

  50. A great app that worked to my satisfaction when I was (and now and then am) working with XP. For about half a year now, I have switched to Ubuntu 10.04 64 bit. It never worked there and I’m waiting for the update that will change that…

  51. This is great! Id like to see the functionality of the Windows client. Specifically the setting to tell f.lux how long it should take to apply the screen adjustments. i like to set mine to change over an hour.

    Thanks!

  52. Hey, running on linux and I thought you should know the description says “Better lightning for your computer” instead of “better lightening”. Not sure if it was a joke or a typo, but thought I’d let you know.

  53. Is there any way to make this work on Debian?

  54. I have ubuntu 10.10, It works great. Thanks for helping and saving my eye sight.

  55. Hi there. I love the applet but it does not actually switch the monitor color temp over at night on my ubuntu machine like flux does on my mac. The applet is running but the only way to get the color temp I need is to manually press the preview button every evening. Any chance of this being fixed? :(

  56. I’m having some trouble downloading the program, it appears that a directory doesn’t exist.. I can successfully add the repository, but when I update it ends with the following error: “W: Failed to fetch http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found”

    Sure enough, when I go to that directory in my browser it doesn’t exist. I have to go back up to the /dists directory where the only folders are lucid, maverick, and natty. Any ETA on getting the 11.10 Oneiric directory up?

    In the meantime, you can download the .deb from here: http://ppa.launchpad.net/kilian/f.lux/ubuntu/pool/main/f/fluxgui/fluxgui_1.1.8_all.deb

  57. Hey, this doesn’t work very well on Linux Mint 11. It doesn’t automatically fix the lighting; I have to clikc the “preview button” for it to work.

  58. Pat Suwalski 26 October 2011, 6:10

    The deb itself works fine on Ubuntu 11.10.

    However, with two screens, only the left one changes colour, making it less useful than it should be.

  59. I have recently switched to Kubuntu from Ubuntu Oneiric, and I hope development is in the works to get f.lux working on our platform. This is a really great program, thank you, Kilian and Michael.

  60. I have installed the version by following your instructions. But when it’s night, nothing happens. I have this in my windows, it works nicely, but in ubuntu 10.04, I am having problem.
    The indicator applet shows, but when I run it or click the Preview button, nothing happens. Again, it’s also not working, it’s just showing the icon. Because when it’s night, nothing changes. Please reply me.

  61. For those of you having the “ValueError: could not find setting” problem as I was on ubuntu 11.04, the solution is this:

    download the source from git: https://github.com/Kilian/f.lux-indicator-applet/zipball/master

    unzip it

    replace the file /usr/lib/pymodules/python2.7/fluxgui/fluxgui.py with the one from the zip file: src/fluxgui/fluxgui.py

    (you will need to use sudo to overwrite the installed file)

    Works a treat after that (at least it did for me with the December 2011 sources from Git).

  62. Seems to be working okay in ubuntu 10.4 Great program. Thanks.

  63. Thanks for a nice program

  64. Jack Vermicelli 20 March 2012, 10:24

    It seems like f.lux only updates my screen’s color temp when I open the gui and click “preview”- it never changes on its own. How can I fix this?

  65. David Wilbard 7 April 2012, 16:24

    I’m having the same problem as Jack Vermicelli. I can get the color to change manually by opening the gui and clicking “preview” (though sometimes this requires me to close it and restart). But the color never changes on its own. Any way to fix?

  66. Really nice application, i work with the computer all day and this really makes it much easier on my eyes. I have it installed on my linux machine and my windows machine, the program works flawlessly on both platforms.

  67. Same as Jack and David…
    I’m on ubuntu12.04. I thought it was due to number errors (comma vs dot) but even with full numbers – no dice…

  68. Is this open source?
    Is f.lux open source?

  69. I’ve been toying with it for a bit, and I managed to screw up my installation about 2 times. I’m running fluxgui on Ubuntu 12.04 and can’t seem to get it to work for Unity. I did, however, manage to do this: http://i.imgur.com/HZJ6K.png

    It happened after I installed and attempted to quit fluxgui and relaunch. I quit and the icon was still in the top right. I deleted the fluxgui.pid and relaunched at last, but then had two icons in the top right. Not sure why this is or how it happened.

  70. Temes Vörös 9 June 2012, 3:08

    If the indicator applet doesn’t do the work for you, you should run the app from the command line only: xflux -l latitude -g longitude -k temperature (eg. 2700) [-nofork if you want it to run in the foreground]. Note that if you run the app from the command line, launching the indicator applet will give you a seizure since the screen starts flashing frantically.

  71. I installed it on Kubuntu LTS 10.04 and I do get the option in the menu, and when I try to run the program, I do get the jumping cursor with the f.lux symbol, than I get the button in the task-bar that normally indicate a window on the desktop and than both disappear. Without starting the program.
    I tried what mentioned above by Temes Vörös, I did manage to start it (but without the option for a gradual change of temperature), the only problem is, that every time I restart the machine even the location disappear.

  72. There is zero color change on my XP machine. I’ve tried multiple ways of viewing the color change in case I just haven’t noticed it, including checking “disable” while at nighttime. How do I fix this?

  73. Enrico Goosen 14 September 2012, 21:35

    Thanks Temes for the info on running F.lux via command line.
    It works, but only changes brightness on my primary monitor.
    How can I get it to change brightness on my secondary monitor as well?

  74. In OSX you can get Flux to work on your secondary monitor by going to Display preferences and on your secondary monitor selecting the ‘Color LCD’ Display Profile. http://imgur.com/X5ONg

  75. I just received this error starting fluxgui in kubuntu 12.04.

    fluxgui
    Traceback (most recent call last):
    File “/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py”, line 381, in
    app = Fluxgui()
    File “/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py”, line 17, in __init__
    self.indicator = Indicator(self)
    File “/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py”, line 149, in __init__
    self.setup_indicator()
    File “/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py”, line 162, in setup_indicator
    ‘gtk-icon-theme-name’)

    I solved this by going into fluxgui.py on line 160 and forcing the if condition to be false.

    if False and gtk.gdk.screen_get_default():

    It is not necessary to set an ubuntu icon, the normal fluxgui icon works fine. I don’t know why get_setting() was failing.

  76. [...] indicator project was done by Kilian Valkhof (creator of trimage), and he’s posted the indicator applet source here on github. The new [...]

  77. Ubuntu 12.10 (quantal) support plz!

  78. /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor

    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:162: Warning: g_value_unset: assertion `G_IS_VALUE (value)’ failed
    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.6/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

    ‘gtk-icon-theme-name’)
    ^CTraceback (most recent call last):
    File “/usr/bin/fluxgui”, line 23, in
    subprocess.call([sys.executable, path] + sys.argv[1:])
    File “/usr/lib/python2.6/subprocess.py”, line 480, in call
    return Popen(*popenargs, **kwargs).wait()
    File “/usr/lib/python2.6/subprocess.py”, line 1170, in wait
    pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
    File “/usr/lib/python2.6/subprocess.py”, line 465, in _eintr_retry_call
    return func(*args)

    Anyone have a fix for this? Clean install from repo: program doesn’t run. Seems like a critical bug to me…

  79. It worked the first time I used this, but afterwards, it just stopped working. Always says “fluxgui is already running, exiting”, even though it clearly isn’t.

  80. I get the same error as many here above:

    /usr/lib/pymodules/python2.7/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type GdkColor

    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.7/fluxgui/fluxgui.py:162: Warning: g_value_unset: assertion `G_IS_VALUE (value)’ failed
    ‘gtk-icon-theme-name’)
    /usr/lib/pymodules/python2.7/fluxgui/fluxgui.py:162: GtkWarning: Cannot transform xsetting Net/IconThemeName of type gchararray to type gint

    ‘gtk-icon-theme-name’)

    and then when closing:
    ^CTraceback (most recent call last):
    File “/usr/bin/fluxgui”, line 23, in
    subprocess.call([sys.executable, path] + sys.argv[1:])
    File “/usr/lib/python2.7/subprocess.py”, line 493, in call
    return Popen(*popenargs, **kwargs).wait()
    File “/usr/lib/python2.7/subprocess.py”, line 1301, in wait
    pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
    File “/usr/lib/python2.7/subprocess.py”, line 478, in _eintr_retry_call
    return func(*args)
    KeyboardInterrupt

    Can somebody please help me?
    Thanks

  81. [...] [...]

  82. I’m on Linux Mint 14 64bit and was hitting the problem where Flux was basically unresponsive after initial load – “Preferences” wouldn’t open, etc.

    Installing packages ia32-libs and libc6:i386 (both for running 32bit programs on 64bit machines) fixed this issue and Flux is happily running.

  83. George, thanks for the help! Finally I got this working on 64-bit.