ac7d104490
ok landry@
21 lines
529 B
Plaintext
21 lines
529 B
Plaintext
$OpenBSD: patch-startkde,v 1.23 2009/11/14 16:41:57 ajacoutot Exp $
|
|
--- startkde.orig Tue Aug 19 21:56:42 2008
|
|
+++ startkde Sat Nov 14 16:55:43 2009
|
|
@@ -3,6 +3,16 @@
|
|
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.10 )
|
|
#
|
|
|
|
+case X"$DISPLAY" in
|
|
+X)
|
|
+ exec /usr/X11R6/bin/startx $0;;
|
|
+esac
|
|
+
|
|
+if [ -z "${XDG_MENU_PREFIX}" ] ; then
|
|
+ XDG_MENU_PREFIX="kde3-"
|
|
+ export XDG_MENU_PREFIX
|
|
+fi
|
|
+
|
|
# When the X server dies we get a HUP signal from xinit. We must ignore it
|
|
# because we still need to do some cleanup.
|
|
trap 'echo GOT SIGHUP' HUP
|