I've got similar problem on Xubuntu 14.10 when using Chromium: click on magnet link opens Firefox window which (correctly) opens torrent client (Transmission). I found a solution:
'xdg-open' script incorrectly recognises Xfce4 desktop in 'detectDE()' function (very old code?), which makes that 'open_generic()' is used instead of 'open_xfce()'. The code below works much better:
detectDE()
{
if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
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 [ x"$XDG_CURRENT_DESKTOP" = x"XFCE" ]; then DE=xfce;
elif [ x"$DESKTOP_SESSION" = x"LXDE" ]; then DE=lxde;
else DE=""
fi
}
I've got similar problem on Xubuntu 14.10 when using Chromium: click on magnet link opens Firefox window which (correctly) opens torrent client (Transmission). I found a solution:
'xdg-open' script incorrectly recognises Xfce4 desktop in 'detectDE()' function (very old code?), which makes that 'open_generic()' is used instead of 'open_xfce()'. The code below works much better:
detectDE() FULL_SESSION" = x"true" ]; then DE=kde; DESKTOP_ SESSION_ ID" != x"" ]; then DE=gnome; org.freedesktop .DBus /org/freedeskto p/DBus org.freedesktop .DBus.GetNameOw ner string: org.gnome. SessionManager > /dev/null 2>&1` ; then DE=gnome; CURRENT_ DESKTOP" = x"XFCE" ]; then DE=xfce;
{
if [ x"$KDE_
elif [ x"$GNOME_
elif `dbus-send --print-reply --dest=
elif [ x"$XDG_
elif [ x"$DESKTOP_SESSION" = x"LXDE" ]; then DE=lxde;
else DE=""
fi
}