--- a/scripts/xdg-mime +++ b/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 } --- a/scripts/xdg-desktop-icon +++ b/scripts/xdg-desktop-icon @@ -408,7 +408,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 } --- a/scripts/xdg-desktop-menu +++ b/scripts/xdg-desktop-menu @@ -604,7 +604,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 } --- a/scripts/xdg-email +++ b/scripts/xdg-email @@ -361,7 +361,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; elif [ -r ~/.muttrc ] && which mutt > /dev/null 2>&1; then DE=envvar MAILER="x-terminal-emulator -e mutt" --- a/scripts/xdg-icon-resource +++ b/scripts/xdg-icon-resource @@ -400,7 +400,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 } --- a/scripts/xdg-open +++ b/scripts/xdg-open @@ -307,7 +307,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 } --- a/scripts/xdg-screensaver +++ b/scripts/xdg-screensaver @@ -335,7 +335,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 } --- a/scripts/xdg-settings +++ b/scripts/xdg-settings @@ -315,7 +315,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 }