6992c19256
adds support for kde4 and lxde.
13 lines
686 B
Text
13 lines
686 B
Text
$NetBSD: patch-scripts_xdg-mime,v 1.1 2013/03/17 19:56:43 markd Exp $
|
|
|
|
--- scripts/xdg-mime.orig 2011-01-01 10:03:14.000000000 +0000
|
|
+++ scripts/xdg-mime
|
|
@@ -430,7 +430,7 @@ detectDE()
|
|
elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
|
|
elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome;
|
|
elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
|
|
- elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde;
|
|
+ elif [ x"$DESKTOP_SESSION" = x"LXDE" ]; then DE=lxde;
|
|
else DE=""
|
|
fi
|
|
}
|