You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
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.
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.
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.
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.
Activity
jonls commentedon Jun 18, 2015
You can run the second command line with
-vto get more information about what is going on. Theredshift -pdoes 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-pcould report on. You already have the temperature which is 3000K.jornmo commentedon Jun 18, 2015
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.
jornmo commentedon Jun 18, 2015
So, what I would like is a flag that returns the current values from the running instance :)
jonls commentedon Jun 18, 2015
If you are using one-shot mode you already have the color temperature and the brightness, no? You supply them on the command line.
jornmo commentedon Jun 18, 2015
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.
jornmo commentedon Jun 20, 2015
Hi again @jonls! Was my description clear enough? What do you think?
jonls commentedon Jun 20, 2015
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.
jornmo commentedon Jun 20, 2015
I see. OK, I will work with what's available then :) Takk for hjelpa 👍