Giter VIP home page Giter VIP logo

Comments (6)

phillipberndt avatar phillipberndt commented on May 23, 2024

I don't see how one could detect whether a change in --gamma was intentional. Always ignoring the --gamma value doesn't work either, because some users might use this intentionally.

Why is it important to you to correctly detect this? (I guess some postswitch script is in place? Would it help to report what changed to the script?)

The other thing I can think of is to give autorandr an option to generally ignore certain xrandr options, e.g.

autorandr -c --skip-options "gamma"

from autorandr.

blueyed avatar blueyed commented on May 23, 2024

My main issue here was that autorandr did not detect it as the same setup, although I've not (intentionally) changed it.

I am currently in the process of migrating away from gnome-settings-daemon, using awesomeWM as window manager - this might have influenced it.

At first, I thought that it was maybe some incremental counter - but currently it appears to stick.

from autorandr.

blueyed avatar blueyed commented on May 23, 2024

I think this gamma difference comes from using redshift.

So for me a --skip-options argument would be necessary.

from autorandr.

blueyed avatar blueyed commented on May 23, 2024

@phillipberndt
I've tested your branch/commit: it works as expected.
Thanks!

from autorandr.

blueyed avatar blueyed commented on May 23, 2024

Now it would be nice, if the system script (pm-utils/40autorandr) would read some config file (/etc/default/autorandr.conf) or something similar to allow for adjusting the command to be run:

AUTORANDR="autorandr -c --default default"

from autorandr.

phillipberndt avatar phillipberndt commented on May 23, 2024

Great. I pulled this to master now.

from autorandr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.