[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: let's split the systemd binary package

> "Session tracking" includes suspending/hibernating, because logind has
> a mechanism to let apps delay suspend, which is necessary for things
> like closing the inherent race condition in "lock the screensaver when
> we suspend... oh, oops, it didn't get scheduled until after we
> resumed, so the old screen contents are still visible for a moment
> when you open your laptop".

xlock && /usr/sbin/pm-suspend

That is the flexible way of doing that specific thing with a few ifs or
config checks where needed.


'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)

In Other Words - Don't design like polkit or systemd

Reply to: