don't let the session scripts take arguments

This commit is contained in:
Dana Jansens 2007-05-23 17:59:58 +00:00
parent 48314dc246
commit c3e0a6d734
3 changed files with 21 additions and 0 deletions

View 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 "$@"

View 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 "$@"

View 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"