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

Make --system-required work on Linux? #3246

Open
8 tasks done
JustArchi opened this issue Jul 9, 2024 · 0 comments
Open
8 tasks done

Make --system-required work on Linux? #3246

JustArchi opened this issue Jul 9, 2024 · 0 comments
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.

Comments

@JustArchi
Copy link
Member

JustArchi commented Jul 9, 2024

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.

@JustArchi JustArchi added ✨ Enhancement Issues marked with this label indicate further enhancements to the program, such as new features. 🙏 Wishlist Issues marked with this label are wishlisted. We'd like to make them happen but they're not crucial. 🟢 Low priority Issues marked with this label are actively being worked on if nothing serious is on the list. ⚪ 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. 🤝 Help welcome Issues marked with this label are open for help. If you could offer us a hand, please do! and removed 🟢 Low priority Issues marked with this label are actively being worked on if nothing serious is on the list. labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant