]> Dogcows Code - chaz/openbox/commitdiff
don't let the session scripts take arguments
authorDana Jansens <danakj@orodu.net>
Wed, 23 May 2007 17:59:58 +0000 (17:59 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 23 May 2007 17:59:58 +0000 (17:59 +0000)
data/xsession/openbox-gnome-session.in
data/xsession/openbox-kde-session.in
data/xsession/openbox-session.in

index cacfec4d5b7106c9f78c9ab7cae064f53980631a..278ac6a8ed5a42aa55d1caaa3aef5ab913d40a84 100644 (file)
@@ -1,5 +1,12 @@
 #!/bin/sh
 
+if test -n "$1"; then
+    echo "Syntax: openbox-gnome-session"
+    echo
+    echo "See the openbox-gnome-session(1) manpage for help."
+  exit
+fi
+
 # Run GNOME with Openbox as its window manager
 export WINDOW_MANAGER="@bindir@/openbox"
 exec gnome-session --choose-session=openbox-session "$@"
index 0fe009408a6fef68b1f93dac4f803b711cf9fb29..160172605b06e160120fda8133ab59fe52ec4389 100644 (file)
@@ -1,5 +1,12 @@
 #!/bin/sh
 
+if test -n "$1"; then
+    echo "Syntax: openbox-kde-session"
+    echo
+    echo "See the openbox-kde-session(1) manpage for help."
+  exit
+fi
+
 # Run KDE with Openbox as its window manager
 export KDEWM="@bindir@/openbox"
 exec startkde "$@"
index b3f1c0574b8742883b0ce6d1b28714df69538390..cc2169f4b6956a00538c8fc779e9fc2e83249296 100644 (file)
@@ -1,5 +1,12 @@
 #!/bin/sh
 
+if test -n "$1"; then
+    echo "Syntax: openbox-session"
+    echo
+    echo "See the openbox-session(1) manpage for help."
+  exit
+fi
+
 AUTOSTART="$HOME/.config/openbox/autostart.sh"
 GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
 
This page took 0.023494 seconds and 4 git commands to generate.