aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarJulien Valroff <julien@kirya.net>2011-11-20 14:26:10 +0100
committerLibravatarJulien Valroff <julien@kirya.net>2011-11-20 14:26:10 +0100
commit0d6c43f6bceb79b1b353724261a395b979559ee2 (patch)
tree58c60156c5407eebd8a4afd0f507976f92dcfac8
parent5ebe555914304e3c0ac9fbcc2dce65291a5f6e97 (diff)
downloadoblogout-0d6c43f6bceb79b1b353724261a395b979559ee2.tar.bz2
oblogout-0d6c43f6bceb79b1b353724261a395b979559ee2.tar.xz
oblogout-0d6c43f6bceb79b1b353724261a395b979559ee2.tar.zst
Fix default commands
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/002_default-commands.diff7
2 files changed, 10 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index f64701f..ec4d346 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+oblogout (0.3~bzr101-2) unstable; urgency=low
+
+ * Fix default commands
+
+ -- Julien Valroff <julien@debian.org> Sun, 20 Nov 2011 14:25:58 +0100
+
oblogout (0.3~bzr101-1) unstable; urgency=low
* Initial packaging for Debian
diff --git a/debian/patches/002_default-commands.diff b/debian/patches/002_default-commands.diff
index 16f2ed5..1d4a8e5 100644
--- a/debian/patches/002_default-commands.diff
+++ b/debian/patches/002_default-commands.diff
@@ -21,12 +21,13 @@ Last-Update: 2011-11-20
-restart = reboot
-suspend = pmi action suspend
-hibernate = pmi action hibernate
-+shutdown = dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stopt
+-safesuspend = safesuspend
+-lock = gnome-screensaver-command -l
++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 = safesuspend
--lock = gnome-screensaver-command -l
++safesuspend = pm-suspend-hybrid
+lock = xdg-screensaver lock
switchuser = gdm-control --switch-user
logout = openbox --exit