GNOME Bugzilla – Bug 525311
Need icon for .torrent files
Last modified: 2020-11-26 14:41:20 UTC
The bittorrent files (.torrent) have a plain text icon instead of a unique icon.
What is the MIME type displayed in the properties dialog for such a file?
It says: application/x-extension-torrent I posted a suggestion about it at a mailing list: https://lists.ubuntu.com/archives/ubuntu-art/2008-April/005594.html I have been able to locate two or three mime types for it: /home/username/.local/share/mime/application/x-extension-torrent.xml /home/username/.local/share/mime/packages/user-extension-torrent.xml /usr/share/mime/application/x-bittorrent.xml $ cat /home/username/.local/share/mime/application/x-extension-torrent.xml <?xml version="1.0" encoding="utf-8"?> <mime-type xmlns="http://www.freedesktop.org/standards/shared-mime-info" type="application/x-extension-torrent"> <!--Created automatically by update-mime-database. DO NOT EDIT!--> <comment>torrent document</comment> </mime-type> $ cat /home/username/.local/share/mime/packages/user-extension-torrent.xml <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/x-extension-torrent"> <comment>torrent document</comment> <glob pattern="*.torrent"/> </mime-type> </mime-info>
OK, clear the local mime cache, now it says: application/x-bittorrent
The icon should be the gears-inside-diamond icon then (application-x-generic). I'm not sure what a good icon for a torrent file would be as it's basically a symbolic link to a p2p search.
Whatever you think is better, I just hate the "plain text" icon :)
hm.. why not make a special p2p icon then? one that represents download and upload like the one I created? http://savvas.radevic.com/previews/bittorrent-icon/bittorrent.svg
The plain text icon should not be used. If it is being used it is because you set it to the text-plain icon. If it is a blank sheet (not the plain text icon), then it is because you have enabled text previews in Nautilus, and the file contains text. The icon you SHOULD see in a default setup for that MIME type, is the application-x-generic icon. If you are not seeing this icon, there is an issue with your configuration, or there is a bug in Nautilus or libgnomeui. I don't know what to make of the icon you linked to, but it does not say "p2p" to me. And it would be nice to avoid using the globe for anything that means "network" because it is a horrible metaphor, and we need to get rid of it. Also, we try to avoid using paper sheets for things that are not represented on paper in real life. We try to use icons which represent the content, as it is more important than the transport mechanism or storage format. Unfortunately, torrent is a protocol and has no real representation of what the content might be. Perhaps something representing a search for files would be useful.
Weird, I just removed the xml files in /usr/share/mime/application/* where x-bittorrent.xml was, then used sudo update-mime-database /usr/share/mime/ and it regenerated the files. The "bittorrent seed file" came from /usr/share/mime/packages/freedesktop.org.xml <mime-type type="application/x-bittorrent"> <comment>BitTorrent seed file</comment> So you're right probably, that mime type is not included by default in gnome.
How about this one? :) http://savvas.radevic.com/previews/bittorrent-icon/p2p.svg A cycle of data transmitted between a person and a group of persons
Changing component to -extras
Resetting assignee to default to avoid cookie-licking (see bug 744024). Jimmac: If you actively and realistically plan to work on this, please set yourself as assignee again so this ticket will be shown on top of your user page at https://bugzilla.gnome.org/page.cgi?id=describeuser.html Thanks!
Created attachment 301687 [details] one suitable icon This bittorrent mimetype is from Cheser icon theme https://github.com/chekavy/cheser-icon-theme - its licensed as Creative Commons and fits GNOME/Adwaita theme (this icon theme is based on GNOME's). Can it be used?
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all older bug reports and feature requests in GNOME Bugzilla which have not seen updates for a while. If you still use adwaita-icon-theme and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/ by following the guidelines at https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines Thank you for creating this report and we are sorry it could not be implemented so far (volunteer workforce and time is limited).