Linux Bandaid: GTK apps don’t show icons in the file requester when running within KDE

Ever had this happen?

You open the file requester in a GTK app to open or save a file, but the names don’t come with icons so it’s kind of hard to tell the difference between a folder and a file without extension.

Here’s the reason: your KDE styles have been updated but the gtk icon cache was not refreshed.

[ad name=”new in-post ad”]

And here is the solution: run the following command as root to refresh all icon caches:

for i in /usr/share/icons/*; do [ -d $i ] && gtk-update-icon-cache $i; done

1 thought on “Linux Bandaid: GTK apps don’t show icons in the file requester when running within KDE

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: