Inhibit support (login1 -> ConsoleKit). Index: plugins/power/gsd-power-manager.c --- plugins/power/gsd-power-manager.c.orig +++ plugins/power/gsd-power-manager.c @@ -74,9 +74,9 @@ #define GSD_POWER_MANAGER_NOTIFY_TIMEOUT_SHORT 10 * 1000 /* ms */ #define GSD_POWER_MANAGER_NOTIFY_TIMEOUT_LONG 30 * 1000 /* ms */ -#define SYSTEMD_DBUS_NAME "org.freedesktop.login1" -#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1" -#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager" +#define SYSTEMD_DBUS_NAME "org.freedesktop.ConsoleKit" +#define SYSTEMD_DBUS_PATH "/org/freedesktop/ConsoleKit/Manager" +#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.ConsoleKit.Manager" /* Time between notifying the user about a critical action and the action itself in UPower. */ #define GSD_ACTION_DELAY 20