I understand that clicking "shut down" from the menu that comes up on clicking the cogwheel triggers the following command to be executed:
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown
However, when I execute this command on a terminal, I get the following error:
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
Is it because 14.04 uses some other service for shutting down, or am I doing something wrong?
Note: This question is in follow-up of:
systemd-logind
manages user sessions in 14.04 (replacing consolekit and upower with login1), the commands to use are now:PowerOff:
Reboot:
Suspend:
Hibernate:
Source: forum.ubuntu-fr.org