Package: transmission-gtk
Version: 2.82-1.1
Severity: normal

While trying to figure why magnet links don't work in my desktop, I've found
what I think is a mistake in the packaging:

$ cat /usr/share/gconf/defaults/10_transmission-gtk
/desktop/gnome/url-handlers/transmission-gtk/command  
"/usr/bin/transmission-gtk %s"
/desktop/gnome/url-handlers/transmission-gtk/enabled  true
/desktop/gnome/url-handlers/transmission-gtk/needs_terminal   false


So, this file is creating a default value in gconf for the 'transmission-gtk'
schema, but that should be the 'magnet' schema, so URIs of the form 'magnet:.*'
can be handled; unless this was intended for something else.

In any case, currently gvfs-open seems to be able to open magnet links without
checking gconf2. Strace suggests it is scanning the .desktop files for
x-scheme-handler/magnet mimetype.

$ sudo rm /usr/share/gconf/defaults/10_transmission-gtk
$ sudo update-gconf-defaults --no-signal
$ sudo kill -s HUP `pidof gconfd-2`
$ gconftool-2 --get /desktop/gnome/url-handlers/transmission-gtk/command
No value set for `/desktop/gnome/url-handlers/transmission-gtk/command'
$ gconftool-2 --get /desktop/gnome/url-handlers/magnet/command
No value set for `/desktop/gnome/url-handlers/magnet/command'
$ gvfs-open 'magnet:?xt=....'
(transmission opens)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages transmission-gtk depends on:
ii  gconf2               3.2.6-1
ii  libc6                2.18-4
ii  libcurl3-gnutls      7.35.0-1
ii  libevent-2.0-5       2.0.21-stable-1
ii  libgdk-pixbuf2.0-0   2.30.5-1
ii  libglib2.0-0         2.38.2-5
ii  libgtk-3-0           3.10.7-1
ii  libminiupnpc8        1.6-3
ii  libnatpmp1           20110808-3
ii  libpango-1.0-0       1.36.2-2
ii  libssl1.0.0          1.0.1f-1
ii  transmission-common  2.82-1.1
ii  zlib1g               1:1.2.8.dfsg-1

Versions of packages transmission-gtk recommends:
ii  xdg-utils  1.1.0~rc1+git20111210-7

transmission-gtk suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to