[Bug 932472] Re: xdg-open does not seem to handle magnet links

2015-03-22 Thread camelon
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 = xtrue ]; 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 21` ; then DE=gnome;
elif [ x$XDG_CURRENT_DESKTOP = xXFCE ]; then DE=xfce;
elif [ x$DESKTOP_SESSION = xLXDE ]; then DE=lxde;
else DE=
fi
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2014-02-14 Thread sirre
This bug is still present in Lubuntu 13.10.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2013-12-30 Thread John Bowman
I can confirm that this bug is still present in 13.04, and that as
guigouz said, the debian sid package fixes the problem. (I am using a
generic window manager - fluxbox.) I can't check the status of the
package in 13.10 right now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2013-01-16 Thread Guilherme Barile
The workaround presented by Cristiano Nunes still depends on gnome-open
and hacks the detect_de function on xdg-open so it treats any window
manager as gnome.

xdg-utils_1.1.0~rc1+git20111210 from debian sid fixes the problem with
generic window managers, a simple dpkg-rebuildpackage resolved the issue
(the original debian package may install without modifications, haven't
tested it)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2012-06-16 Thread Cristiano Nunes
I found a workaround in file: /usr/bin/xdg-open
See: http://www.foresightlinux.se/make-chromium-to-open-magnet-links/

PS: In Lubuntu, this script access the line of file:
else DE=

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2012-05-27 Thread Damian Momot
Anyway fix provided in URL is a bit intrusive. Shouldn't it be handled
by package update?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2012-03-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: xdg-utils (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 932472] Re: xdg-open does not seem to handle magnet links

2012-02-14 Thread karl anliot
http://www.void.gr/kargig/blog/2012/01/24/open-magnet-urls-with-xdg-
open/

seems to be a fix?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/932472

Title:
  xdg-open does not seem to handle magnet links

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/932472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs