I would like to add a few url scheme, e.g magnet://, and add a simple mimetype for it.
So that I would be able to handle these links within my browser.
Is there any graphic tool I could utilize ?
|
I would like to add a few url scheme, e.g Is there any graphic tool I could utilize ? |
||||
magnet://link, your browser would launch a certain app to open that particular url scheme ? – don_crissti Sep 14 '12 at 1:40trasmission-gtkthe content of/usr/share/applications/mimeinfo.cachewill be updated withx-scheme-handler/magnet=transmission-gtk.desktop;specifically because transmission-gtk.desktop contains this line:MimeType=application/x-bittorrent;x-scheme-handler/magnet;. Then Firefox would ask if I want to open the magnet link withtransmissionand so would do Chromium (the latter usesxdg-open). – don_crissti Sep 14 '12 at 2:48about:config> right-click anywhere in the grid, choose New > Boolean > Name:network.protocol-handler.expose.magnet> Value > false. Next time you click on amagnet://link Firefox will open the "Launch Application" dialog and you can even associate a CLI app. I don't know if that is even possible in Chromium. – don_crissti Sep 14 '12 at 3:06