Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2579  / 1 Year ago, thu, march 16, 2023, 8:22:40

I have a .deb package that installs application icons under the following locations:



/usr/share/icons/hicolor/16x16/apps/
/usr/share/icons/hicolor/48x48/apps/
/usr/share/icons/hicolor/32x32/apps/
/usr/share/pixmaps/


After I installed the .deb package and replaced the installed icons with new ones (on disk), the old icon still shows up in Unity. What icon does Unity use for the application?


More From » unity

 Answers
3

When I first asked the question I didn't know that the icon used in the Dash is different from the one used for the Launcher Item. I assumed Unity only uses icons from /usr/share/icons/hicolor/*/apps/ or /usr/share/pixmaps/ since that's where I installed all the icons but I was wrong.



When you open the Dash to start an application, Ubuntu uses one of the icons mentioned in the question but when the application is displayed in the Launcher (as a Launcher Item) then its icon is the icon of the application. In my case, I'm running a Java application so it's the icon I set using JFrame#setIconImage(Image).



I was using a 16x16 pixel icon which looked blurry in the Launcher. Now, I'm using a 64x64 pixel icon and it looks much better.


[#42664] Friday, March 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llianconclad

Total Points: 65
Total Questions: 109
Total Answers: 127

Location: Mali
Member since Fri, Dec 3, 2021
2 Years ago
;