--- scripts/xdg-open.orig	2012-09-19 21:04:46.000000000 +0000
+++ scripts/xdg-open	2012-09-19 21:25:05.000000000 +0000
@@ -33,6 +33,12 @@
 #
 #---------------------------------------------
 
+# If we are started from a Linux app with LD_PRELOAD set unset that
+# so native apps (like browers) won't fail to start.
+if [ "x$(uname)" = "xLinux" ]; then
+	unset LD_PRELOAD
+fi
+
 manualpage()
 {
 cat << _MANUALPAGE
