Giter Site home page Giter Site logo

Comments (6)

gmm96 avatar gmm96 commented on June 18, 2024

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.

from kde-5-template-manager.

gmm96 avatar gmm96 commented on June 18, 2024

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.
On the other hand, I don't understand why some kf5-config --path arguments goes in singular (icon) and others in plural (templates), but it is ok.

from kde-5-template-manager.

gmm96 avatar gmm96 commented on June 18, 2024

After another look, xdg-icon-resource seems to be the right command to (un)install icons in system.

from kde-5-template-manager.

Ashark avatar Ashark commented on June 18, 2024

I don't know if it is currently a bug of Dolphin.

Probably yes, I also experience this. I did not yet searched or reported in bugs.kde.org

I was looking for a tool to check if certain icon exists in system

You mean at runtime of the script? Or for you at develop time to choose an icon? If latter, then use Cuttlefish application.

from kde-5-template-manager.

gmm96 avatar gmm96 commented on June 18, 2024

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.
Well, I'm gonna move to more common icons (favorite, edit, delete), which I expect they'll be already installed in every system, and then will try custom png icons.

from kde-5-template-manager.

gmm96 avatar gmm96 commented on June 18, 2024

Added more common icons in this https://github.com/gmm96/KDE-5-Template-Manager/commit/9c38b8693c04c207177042fa09030a4305d0c185. Closing this issue.

from kde-5-template-manager.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.