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

Share:
35

Related videos on Youtube

marinus
Author by

marinus

Updated on September 18, 2022

Comments

  • marinus
    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
      David Foerster about 9 years
      I 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
      marinus almost 5 years
      please note i am a student and a beginner........
    • Dushyant Tankariya
      Dushyant Tankariya almost 5 years
      You have posted the code, so do you want to empty your editText after this code?
    • vc73
      vc73 almost 5 years
      you should be able to do that with EditText.setText() method
    • marinus
      marinus almost 5 years
      yes it should clear the number you enter when it is not the correct one
  • kcpr
    kcpr over 8 years
    Works well, thanks. Just don't understand why it's not accepted as solution.
  • Anwar
    Anwar about 8 years
    xflux works flawlessly
  • marinus
    marinus almost 5 years
    thank 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
    Dushyant Tankariya almost 5 years
    When 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.