The consolekit tag has no wiki summary.
6
votes
1answer
166 views
How do DE's call ACPI functions?
Okay, first off, this is not a problem I am facing, but I would like to understand this better.
If I wish to shutdown / reboot my machine from the command line I need to call:
$ sudo poweroff
$ sudo ...
3
votes
2answers
2k views
How do I shut down a system through a ConsoleKit DBus message as user?
I found the following command line to shut down a Debian/GNU Linux system
dbus-send \
--system \
--dest=org.freedesktop.ConsoleKit \
--type=method_call \
--print-reply \
...