-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix icons used in project #5
Comments
To be honest, I have tried using the project's icon in the main service menu specifying absolute path to png file, but it always displays the icon corresponding to the first action in the menu (template creator). This is only happening on the service menu, you can properly see the icon navigating to the directory that keeps the service menu files using Dolphin. I don't know if it is currently a bug of Dolphin. I was looking for a tool to check if certain icon exists in system, but without success. Maybe, I should use more common icons, like the ones used in template editor (edit) and template eraser (delete). Favorite icon may solve this issue. |
Well, command kf5-config --path icon is currently working in my system, so I suppose I can give it another try installing the icon in one of these directories. |
After another look, xdg-icon-resource seems to be the right command to (un)install icons in system. |
Probably yes, I also experience this. I did not yet searched or reported in bugs.kde.org
You mean at runtime of the script? Or for you at develop time to choose an icon? If latter, then use Cuttlefish application. |
I mean at runtime, so I would have alternatives to show if one icon is not installed in a system. |
Added more common icons in this https://github.com/gmm96/KDE-5-Template-Manager/commit/9c38b8693c04c207177042fa09030a4305d0c185. Closing this issue. |
Currently in TermplateManager.desktop the icon for main file is
favorite
. Probably should instead use the project's one TemplateManagerIcon.png. I guess it should be placed at some standard location (do not yet explored which exactly) by install.sh and then use its name in Icon= field.Specifying absolute path to png works (in Dolphin the icon of the .desktop file itself changes), but using $HOME variable there does not work. So I am not sure for now how to implement it.
This icon is referenced also in install.sh and in uninstall.sh.
Some other icons are missing in my system. For example, xapp-favorite-symbolic in cuttlefish shows nothing. It is referenced in TemplateManager.desktop and in TemplateManagerTools.sh.
The text was updated successfully, but these errors were encountered: