from here: https://sourceforge.net/p/texstudio/bugs/2213/#b646
Unfortunately application icon is missing in Fedora 26 and KDE (in application launcher)
Confirmed on Kubuntu 17.04 with the 2.12.6 deb from the website.
Probably an issue of installing icons to the correct places.
We specify a relative path in texstudio.desktop
:
Icon=texstudio
So the freedesktop Icon Theme Specification comes into play.
Icon Theme Specification - Directory Layout
Icon Theme Specification - Installing Icons
The latter says
Minimally you should install a 48x48 icon in the hicolor theme. This means installing a PNG file in $prefix/share/icons/hicolor/48x48/apps. Optionally you can install icons in different sizes. For example, installing a svg icon in $prefix/share/icons/hicolor/scalable/apps means most desktops will have one icon that works for all sizes.
We only have $prefix/share/icons/hicolor/scalable/apps/texstudio.svg
.
According to the spec, we should have at least $prefix/share/icons/hicolor/48x48/apps/texstudio.png
as well.
Hwoever, for some reason the launcher still does not find the icon. It finds the icon if the texstudio.desktop
file sets the explicit path /usr/share/icons/hicolor/48x48/apps/texstudio.png
.
This needs more investigation and/or someone more familiar with KDE.
Hi,
I have observed this from some months ago in KDE5.
I have even tried my own icons but for some reason it does not show either png or svg formats for texstudio either the taskbar or list of apps.
I have had a go now and just copied the contents from texstudio.svg in /usr/share/icons/hicolor/scalable/apps/ to another file that was showing normally the icon, and I named it texstudioOK.svg.
So I edited the icon for TeXstudio through KDE's right click "Edit application" and set it to the new icon and it was showing normally in both taskbar and list of apps.
Then I deleted the old texstudio.svg and renamed the new one to texstudio.svg, then it stopped showing the icon. I renamed the file to texstudioOK.svg and now it works fine.
I have no idea what the problem is, but any name besides "texstudio" the icon shows just fine.
I hope it may help!
Thanks for the good work with TeXstudio! =]]