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

Save backlight state #19

Open
Drsheppard01 opened this issue Jul 30, 2024 · 3 comments
Open

Save backlight state #19

Drsheppard01 opened this issue Jul 30, 2024 · 3 comments

Comments

@Drsheppard01
Copy link

I noticed that dinit does not save the backlight level when restarting or re-enabling. Could you please add such a service?
There are similar projects for OpenRC: https://github.com/beatussum/save-backlight/blob/master/save-backlight
SystemD: https://github.com/systemd/systemd/blob/b56920e36c5692c0dde701bfb48330653a9c62c9/units/systemd-backlight%40.service.in

Best regards, Drsheppard01

@q66
Copy link
Member

q66 commented Aug 16, 2024

this is relatively complicated to do properly and would need cooperation from multiple places (a udev rule, a helper program, and a bunch of other things)

@Drsheppard01
Copy link
Author

In OpenRC service it's just drop into cache and it's daemon running with new booting

@q66
Copy link
Member

q66 commented Aug 17, 2024

and? it doesn't handle like 90% of scenarios that may potentially arise

the correct implementation is in systemd and it's significantly more complex

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

No branches or pull requests

2 participants