aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xdg-utils/xfce.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-06 12:06:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-06 12:06:07 +0000
commit41c5ec7ad6cdf9ede20899b20d26009eabb93877 (patch)
tree3d52e5aee67f2e57fbbea481922e3e1f04a8b383 /testing/xdg-utils/xfce.patch
parentb4292505f7c22dc69f90e24e72264e606571b186 (diff)
downloadaports-41c5ec7ad6cdf9ede20899b20d26009eabb93877.tar.bz2
aports-41c5ec7ad6cdf9ede20899b20d26009eabb93877.tar.xz
testing/xdg-utils: properly detect xfce
Diffstat (limited to 'testing/xdg-utils/xfce.patch')
-rw-r--r--testing/xdg-utils/xfce.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/xdg-utils/xfce.patch b/testing/xdg-utils/xfce.patch
new file mode 100644
index 0000000000..3899a99a50
--- /dev/null
+++ b/testing/xdg-utils/xfce.patch
@@ -0,0 +1,13 @@
+diff --git a/scripts/xdg-open b/scripts/xdg-open
+index 4cc18a8..e7ed9c3 100755
+--- a/scripts/xdg-open
++++ b/scripts/xdg-open
+@@ -303,7 +303,7 @@ detectDE()
+ {
+ if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
+ elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
+- elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
++ elif [ -x /usr/bin/exo-open ]; then DE=xfce;
+ fi
+ }
+