Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Current values #230

Closed
Closed

Description

@jornmo

If I run

$ redshift -p

All I get is some standard values: 5500K brightness 1.0, even though I just ran

$ redshift -O 3000 -b 0.6

Is there, or could we get a flag that returns the current setting?

Activity

  1. jonls commented on Jun 18, 2015

    @jonls
    Collaborator

    You can run the second command line with -v to get more information about what is going on. The redshift -p does not connect to any currently running instances of redshift, instead it simply reports the values that would have been applied with the given parameters.

    What specifically is the information you are looking for? It seems that you are using one-shot manual mode (-O) so there is no temperature calculation that -p could report on. You already have the temperature which is 3000K.

  2. jornmo commented on Jun 18, 2015

    @jornmo
    Author

    I am trying to put together a GUI that can read the current status from one-shot mode, so that the user can know what Kelvin and brightness is being used at the moment.

  3. jornmo commented on Jun 18, 2015

    @jornmo
    Author

    So, what I would like is a flag that returns the current values from the running instance :)

  4. jonls commented on Jun 18, 2015

    @jonls
    Collaborator

    If you are using one-shot mode you already have the color temperature and the brightness, no? You supply them on the command line.

  5. jornmo commented on Jun 18, 2015

    @jornmo
    Author

    Well, I could have. Or I could have used the GUI. If I only used the GUI and it never crashed or anything like that, it would just be a matter of keeping the values internally in the program. But, if I set it from the terminal at one point, and then decide to open the GUI, the GUI would not know what the current values Redshift is using.

  6. jornmo commented on Jun 20, 2015

    @jornmo
    Author

    Hi again @jonls! Was my description clear enough? What do you think?

  7. jonls commented on Jun 20, 2015

    @jonls
    Collaborator

    It's currently not possible to get the current values of a running redshift process, unless you do something like redshift-gtk where redshift is run as a child process and the stdout is continuously monitored for updates. There has been some work on a D-Bus solution in #54 which would probably let you do what you want, but there's no ETA on that feature.

  8. jornmo commented on Jun 20, 2015

    @jornmo
    Author

    I see. OK, I will work with what's available then :) Takk for hjelpa 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions