ArchiSteamFarm
ArchiSteamFarm copied to clipboard
Make --system-required work on Linux?
Checklist
- [X] I read and understood ASF's Contributing guidelines
- [X] I also read Setting-up and FAQ, I don't need help, this is an enhancement idea
- [X] This is not a duplicate of an existing issue
- [X] My idea doesn't duplicate existing ASF functionality described on the wiki
- [X] I believe that my idea falls into ASF's scope and should be offered as part of ASF built-in functionality
- [X] My idea doesn't violate the Steam Subscriber Agreement
- [X] My idea doesn't violate the Steam Online Conduct
- [X] This is not ASF-ui suggestion
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.