2007-05-07 01:41:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2007-05-23 17:59:58 +00:00
|
|
|
if test -n "$1"; then
|
|
|
|
echo "Syntax: openbox-kde-session"
|
|
|
|
echo
|
|
|
|
echo "See the openbox-kde-session(1) manpage for help."
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2010-01-02 20:49:39 +00:00
|
|
|
# Set the prefix for the menu layout to use
|
2011-09-29 16:52:07 +00:00
|
|
|
export XDG_MENU_PREFIX="kde-4-"
|
2010-01-02 20:49:39 +00:00
|
|
|
|
2009-12-10 15:07:50 +00:00
|
|
|
# Clean up after GDM
|
|
|
|
xprop -root -remove _NET_NUMBER_OF_DESKTOPS \
|
|
|
|
-remove _NET_DESKTOP_NAMES \
|
|
|
|
-remove _NET_CURRENT_DESKTOP 2> /dev/null
|
|
|
|
|
2007-05-07 01:41:48 +00:00
|
|
|
# Run KDE with Openbox as its window manager
|
2007-05-10 03:12:44 +00:00
|
|
|
export KDEWM="@bindir@/openbox"
|
2007-05-07 01:41:48 +00:00
|
|
|
exec startkde "$@"
|