perberos / Mate-Desktop-Environment

MATE Desktop Environment, a non-intuitive and unattractive desktop for users, using traditional computing desktop metaphor. Also known as the GNOME2 fork.
http://matsusoft.com.ar/projects/
123 stars 11 forks source link

Problems with setting associated application for magnet links #90

Open Eremiell opened 12 years ago

Eremiell commented 12 years ago

I'm trying to set an associated application for magnet: URLs. I've created a directory magnet in .mateconf/desktop/mate/url-handlers and copied and edited stuff from http directory. I've restarted system several times and checked with mateconf-editor, everything is all right. I also manually added keys in .mateconf/apps/mateconf-editor/%mateconf.xml and line in.local/share/applications/mimeapps.list . Nothing helps. Chromium, which calls magnet links with xdg-open command still calls for Transmission even as I have set KTorrent in all these places. Konqueror works with strange results, Epiphany doesn't recognize magnet links at all and Iceweasel have it's own preferred apps list. So I guess, it's not working at all. I'm running MATE on Debian/wheezy installation.

Contents of ~/.mateconf/desktop/mate/url-handlers/%mateconf.xml:

<?xml version="1.0"?>

ktorrent "%s"
szesch commented 12 years ago

Hi, I'm not familiar with magnet links so I apologize if this response isn't very help. Have you tried doing this in another desktop environment, and has that worked? I would just like to verify that this issue is caused by a lack of or improper functionality specific to Mate and not something else.

Does this link help: http://myinterestingubuntu.blogspot.com/2012/01/change-magnet-links-association-in.html

Thanks.

Eremiell commented 12 years ago

I've done most parts before, but none of articles I found mentioned the /usr/share/applications/ part. After doing this as well and rebooting system, it works as intended. So technically, it's not a bug in the code of MATE even though I was sent to report it from #mate@freenode. But it needs to be said, that in GNOME 2, this was done automatically after binding .torrent files to a given program. So consider it a bug fixed and request filed. ;) Anyway, thanks a lot. Was bugging me for several days and I had to read a lot about how preferred programs work. Btw, maybe adding an option to mateconf-editor to create new directories, so you don't have to do this manually? Another feature request, I guess.