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

read backlight settings from sysfs instead of applying dconf value #364

Open
danrobinson78 opened this issue Sep 12, 2021 · 1 comment
Open
Labels
template ignored! Basic informations are missing

Comments

@danrobinson78
Copy link

There's a bunch of bugs open against a few different repositories in here some of which are the correct component, and some of which are not.
mate-desktop/mate-settings-daemon#165
mate-desktop/mate-desktop#306
#76

Looks like the underlying issue is that m-p-m is grabbing a stored value in dconf and applying it instead of just reading what's currently set in sysfs. Most other DEs don't apply any backlight settings on login. I can just log in, and the brightness controls reflect whatever the hardware is actually set to at that time. So there's no surprise change in brightness but I can adjust up or down the usual way from whatever it is.

systemd-backlight applies backlight settings on boot on most distros by default so even the boot messages and login screen are already set to whatever backlight I was using when I shut down, so having MATE try to change that on login is jarring.

It still probably makes sense to write the selected values to dconf so that we can change brightness based on AC/battery switch or things like that. But brightness shouldn't be changed just by logging in.

@raveit65 raveit65 added the template ignored! Basic informations are missing label Sep 12, 2021
@lukefromdc
Copy link
Member

lukefromdc commented Sep 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template ignored! Basic informations are missing
Projects
None yet
Development

No branches or pull requests

3 participants