JustArchiNET / ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
Apache License 2.0
11.09k stars 1.04k forks source link

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

Open JustArchi opened 2 months ago

JustArchi commented 2 months ago

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.