Skip to content

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

@JustArchi

Description

@JustArchi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚪ No priorityIssues marked with this label are not being actively worked on for time being.✨ EnhancementIssues marked with this label indicate further enhancements to the program, such as new features.👍 PR-okIssues marked with this label are good candidates for being accepted in a pull request.🙏 WishlistIssues marked with this label are wishlisted. We'd like to make them happen but they're not crucial.🤝 Help welcomeIssues marked with this label are open for help. If you could offer us a hand, please do!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions