Doesn't work on Ubuntu 12.04 / KDE



  • Installed from PPA.
    Can't get it working.
    Right after installation I see no icons in the tray (KDE is not supported?)
    Then I tried to run fluxgui from command line but it printed error message for the first run:
    Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/fluxgui/fluxgui.py", line 381, in <module>
    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')
    ValueError: could not find setting

    On the subsequent runs it started to print only:
    fluxgui is already running, exiting.

    which is not true: $ps uax | grep flux --- empty output, so no flux

    Sorry, I don't get how it is supposed to work



  • I get the same on linux mint (kde). Instead I use xflux;

    jorxster@jorxster-700Z3A-700Z4A-700Z5A-700Z5B:~ > xflux -l 175 -g -41


    Welcome to xflux (f.lux for X)
    This will only work if you're running X on console.

    Your location (lat, long) is 65.0, -41.0

    Your night-time color temperature is 3400
    Going to background: 'kill 23896' to turn off.



  • Doesn't work for me too. The linux support is bad. Better find another app, sorry f.lux.



  • I have found the solution!! An app called "redshift". You can get it in the common repositories. The commandline usage is like this :
    redshift -l -41:174



  • Redshift will attempt to guess your location based on IP. Accurate enough for me.



  • F.lux seems to be more lenient with this program, but if you are going to use it, please use 1.9.1 (or 1.9) so that the color is actually accurate. Anything less is just awful!



  • Well, I found redshift before you but I thought we shouldn't advertise here. Nevermind, redshift is great.
    I also wrote a shell script for changing the brightness when redshift is ON if someone is interested:

    #!/bin/sh
    # set HDMI brightness with redshift on
    if ! printf '%s\n' "$1" | grep -E -q '0|1|1\.0|0\.[0-9]' ; then
        printf 'Wrong input, usage:\n  %s <brightness-from-0.1-to-1.0>\n' "$0"
    else
        pkill -9 redshift
        redshift -l <YOUR LAT:LON HERE> -r -b "$1" 2>/dev/null 1>&2 &
    fi
    

    Use it as:
    scriptname <brightness>

    Brightness is from 0.1 to 1.0.

    If you have laptop there are better ways to change the brightness of your built-in screen.



  • If you have a desktop monitor, find the key for brightness, find the key that you will hold down until it hits the lowest. Also reduce the contrast a bit too if it doesn't degrade image quality. I can take mine all the way to 0 on both, and it's still a bit too bright.


Log in to reply
 

Looks like your connection to f.lux forum was lost, please wait while we try to reconnect.