Add logout script for lxde.
authorHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sun, 24 Feb 2008 15:56:33 +0000 (15:56 +0000)
committerHong Jen Yee (PCMan) <pcman.tw@gmail.com>
Sun, 24 Feb 2008 15:56:33 +0000 (15:56 +0000)
git-svn-id: https://lxde.svn.sourceforge.net/svnroot/lxde/trunk/lxde-data@280 3baf7735-d320-0410-8b56-b11ef3703fae

Makefile.am
configure.ac
lxde-logout.in [new file with mode: 0644]

index 99d9fd6..a3655aa 100644 (file)
@@ -1,4 +1,4 @@
-bin_SCRIPTS = startlxde
+bin_SCRIPTS = startlxde lxde-logout
 
 # Currently these paths are hardcoded.
 xsessiondir=$(datadir)/xsessions
@@ -10,6 +10,9 @@ defaults_DATA = default
 wallpapersdir=$(datadir)/lxde/wallpapers
 wallpapers_DATA=wallpapers/lxde_blue.jpg
 
+imagesdir=$(datadir)/lxde/images
+images_DATA=images/logout-banner.png
+
 EXTRA_DIST = LXDE.desktop.in startlxde.in $(defaults_DATA)
 
 CLEANFILES = $(bin_SCRIPTS)
index c571cfa..7827c6a 100644 (file)
@@ -21,6 +21,7 @@ dnl AM_GLIB_GNU_GETTEXT
 AC_OUTPUT([
   Makefile
   startlxde
+  lxde-logout
   LXDE.desktop
 ])
 
diff --git a/lxde-logout.in b/lxde-logout.in
new file mode 100644 (file)
index 0000000..4f6b199
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+lxsession-logout --banner "@prefix@/share/lxde/images/logout-banner.png"