Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Associar Links Magnéticos pelo Firefox/Iceweasel Google Chrome/Chromium à partir do Openbox/Gnome/Cinnamon:
- gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "/usr/bin/transmission %s"
- gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool
- gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true
- Depois /usr/bin/transmission-gtk (ou qt) no Firefox para Abrir os Links
- Solução Alternativa:
- xdg-mime default transmission-qt.desktop x-scheme-handler/magnet
- http://crunchbanglinux.org/forums/topic/8545/solved-magnet-links-in-chrome/
- Solução Mais simples (Válida para outros Clientes Torrent) :
- about:config
- Botão Direito → Novo → Boolean → Nome:
- network.protocol-handler.expose.magnet → Valor → false
- Para o KTorrent:
- Botão Direito → Novo → String → Nome: network.protocol-handler.app.magnet → Valor → ktorrent
- Goole Chrome / XFCE:
- http://forum.manjaro.org/index.php?topic=1236.0
- Edite o /usr/bin/xdg-open
- open_xfce()
- {
- if (echo "$1" | grep -q '^magnet:'); then
- transmission-gtk "$1"
- else
- exo-open "$1"
- fi
- if [ $? -eq 0 ]; then
- exit_success
- else
- exit_failure_operation_failed
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement