> > I have attempted to patch the code to use > > > > xdg-mime query default application/x-bittorrent > > > > My patch works on Debian in a generic desktop environment. > > I find the code somewhat ugly. > > > > The general idea is an optional second parameter to > > > > open_generic_xdg_mime() > > > > which, if present, is taken as the default mime type. > > > > In addition, I had to change the code to account for the possibility > > that xdg-mime returns an absolute pathname. Not beautiful, but it > > seems to get the job done. > > Thank you for your patch. Unfortunately, there are some problems with it: > > 1. It is written against the version of xdg-utils in stable, which is > quite old. I need a patch that applies to the xdg-utils in unstable. > > 2. I think the proper way to handle URLs is to use the > "x-scheme-handler/foo" MIME type for foo: URLs. So you could make your > patch work with all types of URLs by looking for that MIME type. > > 3. I do not know if xdg-mime ever returns absolute URLs. In any case, > you should split that change out of the patch as it's not really related > to URL handlers or BitTorrent. > > If you address these points, I will be happy to consider your patch.
Thank you, but I have my own work to do. This problem with magnet links is highly visible on the web, and I would think that you would want it fixed. However, since you do not like the way I have fixed it, I will hope that either you or another Debian maintainer will find a fix that meets your standards, or that you will mark the bug 'wontfix'. Norman -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

