Skip to main content

Module logind

Module logind 

Source
Expand description

SessionBackend over logind (loginctl) and the kernel’s power-supply class.

Structs§

Logind

Functions§

gamemode_clients 🔒
ClientCount of Feral GameMode on the user’s bus, read through the user manager (--machine=<uid>@.host --user); 0 if GameMode is not there.
parse_list
Session ids from loginctl list-sessions --no-legend (first column).
parse_session
Parse loginctl show-session key=value output into a session.
read_power 🔒
show_session_argv
One --property per property: systemd 260’s loginctl prints nothing (and exits 0) for a comma-separated list, so every session went unseen.