Bug#668145: Ardour: No SVG icon
Peter B.
pb at das-werkstatt.com
Wed Apr 25 19:38:02 UTC 2012
On 04/17/2012 07:27 PM, Adrian Knoth wrote:
> Do you happen to have a pointer how to do that correctly in the package?
> If so, I'd be happy to add one.
I'm sorry, I was mistaken. I assumed that all other applications already
use SVG for their icons, but it seems that they're still using PNG, but
at a higher resolution than Ardour's icon (and some others).
However, I think I've figured out why Ardour's icon looks so whimpy in
the current package:
The icon entry in Ardour's .desktop file points directly to the 22x22
pixel icon:
"Icon=/usr/share/ardour2/icons/ardour_icon_22px.png"
Therefore, the Freedesktop icon lookup mechanism [1] can't choose
different items, depending on the resolution.
A solution might be Ardour's v3 (beta) package [2]:
It installs its icons in different paths than Ardour 2 - and has a
different icon entry in its .desktop file.
I've read up on how .desktop files work and here's my suggestion for how
to fix this cosmetic issue for ardour 2:
*) Ardour 2 has its icons in /usr/share/ardour2/icons:
/usr/share/ardour2/icons/ardour_icon_16px.png
/usr/share/ardour2/icons/ardour_icon_22px.png
/usr/share/ardour2/icons/ardour_icon_32px.png
/usr/share/ardour2/icons/ardour_icon_48px.png
*) If the .deb package install routine renames them to "ardour_2.png"
(or just "ardour.png") to the following locations:
/usr/share/icons/hicolor/16x16/apps/ardour.png
/usr/share/icons/hicolor/22x22/apps/ardour.png
/usr/share/icons/hicolor/32x32/apps/ardour.png
/usr/share/icons/hicolor/48x48/apps/ardour.png
*) Change ardour's desktop file:
/usr/share/applications/ardour.desktop
and change the icon entry to "ardour", like this:
"Icon=ardour"
That's it.
Thanks,
Pb
== References:
[1] http://standards.freedesktop.org/icon-theme-spec/latest/ar01s05.html
[2] http://ardour.org/files/Ardour_64bit-3.0beta3_11482-dbg.tar
More information about the pkg-multimedia-maintainers
mailing list