Icons installed by apps

Jaroslaw Staniek staniek at kde.org
Tue Sep 22 22:01:06 BST 2015


On 22 September 2015 at 22:55, Matthias Klumpp <k.matthias12 at gmail.com> wrote:
>
> Am 22.09.2015 10:32 nachm. schrieb "Albert Astals Cid" <aacid at kde.org>:
>>
>> El Dimarts, 22 de setembre de 2015, a les 14:17:28, Jaroslaw Staniek va
>> escriure:
>> > Hello,
>> > A couple of related questions while wrestling with issues such as [1].
>> >
>> > Let's assume Kexi app installs some icons to
>> > PREFIX/share/kexi/icons/oxygen/32x32/places/ or
>> > PREFIX/share/kexi/icons/breeze/32x32/places.
>> > Can these be searched by the icon engine?
>> >
>> > In kdelibs4 times PREFIX/share/apps/kexi/icons/oxygen/ was searched at
>> > least and icons were used if names were globally unique (overriding
>> > mimetype icons did not work).
>> >
>> > Now in kf5 times I guess I shouldn't install to
>> > PREFIX/share/icons/breeze? I do not feel safe with this. I don't even
>> > know if it's breeze/ subdir or some other name is guaranteed to exist
>> > on a kf5 installation. However if I have guarantees, I am fine with
>> > any solution.
>>
>> Install to hicolor?
>
> Indeed. If you want to follow the freedesktop spec, hicolor is the place to
> store these icons.
> Other tools, like AppStream, will also be able to find the icons then, and
> so do all other desktop environments supporting the xdg spec.

That's good. Thanks. Now if I try to make icon name unique, I am
adding {appname}- prefix.
But then {appname} icon (if exists) is used instead. Ideas?

-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek



More information about the calligra-devel mailing list