Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Install svg icon file in hicolor theme dir instead of usr/share/pixmaps/ #297

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

Closed
hosiet opened this issue Apr 12, 2020 · 3 comments
Closed
Assignees

Comments

@hosiet
Copy link
Contributor

hosiet commented Apr 12, 2020

On Unix-like systems, the SVG icon is now installed as /usr/share/pixmaps/ksnip.svg. Even though the Icon Theme Specification (https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html) allows such usage, the SVG icon is not pixmap at all so it's somehow confusing.

Is there any possibility to tweak the icon installation path and use /usr/share/icons/hicolor/scalable/apps/? This should be a better way of shipping App icons. Such usage is also standardized in the previously-mentioned Icon Theme Specification.

@DamirPorobic
Copy link
Member

I just had a quick look in the document you have linked but I can't see any indication why svg is wrong there where it is and why it should be placed in the other directory, though as said, just had a quick fly though the documentation.

Sure, the path can be changed, the icons are installed by the corresponding cmake file. When I have more time I look into this in more detail.

@DamirPorobic
Copy link
Member

This might come earlier then expected, looks like the directory needs to be changed for flatpak too https://discourse.flathub.org/t/ksnip-flatpak-request/303/2

@DamirPorobic DamirPorobic self-assigned this Jul 29, 2020
@DamirPorobic DamirPorobic changed the title Please consider installing the svg icon file in hicolor theme dir instead of usr/share/pixmaps/ Install svg icon file in hicolor theme dir instead of usr/share/pixmaps/ Jul 29, 2020
@DamirPorobic
Copy link
Member

Done

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

No branches or pull requests

2 participants