Hi,

>> I have a fedora28 desktop with the latest version of chrome-beta and
>> would like to be able to click on torrent files and have them be
>> opened automatically in deluge instead of just being downloaded and
>> stored in my Downloads directory.
>>
>> It looks like the files are already associated with deluge when they
>> are clicked, but I'd like Chrome to pass it directly to deluge instead
>> of just downloading it.
>
>
> Unfortunately, there appears to be more than one place and I don't know
> which one Chrome uses.  From a terminal what is the output of "xdg-mime
> query filetype /path/to/file.torrent" (use a real file) and "xdg-mime query
> default application/x-bittorrent"?  The other place is in Gnome or Nautilus.
> Right-click a torrent file in Nautilus and click properties. If there's an
> "open with" tab, you can change it there.  Otherwise, right-click and select
> "open with..." from the menu.  I've seen suggestions that Chrome uses the
> xdg info so I would suggest starting there.

$ xdg-mime query default application/x-bittorrent
deluge.desktop
$ xdg-mime query my-torrent-file.torrent
xdg-mime: unknown query type 'my-torrent-file.torrent'
Try 'xdg-mime --help' for more information.

So it looks like the default bittorrent file is already associated with deluge.

I've also checked ~/.config/mimeapps.list and it's already associated
with deluge:

$ grep magnet ~/.config/mimeapps.list
x-scheme-handler/magnet=deluge.desktop;
x-scheme-handler/magnet=deluge.desktop

The first one is with [Added Associations] and the second is with
[Default Applications]

Thanks,
Alex
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/XTIPCU4TMERN2KCPSYUVTCTHQ2P3DLJ4/

Reply via email to