Giter Site home page Giter Site logo

Comments (4)

muktupavels avatar muktupavels commented on August 17, 2024

https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout

I think you need to put icon in ~/.icons/hicolor/48x48/apps or better in ~/.local/share/icons/hicolor/48x48/apps

from mate-applets.

hernot avatar hernot commented on August 17, 2024

Do you know any tool i could use to check whether ~/.icons or ~/.local/share/icons is searched at all and where i would have to look for configuration to add addtional search pathes. Or is that a question to distribution maintainers.

from mate-applets.

muktupavels avatar muktupavels commented on August 17, 2024

I don't know any tool but anyone implementing icon-theme specification should search icons in all supported places.

GTK does that - https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkicontheme.c#L739-746

from mate-applets.

hernot avatar hernot commented on August 17, 2024

I do understand. On mint with mate sh points to dash instead of bash. which differes in the following
echo allways interprets escapes like \n so calling the wrapped script from the wrapper for just hiding the positional arguments form command applet than output seen by command applet looks as follows

"[Command]\nIcon = devlol-unknown\nOutput ="

prepending the call by echo and enclosing in backticks results in

"[Command]
Icon = devlol-unknown
Output = "

So piping output through sed or tr for removing leading and trailing " did the final trick then.

In other words it matters here to which shell program in the end sh points to. In former installations it pointed to bash. Further more recent gtk/gnome installations seem to not just parse command output for presence of [Command] and Icon\s*=\s*<icon-name> and Output\*=<any text> but also check if each of them is on one line or has line end escaped. And if any of them is preceded by non expected characters. Or which i guess is even more plausible that

I figured by setting display width of text to 10 or more and suddenly saw raw output of command.

So for now fixed for me. Thanks for the links to the icon locations.

from mate-applets.

Related Issues (20)

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.