Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a fallback icon for the added MimeTypes #4

Open
pacho2 opened this issue Mar 20, 2023 · 0 comments
Open

Set a fallback icon for the added MimeTypes #4

pacho2 opened this issue Mar 20, 2023 · 0 comments

Comments

@pacho2
Copy link

pacho2 commented Mar 20, 2023

Due to https://gitlab.gnome.org/GNOME/nautilus/-/issues/2796 , a ugly fallback icon will be used. Appending

will let a better icon to be displayed if no dedicated icons per mimetype are provided

This can be added with:

sed -i -e '/<_comment/a\\t\t<generic-icon name="image-x-generic"/>' src/chemical-mime-database.xml.in
sed -i -e 's:acronym|alias|comment|:acronym|alias|comment|generic-icon|:' xsl/cmd_freedesktop_org.xsl

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant