summaryrefslogtreecommitdiff
path: root/xfce4-session/xfsm-manager-dbus.xml
Commit message (Collapse)AuthorAgeFilesLines
* Hybrid Sleep support - "hibernate" and suspend the systempoma2017-06-111-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hybrid Sleep initially only writes hibernation image to SWAP space, it does not power off the machine, as a whole Suspend To Disk (S4) does, it rather Suspend To RAM (S3). The benefit of this combination is pronto RESUME from S3, whilst in case of battery drained or interruptions in power supply of any kind, you ain't gonna lose your work. Hybrid Sleep is the feature of the Linux kernel. To test it directly via cli: echo suspend > /sys/power/disk ; echo disk > /sys/power/state However to make this feature work, both Suspend To RAM (S3) and Suspend To Disk (S4) must be provided by the hardware dmesg: ACPI: (supports ... S3 S4 ...) in working order. Furthermore Suspend To Disk (S4) requires a relatively simple configuration an appendix to kernel command line: resume=<path to resume partition> i.e. directive to utilize particular SWAP space man 7 dracut.cmdline Ref. https://www.kernel.org/doc/Documentation/power/swsusp.txt Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
* Add switch-user to the xfsm-logout programEric Koegel2016-06-281-0/+5
|
* Start with the dbus register interfaceEric Koegel2016-06-281-0/+28
|
* Directly use upower for suspend/hibernate.Nick Schermer2012-03-241-1/+33
| | | | | Working with Xfpm is too much work to get right for 4.10, so readd the upower dbus communication.
* Add the DBus manager methods.Nick Schermer2012-03-241-23/+30
|
* * settings/session-editor.c: Implement a rudimentary sessionBrian Tarricone2008-10-201-0/+2
| | | | | | | | | | editor. Still a lot more to do. * settings/xfce4-session-marshal.list: Add marshallers for dbus signals. * settings/xfce4-session-settings.glade: Re-enable a few widgets. * xfce4-session/xfsm-*-dbus.xml: Add ClientCSymbol annotations. (Old svn revision: 28320)
* * configure.in.in: Make D-Bus a hard dependency.Brian Tarricone2008-10-061-0/+145
* xfce4-session/Makefile.am: Add xfsm-error.* and D-Bus stuff to the build. * xfce4-session/{xfsm-manager-dbus.xml,xfsm-client-dbus.xml}: Add D-Bus interface introspection files. * xfce4-session/shutdown.*: Make the shutdown type a real enum, and add values for 'ask', 'suspend', and 'hibernate'. * xfce4-session/xfsm-shutdown-helper.*: Make sure the shutdown types/commands don't clash with shutdown.h. * xfce4-session/xfsm-global.*: Add some GValue convenience functions. * xfce4-session/xfsm-error.*: Add XfsmError type, and register the error domain with D-Bus. * xfce4-session/{xfsm-manager.*,xfsm-client.*}: Implement D-Bus server for org.xfce.Session.Manager and org.xfce.Session.Client. * xfce4-session/main.c: Hook up some D-Bus stuff. * po/POTFILES.in: Add xfsm-manager.c and xfsm-client.c to POTFILES. (Old svn revision: 28049)