don't let the session scripts take arguments
This commit is contained in:
parent
48314dc246
commit
c3e0a6d734
3 changed files with 21 additions and 0 deletions
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/sh
|
#!/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
|
# Run GNOME with Openbox as its window manager
|
||||||
export WINDOW_MANAGER="@bindir@/openbox"
|
export WINDOW_MANAGER="@bindir@/openbox"
|
||||||
exec gnome-session --choose-session=openbox-session "$@"
|
exec gnome-session --choose-session=openbox-session "$@"
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/sh
|
#!/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
|
# Run KDE with Openbox as its window manager
|
||||||
export KDEWM="@bindir@/openbox"
|
export KDEWM="@bindir@/openbox"
|
||||||
exec startkde "$@"
|
exec startkde "$@"
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
#!/bin/sh
|
#!/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"
|
AUTOSTART="$HOME/.config/openbox/autostart.sh"
|
||||||
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue