kilian / f.lux-indicator-applet Goto Github PK
View Code? Open in Web Editor NEWThis repository is unmaintained. Visit:
Home Page: https://github.com/xflux-gui/xflux-gui
License: Other
This repository is unmaintained. Visit:
Home Page: https://github.com/xflux-gui/xflux-gui
License: Other
This repository is unmaintained. Visit: https://github.com/xflux-gui/xflux-gui f.lux indicator applet Better lighting for your computer f.lux indicator applet is an indicator applet to control xflux, an application that makes the color of your computer's display adapt to the time of day, warm at nights and like sunlight during the day
https://launchpad.net/~kilian/+archive/ubuntu/f.lux
Sports a 2013-11-29 version. Which did not yet support multi-monitor.
Hi,
I've seen that I'm not the first one asking this question, but I didn't find an answer to it, so here I am: I'm using a dual screen configuration with my laptop's screen and an external one. Once I've set up f.lux on this laptop (Ubuntu 14.04 LTS), I clearly see changes on my laptop's screen, but not on my external one (even if the first one isn't the primary display). Is there a way to have f.lux effective on both screens (as it is on my Windows session)?
Thanks.
Hi,
Is there a one-liner via terminal to uninstall the applet on Ubuntu?
Kind Regards
The screen colour is not affected by f.lux However, preview does cause some change but it sometimes switches back.
This seems to be a problem with other Ubuntu releases (10.10, 11.04)
#10
#9
Platform:
fluxgui 1.1.8 from PPA
xserver-xorg-core 2:1.7.6-2ubuntu7.6
Ubuntu 10.04.3 LTS
Kernel: 2.6.32-33-generic
Is it possible to set the transition speed to 1 hour instead of 30 seconds? I know there isn't an option in the GUI so I was wondering if it could be set in a config file.
I recently discovered flux and am a huge fan of it - using it on Windows 8 at the moment. I have made several attempts at installing it on my Ubuntu 12.04 64 bit machine, but in vain.
Installation - installed it via apt-get install fluxgui after adding the suggested ppa.
Issues -
Noticed that others also experienced similar issues - http://lists.bitrot.info/pipermail/linguru/2012-April/000033.html Looks like it is an issue with running the 32 bit flux on 64 bit machines.
i get an error when i try to run flux on ubuntu 13.10 with openbox:
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')
ValueError: could not find setting
From what it looks like, someone attempted poorly to port Python 2.7 code to Python 3.
The below section includes a section of an error log when attempting to install with python3
as the default Python interpreter:
running install_lib
byte-compiling /usr/lib/python3.5/site-packages/fluxgui/fluxapp.py to fluxapp.cpython-35.pyc
File "/usr/lib/python3.5/site-packages/fluxgui/fluxapp.py", line 28
print e
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /usr/lib/python3.5/site-packages/fluxgui/settings.py to settings.cpython-35.pyc
File "/usr/lib/python3.5/site-packages/fluxgui/settings.py", line 102
except DirectoryCreationError, e:
^
SyntaxError: invalid syntax
su -
pip install pexpect
yum install gnome-python2-gconf python-appindicator
I tried building fluxgui for PPC Lucid and was successful at that, however there is no source for xflux.
It would be great if there was support for powerpc. Thanks!
I haven't checked since around a month ago, but at that point the repository was a couple of commits behind - I still had to manually delete the pid file after unexpected terminations so it was probably most recently updated before Micha Gorelick's last commit.
Hello,
Apologies if this is not the best place to report this "Issue", but your ppa does not provide a package for Ubuntu 14.10 and I was wondering if you would likely have time to address this in the near future?
Thanks for this project :)
unable to use debian releases on fedora.
After running
python setup.py build
exchanging the xflux
binary with the one from http://justgetflux.com
and running
sudo python setup.py install
(and installing the dependencies #40)
it runs fine, but the SVGs don't get loaded,
When I press preview
, I see the change. The problem is the automatic change. It doesn't happen, so I end up having to press preview
. I set my lat and long correctly, I'm sure.
Is this a known bug?
It appears that either xflux or the applet - I'm not sure, given #52 - is causing an interaction, possibly with Cinnamon, during the "fade to black" animation as the screen goes to sleep in Linux Mint 17.1 "Rebecca." This causes flickers and bright flashes which appear to be un-color-corrected.
Hey there,
sorry for posting it here but http://stereopsis.com/flux/ doesn't provide any information on where to get help / send bugs to etc.
At first I thought it's just the gui's buggy preview button but it seems xflux doesn't start at all for me:
This is what I get when starting it:
simon@philosoph:~$ xflux -l 49.25 -g 8.42 -k 4000
Welcome to xflux (f.lux for X)
This will only work if you're running X on console.
Sorry, we only support 24/32-bit displays right now.
XF86VidModeGetGammaRampSize returned 2048 entries.
However, the display definitely runs on 24 bit (as set in the Nvidia X server settings dialogue).
I'm on Ubuntu 11.10 x64 with an Nvidia Quadro FX 880M graphics card.
Installed it using the apt-get method after adding the PPA.
I can see the applet but it is unable to detect current screen temperature and won't change color and clicking preferences in the menu doesn't do anything.
After installing ia32-libs it detects current screen temp but still won't change after sunset. Preferences pane is opening but won't remember “launch on startup” and preview button doesn't work.
It seems that whatever you do, it doesn't work in Ubuntu 12.04 x64
I was following the instructions from here: http://justgetflux.com/linux.html.
After adding the PPA, when running sudo apt-get update
I get these errors:
http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/saucy/main/binary-amd64/Packages 404 Not Found
http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/saucy/main/binary-i386/Packages 404 Not Found
In keeping with the Unity look and feel, when you click preferences multiple times, it should bring the same panel to the front instead of opening up a new one each time.
Is xflux itself opensource? Could it be (re)compiled against 64 bit system? Thanks
Using Xubuntu 12.04, I can only make f.lux work on the main monitor - my second monitor continues to blind me! ;-)
I'm using Ubuntu 10.10 and f.lux from the Ubuntu PPA. The f.lux indicator applet works, but when I press "Preview" on the dialog, my color temperature does not change at all but stays at 5931K. The screen's color temperature also does not change at night as it should.
If it matters, I'm using a Linux 3.0-rc1 kernel I compiled myself rather than the stock Ubuntu Maverick 2.6.35 kernel. I don't know what other information you need, but will be glad to give it if necessary.
that's strange to find a binary xflux in the source directory ?
Can't you include the source code of xflux and compile it via the setup.py ?
that's evil to include such a binary.
I'm using Mac OS X 10.10, f.lux only work on the main monitor, my second monitor continues blind me! :)
So I installed fluxgui according to the instructions at http://stereopsis.com/flux/linux.html successfully. I killed the xflux binary that was running already and started the f.ux indicator applet from the GNOME Applications menu. I input my longitude and latitude, but my screen temperature did not change.
Using the Preview button seemed to change the temperature a little bit, but not completely. Opening the Preferences dialog from the notification area abruptly changes the color temperature to the desired nighttime setting, but only for a few seconds before changing back to the default color temp. The "current color temperature" in the preferences dialog seems to be all over the place as well, and doesn't seem to change in real-time.
As far as I can tell, running /usr/bin/xflux -z 00000 from the command line works fine. I'm not sure how to go about diagnosing this, but if there any specific tests to narrow down the problem please let me know.
W: Failed to fetch http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/oneiric/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/oneiric/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Thanks ;)
I use fluxbox and want flux to work without the gnome dependencies. I'm sure there are some others interested in this too, or maybe not. I'm opening this issue to ask what would have to be done to do this. I've forked the code, looked in src/gui and it seems the only dependencies are gconf and appindicator.
I believe I can just change self.client in the settings class to a pickled dict which acts like gconf for that dependency. I see the indicator is setup with appindicator, an ubuntu/gnome library? That looks like it's just for the indicator in the panel?
Perhaps I can add something to make it easy to put it on alternate window manager panels. Just some ideas, any feedback would be appreciated. I'm currently using the command line version, but I know some who don't use gnome would like to use the GUI version.
Mint 17 is based on Ubuntu 14.04 (LTS) and uses slightly different indicators than the previous versions. So while the initial dialogue after install worked, the indicator does not show up and it's not possible to change your settings easily.
This would allow for multiple uses; most notably where people work by night, and where people work in office spaces without windows. 🌃
I get this exception when I try to run fluxgui version 1.1.3-0ubuntu1 on Lucid:
/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'
Someone also reported this in the comments to your blog post.
Installed flux, everything fine. The icon shows up on the bar and if I click and select Preferences nothing happens. Also the screen isn't getting any less bright so I guess flux isn't working either.
The word "lighting" is spelled "lightning" in applet preferences: "Better lightning for your computer". The same typo also exist in the description of the GitHub page: "Better lightning for Ubuntu http://stereopsis.com/flux/linux.html".
Software version: fluxgui 1.1.8
As best I can tell, the color temperature gets 'stuck' whenever the screen sleeps (that's the part I'm least sure about, the involvement of sleep) on Linux Mint 17.1 "Rebecca". Waking the machine yields no change in color temperature until the applet is quit and restarted, then it quickly fades to the correct temperature.
My system occasionally slows down with fluxgui using lots of CPU. This is during the day, so the screen temperature is not being changed.
I'm running latest PPA version on Natty. Any debug info I can provide?
Without changing the screen, repeatedly opening the preferences and closing shows a wide range of different current color temperatures (2700K to 6500K). Seems to be very random.
Apparently the applet requires a python-appindicator package, which isn't available for Debian.
miranda$ ./fluxgui
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxgui.py", line 2, in <module>
import appindicator
ImportError: No module named appindicator
On Ubuntu 13.10 after installing python-gconf and python-appindicator I get:
Critical error. Exiting.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 271, in
app = FluxGUI()
File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 30, in init
self.exit(1)
File "/usr/local/lib/python2.7/dist-packages/fluxgui/fluxapp.py", line 49, in exit
gtk.main_quit()
RuntimeError: called outside of a mainloop
I've tried launching it using the app searcher, and the "applet" appears to have been launched, but it didn't show up anywhere on the graphic interface. No window, nothing.
I've tried launching it from the console as fluxgui, but the console assures me that it is already running.
I've been using fluxgui for a long time. Today after a reboot I got this message running it manually from console:
fluxgui is already running, exiting
Exception AttributeError: AttributeError("'FluxGUI' object has no attribute 'xflux_controller'",) in <bound method FluxGUI.del of <main.FluxGUI object at 0x7f4e0679b750>> ignored
Well, fluxgui is not running.
xflux works flawleslly
uname -a:
Linux tiago-linuxbox 3.18.0-031800-generic #201412071935 SMP Mon Dec 8 00:36:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04.1
Or maybe reccomend which Ubuntu PPA's to use instead.
Thanks!
Is xflux maintained in some other version control system? https://github.com/Kilian/f.lux-indicator-applet seems to only contain a 32-bit binary for x86.
I tried to install on 15.04 but it couldnt get it from ppa. Any help would be appreciated.
W: Failed to fetch http://ppa.launchpad.net/kilian/f.lux/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found
When I used Ctrl-C on the command line to quit fluxgui, it closed, but when I tried to start it again from the command line, I got this error:
"fluxgui is already running, exiting"
Doing a quick "ps aux | grep fluxgui" didn't show it.
If gnome-settings-daemon is not running, fluxgui crashes with the following:
$ fluxgui
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py", line 365, in <module>
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 134, in __init__
self.setup_indicator()
File "/usr/lib/pymodules/python2.6/fluxgui/fluxgui.py", line 145, in setup_indicator
'gtk-icon-theme-name')
ValueError: could not find setting
This can be a problem in KDE, which obviously doesn't run gnome-settings-daemon by default.
When i try to run fluxgui in terminal, i get the following error :
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property gtk-toolbar-style' of type
GtkToolbarStyle' from rc file value "((GString*) 0x108a6c0)" of type GtkToolbarStyle' /home/admin/.gtkrc-2.0:15: error: unexpected character '=', expected keyword - e.g.
style'
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')
ValueError: could not find setting
If i try to run the applet in itself, it show's its loading and then it disappears without opening anything
Sometimes I have a problem with Flux, I think it happens after sleeping mode. When it happens, task manager shows 100% usage of 1 core and it points on flux.
I don't know why it happens, I use Thinkpad T500 with Ubuntu 15.04.
Flux is fantastic and I will always use it, thank You for your attention.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.