Open JustArchi opened 4 months ago
Make --system-required work also on Linux, since right now we have a working implementation for Windows exclusively.
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.
systemd-inhibit --list
Current solution works on Windows exclusively.
Yes, I can code the solution myself and send a pull request
Wishlist task, probably much more effort than it's worth, but might be a nice challenge.
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.