Lennart Poettering
8e7fd6ade4
logind: split up HandleSleepKey= into HandleSuspendKey= and HandleHibernateKey=
...
The kernel and X11 distuingish these two, and Thinkpad keys have both,
hence we really should distinguish them too.
2012-09-21 15:44:14 +02:00
Lennart Poettering
409133be63
logind: allow users to override their own suspend/sleep inhibitors
2012-09-21 11:57:48 +02:00
Lennart Poettering
f981b9c5be
logind: properly parse handle-lid-switch inhibitor
2012-09-19 15:29:24 +02:00
Lennart Poettering
beaafb2ea6
logind: rework power key/suspend key/lid switch handling
...
http://lists.freedesktop.org/archives/systemd-devel/2012-September/006604.html
https://bugzilla.gnome.org/show_bug.cgi?id=680689
This changes the meaning of the
HandlePowerKey=/HandleSleepKey=/HandleLidSwitch= setting of logind.conf
2012-09-19 13:10:10 +02:00
Lukas Nykryn
a34faf579d
login: check return of parse_pid and parse_uid
2012-08-23 13:53:30 +02:00
Kay Sievers
d2e54fae5c
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
2012-05-31 12:40:20 +02:00
Lennart Poettering
069cfc85f8
logind: optionally handle power, sleep and lid switch events
...
This takes handling of chassis power and sleep keys as well as the lid
switch over from acpid.
This logic is enabled by default for power and sleep keys, but not for
the lid switch.
If a graphical session is in the foreground no action is taken under the
assumption that the graphical session does this.
2012-05-30 15:01:51 +02:00
Lennart Poettering
d889a2069a
logind: implement suspend/hibernate calls with inhibition logic
2012-05-08 19:02:25 +02:00
Lennart Poettering
4943c1c94b
logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend"
2012-05-08 13:54:23 +02:00
Kay Sievers
9eb977db5b
util: split-out path-util.[ch]
2012-05-08 02:33:10 +02:00
Lennart Poettering
eecd1362f7
logind: implement delay inhibitor locks in addition to block inhibitor locks
...
This is useful to allow applications to synchronously save data before
the system is suspended or shut down.
2012-05-05 00:36:08 +02:00
Lennart Poettering
c7b5eb98e8
logind: hook up inhibit logic with idle hint logic
2012-04-16 18:59:08 +02:00
Lennart Poettering
f8e2fb7b14
logind: add shutdown/suspend/idle inhibition framework
2012-04-16 18:59:08 +02:00