xflux Linux - How do I keep flux on ALL the time?



  • xflux requires post code, or latitude... How can I have flux activated all the time?

    I am running Debian. The only way I have been able to use flux is via the command line interface software "xflux".

    All seems to work fine, however, xflux requires I specify a latitude, or a postcode. There is no option (as far as I can tell) to set flux "always" on... I much prefer it always on for my eyes.

    Here is an output from xflux:

    Welcome to xflux (f.lux for X)
    This will only work if you're running X on console.
    
    Usage: xflux [-z zipcode | -l latitude] [-g longitude] [-k colortemp (default 3400)] [-r 1 (use randr)] [-nofork]
    protip: Say where you are (use -z or -l).
    

    I enter "xflux -k 3000": Nothing Happens...

    I enter "xflux -k 3000 -l 1":

    Welcome to xflux (f.lux for X)
    This will only work if you're running X on console.
    
    Guessing your longitude is 0.0 based on your timezone
    Specify it with -g to make things better.
    Found 1 screen.
    Your location (lat, long) is 1.0, 0.0
    
    Your night-time color temperature is 3000
    Going to background: 'kill 1795' to turn off.
    

    So as you can see, ONLY when I enter a -l or -z argument, xflux starts. I can't just start flux permanently at a specific setting.

    If anyone can help me I'd much appreciate it!

    Thank you,

    Eillo


  • f.lux team

    Yes we need a daytime setting exposed here.

    Actually our Android daemon is super-great (every feature ever!) and will port back to Linux pretty well. I need someone to update the GUI for it, which is why I haven't.


  • f.lux team

    Meanwhile, I guess, um, like this?

    xflux -k 3000 -l 1 -nofork &
    sleep 30
    kill -9 %1



  • But will this keep flux on all the time? I'd like it if the temperature would stay at 3000 ALL the time, not just at nighttime.


  • f.lux team

    @EilloNitsua well "kill -9" will make f.lux exit without giving it a chance to reset. So you would just have a tinted XServer then and nothing more.



  • I just need 3000 color temp 24/7 << This is all I would like to do.



  • @EilloNitsua may I ask why you need this?



  • Because I prefer the screen with a color temp of 3000, I don't need all the extra blue light while I am programming. It's just more comfortable on my eyes.

    So is there a way that I can keep the screen at the temp of 3000, all day, and all night?

    Thanks?



  • This post is deleted!


  • ? I'd appreciate it if you can let me know how to do this.

    Currently my screen is all bright and nasty. I'd much prefer flux activated at this time, even though it is daytime...

    Please let me know how to activate it day and night, 24/7?



  • So far the best I can think of is... During the day, I just use this:

    # This is New Zealand Configuration
    xflux -k 3000 -l 41 -g 175 -nofork
    

    Since it's New Zealand, it makes flux run during the day. Then when the screen starts to go light again, I just run this:

    # This is United Kingdom Configuration
    xflux -k 3000 -l 51 -g 00 -nofork
    

    flux continues to run again since in the UK at this point it is nighttime...

    If anyone happens to have a better solution, let me know. If nobody can figure one out, I'm just going to make a script that will run and do this automatically. If I do I will post it here so anyone can use it.

    Thanks.



  • @EilloNitsua Depending on the season you could find coordinates above the Arctic Circle or below the Antarctic Circle that are in perpetual darkness. You would just have to change the coordinates around every 6 months.



  • Google 'McMurdo Station coordinates' in the winter and that would work.



  • Hello, I would also like to have the colour temperature permanently set, is there any way to just tell xflux to simply ignore the time and location and just set the colour temperature?

    xflux -k 2700
    

    I mean, it would also be more unixy that way, on the "do one thing" principle... right now xflux is doing more than I need!

    cheers



  • only forgotten the ./



  • Created an account just to say that I would like this functionality as well. I can do it on my Windows machine, but not on here. I need f.lux to reduce eye strain in general, not to help my sleep cycle. If I could just have it on max flux-yness all the time, that would be fantastic.


  • f.lux team

    OK we owe everyone an update with all the parameters exposed!



  • This post is deleted!


  • I would also like it to work all the time to rest my eyes.
    Why is it possible on windows and not on linux ?

    Developpers who spend lots of time front of the display had to rest eyes with this fonctionnality.


Log in to reply
 

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