Make --system-required work on Linux? #3246
Labels
✨ Enhancement
Issues marked with this label indicate further enhancements to the program, such as new features.
🤝 Help welcome
Issues marked with this label are open for help. If you could offer us a hand, please do!
⚪ No priority
Issues marked with this label are not being actively worked on for time being.
👍 PR-ok
Issues marked with this label are good candidates for being accepted in a pull request.
🙏 Wishlist
Issues marked with this label are wishlisted. We'd like to make them happen but they're not crucial.
Checklist
Enhancement purpose
Make --system-required work also on Linux, since right now we have a working implementation for Windows exclusively.
Solution
https://systemd.io/INHIBITOR_LOCKS/
https://www.freedesktop.org/software/systemd/man/latest/org.freedesktop.login1.html
https://github.com/tmds/Tmds.DBus
And finally
systemd-inhibit --list
for verifying if it worked.Why currently available solutions are not sufficient?
Current solution works on Windows exclusively.
Can you help us with this enhancement idea?
Yes, I can code the solution myself and send a pull request
Additional info
Wishlist task, probably much more effort than it's worth, but might be a nice challenge.
The text was updated successfully, but these errors were encountered: