Permalink
Browse files

Update the logout scripts

  • Loading branch information...
1 parent 763226c commit d611a83769541e1224022a5269221c4eebd28996 David Mohr committed Apr 19, 2010
Showing with 8 additions and 12 deletions.
  1. +6 −0 README
  2. +1 −5 reboot/gnome
  3. +1 −7 reboot/xfce4
View
6 README
@@ -56,6 +56,12 @@ appropriate logout command, please send me a copy and I will include it.
*****************************************************************************
+* To Do:
+********
+
+ - Internationalization, if there is enough demand for it.
+
+*****************************************************************************
Please email me with any questions, comments or if you should find a bug at
david@mcbf.net.
View
@@ -2,8 +2,4 @@
# this way to logout probably also saves your session
# If you know how to logout w/o saving the session, let me know
-OUT=`gksudo -- ./grub-choose-default.py -r | grep -i reboot`
-
-if [ -n "$OUT" ]; then
- gnome-session-save --kill
-fi
+gnome-session-save --kill
View
@@ -2,10 +2,4 @@
# xfce4-session-logout is the name of the binary under Debian,
# it's possible that it is xfce-session-logout on your system
-BASE=`dirname $0`
-OUT=`gksudo -- $BASE/../grub-choose-default.py -r | grep -i reboot`
-
-if [ -n "$OUT" ]; then
- xfce4-session-logout
-fi
-read a
+xfce4-session-logout

0 comments on commit d611a83

Please sign in to comment.