F.lux don't work on dual monitors (laptop + external)?
35
You have to install the package via apt-get and then manually download a modified version of the daemon file "xflux" (this is not the GUI) for your 32bit-System from https://justgetflux.com/linux.html under "xflux daemon (command line, but for X-Windows)".
I shut down the GUI before I did this and when starting it again, it worked.
I found this solution here: https://github.com/Kilian/f.lux-indicator-applet/issues/16
Related videos on Youtube
Author by
marinus
Updated on September 18, 2022Comments
-
marinus over 1 year
I want to reset the number edit text field to be empty after every try.
EditText editText = (EditText) findViewById(R.id.editText); int guessValue = Integer.parseInt(editText.getText().toString()); String message; if (guessValue > randomNumber) { message = "Lower !"; } else if (guessValue < randomNumber) { message = "Higher"; } else { message = "You got it! Try again"; generateRandomNumber(); }
-
David Foerster about 9 yearsI can recommend Redshift as an alternative. It's (mostly) functionally equivalent to f.lux, but FOSS and much better integrated with Linux in general and Ubuntu in particular. I never had issues with it my dual-monitor Xinerama setup. It also lets you configure pretty much any colour temperature you want.
-
marinus almost 5 yearsplease note i am a student and a beginner........
-
Dushyant Tankariya almost 5 yearsYou have posted the code, so do you want to empty your editText after this code?
-
vc73 almost 5 yearsyou should be able to do that with EditText.setText() method
-
marinus almost 5 yearsyes it should clear the number you enter when it is not the correct one
-
-
kcpr over 8 yearsWorks well, thanks. Just don't understand why it's not accepted as solution.
-
Anwar about 8 yearsxflux works flawlessly
-
marinus almost 5 yearsthank you, that is exactly what i wanted it to do.......... EditText editText = (EditText) findViewById(R.id.editText); int guessValue = Integer.parseInt(editText.getText().toString()); String message; ((EditText) findViewById(R.id.editText)).getText().clear(); if (guessValue > randomNumber) { message = "Lower !"; } else if (guessValue < randomNumber) { message = "Higher"; } else { message = "You got it ! Try again"; generateRandomNumber(); }
-
Dushyant Tankariya almost 5 yearsWhen you have already assigned editText on
EditText editText = (EditText) findViewById(R.id.editText);
then you doesn't need to write your code like((EditText) findViewById(R.id.editText)).getText().clear();
I've updated my answer you can verify it once.