40 lines
1.7 KiB
40 lines
1.7 KiB
diff -up openbox-3.4.8/data/xsession/openbox-gnome-session.in.gdm openbox-3.4.8/data/xsession/openbox-gnome-session.in
|
|
--- openbox-3.4.8/data/xsession/openbox-gnome-session.in.gdm 2009-12-08 21:57:11.000000000 +0100
|
|
+++ openbox-3.4.8/data/xsession/openbox-gnome-session.in 2009-12-10 14:06:27.000000000 +0100
|
|
@@ -7,6 +7,9 @@ if test -n "$1"; then
|
|
exit
|
|
fi
|
|
|
|
+# Clean up after GDM
|
|
+xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
|
|
+
|
|
VER=$(gnome-session --version 2>/dev/null | \
|
|
sed -e 's/[^0-9.]*\([0-9.]\+\)/\1/')
|
|
|
|
diff -up openbox-3.4.8/data/xsession/openbox-kde-session.in.gdm openbox-3.4.8/data/xsession/openbox-kde-session.in
|
|
--- openbox-3.4.8/data/xsession/openbox-kde-session.in.gdm 2009-12-08 15:32:06.000000000 +0100
|
|
+++ openbox-3.4.8/data/xsession/openbox-kde-session.in 2009-12-10 14:06:04.000000000 +0100
|
|
@@ -7,6 +7,9 @@ if test -n "$1"; then
|
|
exit
|
|
fi
|
|
|
|
+# 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 "$@"
|
|
diff -up openbox-3.4.8/data/xsession/openbox-session.in.gdm openbox-3.4.8/data/xsession/openbox-session.in
|
|
--- openbox-3.4.8/data/xsession/openbox-session.in.gdm 2009-12-08 15:37:34.000000000 +0100
|
|
+++ openbox-3.4.8/data/xsession/openbox-session.in 2009-12-10 14:06:49.000000000 +0100
|
|
@@ -7,6 +7,9 @@ if test -n "$1"; then
|
|
exit
|
|
fi
|
|
|
|
+# Clean up after GDM
|
|
+xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
|
|
+
|
|
AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh"
|
|
GLOBALAUTOSTART="@configdir@/openbox/autostart.sh"
|
|
|