openbox/data/xsession/openbox-kde-session.in
Dana Jansens a23954ec17 bug #5253 kde4 is out now, use kde4 menus by default.
Startup scripts should export "XDG_MENU_PREFIX=kde-4-" but they export
"XDG_MENU_PREFIX=kde-".
2011-10-05 13:42:50 -04:00

20 lines
476 B
Bash

#!/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
# Set the prefix for the menu layout to use
export XDG_MENU_PREFIX="kde-4-"
# Clean up after GDM
xprop -root -remove _NET_NUMBER_OF_DESKTOPS \
-remove _NET_DESKTOP_NAMES \
-remove _NET_CURRENT_DESKTOP 2> /dev/null
# Run KDE with Openbox as its window manager
export KDEWM="@bindir@/openbox"
exec startkde "$@"