aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2014-07-26 18:08:31 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2014-07-26 18:08:31 -0400
commite101ebd06cec39e17e00d0ae7f4950a8ddd58cee (patch)
treebf3d7cb32e8c242aede22550bb43030fea6a42d0
parent95ceae7ea14dad532b934f0b613d5eaaa54d313f (diff)
downloadoblogout-e101ebd06cec39e17e00d0ae7f4950a8ddd58cee.tar.bz2
oblogout-e101ebd06cec39e17e00d0ae7f4950a8ddd58cee.tar.xz
oblogout-e101ebd06cec39e17e00d0ae7f4950a8ddd58cee.tar.zst
d/patches/002_default-commands.diff: Update dbus signals for logind, remove hibernate and lock command from default.
-rw-r--r--debian/patches/002_default-commands.diff12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/002_default-commands.diff b/debian/patches/002_default-commands.diff
index edbe14d..69dc90c 100644
--- a/debian/patches/002_default-commands.diff
+++ b/debian/patches/002_default-commands.diff
@@ -9,7 +9,7 @@ Last-Update: 2011-11-20
bgcolor = black
buttontheme = simplistic
-buttons = cancel, logout, restart, shutdown, suspend, lock
-+buttons = cancel, logout, restart, shutdown, suspend, hibernate, lock
++buttons = cancel, logout, restart, shutdown, suspend
[shortcuts]
cancel = Escape
@@ -24,11 +24,11 @@ Last-Update: 2011-11-20
-safesuspend = safesuspend
-lock = gnome-screensaver-command -l
-switchuser = gdm-control --switch-user
-+shutdown = dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
-+restart = dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
-+suspend = dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
-+hibernate = dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Hibernate
-+safesuspend = pm-suspend-hybrid
++shutdown = dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.PowerOff boolean:true
++restart = dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Reboot boolean:true
++suspend = dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true
++hibernate = dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Hibernate boolean:true
++safesuspend = dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.HybridSleep boolean:true
+lock = xdg-screensaver lock
+switch = gdmflexiserver
logout = openbox --exit