LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2019, 08:55 AM   #1
makeyourself
LQ Newbie
 
Registered: Dec 2012
Posts: 20

Rep: Reputation: Disabled
Xrandr brightness being reset


I'm trying to lower the display brightness with xrandr but every time I do something keeps resetting it to 1 (i.e. maximum) within a few seconds. I have two displays, HDMI1 and VGA1 both running on the i915 driver. The problem happens in the same way with either display.

The command I am using is e.g.
Code:
xrandr --output HDMI1 --brightness 0.4
I've tried disabling the gnome-settings-daemon Color Plugin which apparently can help with this issue (see here). I'm not sure I've actually managed to disable the plugin (I used my own method in dconf as I ran into problems with the one in the link) or how to to check but suffice to say it hasn't worked.

My distro is Debian Buster by the way.

Edit: Deleted
Edit 2: I have tried in both GNOME and KDE now and managed to check if the Color Plugin is running in both with:
Code:
ps aux | grep gsd-color
It is still running but only in GNOME. However I'm getting the brightness reset problem in both GNOME and KDE so I doubt the Color Plugin is the issue.

Last edited by makeyourself; 01-14-2019 at 12:04 PM.
 
Old 01-15-2019, 01:53 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
short answer:
full-featured desktop environments are likely to interfere with xrandr.
what you really want is to set brightness via the means provided by those DEs.

this a laptop?
 
Old 01-15-2019, 12:44 PM   #3
bgstack15
Member
 
Registered: Jul 2017
Distribution: korora
Posts: 90

Rep: Reputation: Disabled
Another few random thoughts: Is it possible there's a broken keyboard (or other input device) that is issuing a command to set the brightness somehow? Or how about some funky process like Firefox full-screen video or vlc?

Is it possible to turn on X debugging high enough to see anything useful in the logs?
 
Old 01-16-2019, 11:08 AM   #4
makeyourself
LQ Newbie
 
Registered: Dec 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Thanks for the replies, I have fixed it! The whole time it was a program called redshift (changes colour temperature at night) causing the problem. I had disabled redshift's behaviour so I assumed it was having no effect. But it was still running so apparently it was. Furthermore, I am able to set the display brightness for day and night in redshift's configuration file and have it applied automatically at start up, which is exactly what I wanted.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't adjust brightness with function key and can't adjust brightness after suspend. QuarkDev Linux Deepin 2 03-19-2015 10:46 AM
Mint 15 = black screen (brightness = 0) on start up - have to manually set brightness Netnovice Linux Mint 4 01-16-2014 08:46 PM
[SOLVED] How to set screen brightness with a bash script using xrandr nokangaroo Linux - Desktop 1 01-01-2014 07:09 PM
[SOLVED] Brightness set to zero: moved to http://www.linuxquestions.org/questions/slackware-14/brightness-set Z0K4 Linux - Laptop and Netbook 5 09-15-2011 10:09 AM
radeon and dual head, to xrandr or not to xrandr, that's the question i92guboj Linux - Desktop 1 06-17-2009 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration