Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redshift overrides xrandr brightness command #175

Open
planemad opened this issue Feb 8, 2015 · 7 comments
Open

Redshift overrides xrandr brightness command #175

planemad opened this issue Feb 8, 2015 · 7 comments
Labels

Comments

@planemad
Copy link

planemad commented Feb 8, 2015

My dual external monitor does not have display adjustment buttons, but needs to be configured via a windows app. On my ubuntu machine, I use xrandr to do the job and dim the brightness using the command:

xrandr --output VGA1 --brightness 0.4

As soon as its run, the monitors dims and whitens to 6500K Kelvin, and a second later redshift kicks in restores the color temperature and brightens the screen again.

Any idea how I could dim the monitor?

@lkraav
Copy link

lkraav commented Feb 8, 2015

Yeah, same thing happens for https://github.com/zoltanp/xrandr-invert-colors and it's perfectly logical sequence of events.

Haven't had much time to figure out a solution.

@jonls
Copy link
Owner

jonls commented Feb 10, 2015

@planemad Redshift has a brightness option, have you tried that?

@jonls
Copy link
Owner

jonls commented Feb 10, 2015

Also, see #143 for some discussion on other software competing for the gamma ramps. In short, we cannot lock the gamma ramps so there is nothing we can do to disable the gamma adjustments made by other programs or reapply them on top of the redness effect.

There is a new option in the next release of Redshift which allows you to apply the Redshift effect on top of the existing gamma ramps. I'm not sure if that would help in your case though.

@jonls jonls added the question label Feb 10, 2015
@planemad
Copy link
Author

@jonls thanks for the brightness tip, will test it tonight.

@mirh
Copy link

mirh commented Jun 23, 2019

On my ubuntu machine, I use xrandr to do the job and dim the brightness using the command

Ehrm.. I hope you are aware that command just lowers the intensity of the pixels/colours "in the framebuffer", and not in the physical screen (which effectively keeps the same level of backlighting)

Anyway, if you want to rely on xrandr, there are ways to use it completely in place of other tools
https://askubuntu.com/questions/1003101/how-to-use-xrandr-gamma-for-gnome-night-light-like-usage

EDIT: also, isn't this clashing with the information stated in #670?

@lake-effect
Copy link

What's the current status of this issue?

During the day I need to set the brightness with something like xrandr --output eDP-1 --brightness 1.1 for readability, but then I have to snooze Redshift repeatedly to maintain the setting. I know I can "make this work" by only using Redshift at night, but then I lose all the utility of having it automatically manage the schedule. So I run into the same problems still.

@pdolinic
Copy link

pdolinic commented Mar 8, 2023

Same here for what @lake-effect mentioned, any way to get around this?

Edit: Found a solution, you can pipe it like this:

xrandr --output eDP-1 --brightness 0.5 | redshift -O 4500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants