Re: Associating file types with apps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/XTIPCU4TMERN2KCPSYUVTCTHQ2P3DLJ4/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux