Hacker News new | ask | show | jobs
by jvinet 4105 days ago
If you're on Linux, you can accomplish this with dbus.

https://github.com/jvinet/dotfiles/blob/master/bin/doorman.p...

1 comments

What else do you need running for this? I don't see anyone exposing "org.freedesktop.login1.Manager".

Or how does this get called?