Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
No multi-monitor Support (Linux) #16
Comments
thewebdev
commented
Aug 17, 2012
|
Same issue here using Linux Mint 13 XFCE. Connected my laptop to a larger monitor, but F.lux works only on the laptop monitor, and not the larger secondary monitor. |
|
What is your display config? separate xserver, nvidia or xrandr? |
gdi2k
commented
Aug 22, 2012
|
I use xrandr. Output from "xrandr" command is:
This is a laptop connected to a docking station with two external monitors attached (VGA1 and HDMI2). Laptop display (LVDS1) is off. |
thewebdev
commented
Aug 22, 2012
|
I am a linux newbie and didn't understand your question. However, this is the output of xrandr for me:
|
timoc
commented
Oct 14, 2012
|
I have this issue also, but cannot find the source for xflux in the git repository to try and fix it. |
LeVieuxGildas
commented
Nov 13, 2012
|
Same problem in here, with fewer screens. It worked on the laptop screen when it was on, but really, the point is in the main external monitor.
|
PeterNachbaur
commented
Dec 2, 2012
|
I also have this problem and my xrandr is:
|
djack
commented
Mar 7, 2013
|
same problem: |
herf
commented
Mar 7, 2013
|
will fix this. |
herf
commented
Mar 8, 2013
|
https://herf.org/flux/xflux-pre.tgz adds support for RANDR by default (can go back to old behavior with -r 0).
Still need to poll for display changes infrequently - it is quite expensive and makes the X Server hiccup. |
fiznool
commented
Apr 22, 2013
|
Magnificent, this works perfectly for me (Ubuntu 12.10). For anybody that needs numpty-proof instructions:
|
almereyda
commented
Aug 1, 2013
|
hi @fiznool , what do you mean by "applet"? would the gui application from this repo work together with the tgz above? so it's not just not using the ppa version, but this one here, AND not using xflux, but xflux-pre ? ease ;)
./xflux: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory
|
fiznool
commented
Aug 2, 2013
|
Hmm. It's been a while since I did this so I'm not 100% sure, however I think I used the PPA version and replaced the main f.lux binary with the .tgz one, as per my post. The applet is the thing that sits in the status bar / dock thing at the top of the Ubuntu screen. |
CossRooper
commented
Sep 9, 2013
|
@herf, any chance of submitting a pull request for the code that fixes this issue? It'd be great to have it in the main packages. |
myano
commented
Nov 8, 2013
|
If you download the xflux mentioned here: http://justgetflux.com/linux.html under "xflux daemon (command line, but for X-Windows)" and use that it seems to work for multiple monitors by default. |
jbremer
commented
Jun 28, 2014
|
I had the same issue, but @herf's version appears to work! Thanks a lot. |
azamat-sharapov
commented
Jul 7, 2014
|
It was working previously on my Ubuntu 13.10, but not working on 14.04 now. I tried to use 32-bit version, but getting error:
3 hours of googling and trying solutions didn't help, can you help? red eyes in the morning look too bad :( |
herf
commented
Jul 7, 2014
|
apt-get install libxrandr? |
azamat-sharapov
commented
Jul 7, 2014
|
hahaha, @herf , I just tried that about 30 seconds ago and was going to write here. It is good, that github has real-time update. This is the exact command I ran to get it working:
Now saving my eyes. Thanks anyway! |
bvrulez
commented
Mar 7, 2015
|
I had the same issue and just wanted to say thank you very much! |
juddey
commented
Apr 22, 2015
|
I had the same issue too - thanks all for the fixes! |
zanval
commented
Jul 6, 2015
|
Using the binary from the sitte meantioned above, it works for me too :) @Kilian Is there a reason why the version differs from the one on the website? |
MichaelAquilina
commented
Aug 27, 2015
|
I can also confirm downloading the binary in the link above works for me. Is there any chance the ppa will be updated to include this? |
mordka
commented
Sep 7, 2015
|
@herf good job, this should be propagated to PPA |
hetdev
commented
Oct 13, 2015
|
you can try this solution: |
cipri-tom
commented
Nov 23, 2015
|
@herf Great job! I have to add that your version also work when using the NVidia drivers, while the original one didn't. thank you! |
mightyspaj
commented
Nov 26, 2015
|
That binary works great, but the problem is that the lighting temperature isn't the same on both monitors. Is there a way to have the lighting temperature the same on both? |
kitingChris
commented
Dec 2, 2015
|
Well I tried this and it works partly for me. Laptop and the other screen were not using flux. Using Ubuntu 15.10 with gnome shell (which also is responsible for the monotor config). I guess that uses xrandr as well.
|
shideneyu
commented
Jan 11, 2016
|
Thank you Herf, your solution works like a charm. |
geekosaur
commented
Feb 1, 2016
|
I see a comment about needing to poll for monitor changes. You shouldn't need to do that; you can use xrrSelectInput to request RROutputChangeNotify events. |
gdi2k commentedAug 15, 2012
Using Xubuntu 12.04, I can only make f.lux work on the main monitor - my second monitor continues to blind me! ;-)