How to get a bigger icon in the application switcher

Frank Steinmetzger Warp_7 at gmx.de
Fri May 2 13:54:40 BST 2014


On Fri, May 02, 2014 at 03:11:50AM +0000, Duncan wrote:
> Frank Steinmetzger posted on Thu, 01 May 2014 13:53:21 +0200 as excerpted:
> 
> > Well as I said, I compared the package contents and the arch [firefox]
> > package just installed more icons (not only until 128×128, as Gentoo
> > does these days).
> > I might have to look at it again.
> 
> If you do, since you have the arch package available, what I'd try first 
> is simply copying the full set of arch icons to the gentoo side, and see 
> if that fixes the problem.

I switched on the old Netbook and copied over the files. The Arch
package includes sizes up to 384×384 and some more in between (most
notably 64×64). The icons were simply called firefox.png. The ones in my
Gentoo system were called firefox-bin. It didn’t work at first, so I
went into /usr/share/applications/firefox-bin.desktop and changed the
Icon= line to firefox.png. And now it worked.¹

I have no idea what is different. To rule out the addition of other
sizes, I renamed all firefox.png that were not previously available with
firefox-bin-icon.png, and the icon still shows up big. Even reverting
the .desktop’s Icon= back to firefox-icon-bin does not bring back the
problem. I’m at wit’s end, but happy nonetheless, for now I have what I
wanted.

> Probably the easiest way to do that would be to move the entire hicolor 
> tree elsewhere temporarily, and copy the arch hicolor tree into its 
> place.
> 
> Then as I said restart kwin and firefox, and see if you get the bigger 
> icons.

As mentioned, I usually log out and back in, just to be sure. And I
delete the caches while logged out.



¹
$ cd /usr/share/icons/hicolor && find | sort | grep firefox
./128x128/apps/firefox-bin-icon.png
./128x128/apps/firefox-bin.png
./128x128/apps/firefox.png
./16x16/apps/firefox-bin-icon.png
./16x16/apps/firefox-bin.png
./16x16/apps/firefox.png
./192x192/apps/firefox-arch.png
./22x22/apps/firefox-arch.png
./24x24/apps/firefox-arch.png
./256x256/apps/firefox-arch.png
./32x32/apps/firefox-bin-icon.png
./32x32/apps/firefox-bin.png
./32x32/apps/firefox.png
./384x384/apps/firefox-arch.png
./48x48/apps/firefox-bin-icon.png
./48x48/apps/firefox-bin.png
./48x48/apps/firefox.png
./64x64/apps/firefox-arch.png

The *-arch files are from the arch package, but renamed so that the set
of arch icons (firefox.png) serves the same sizes as the old firefox-bin
set. firefox-bin-icon must be from an old attempt at solving this issue.

$ equery files firefox-bin | grep hicolor.*png
/usr/share/icons/hicolor/128x128/apps/firefox-bin.png
/usr/share/icons/hicolor/16x16/apps/firefox-bin.png
/usr/share/icons/hicolor/32x32/apps/firefox-bin.png
/usr/share/icons/hicolor/48x48/apps/firefox-bin.png

So let’s close this. I have no idea why, but it’s working now.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

“An itching nose must be scratched.” … Kosh (Star Wreck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde/attachments/20140502/19db2431/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list