Linux Bandaid: KDE apps can’t open TGA image files

If you are working with TGA images a lot, you might have seen the bug where KDE apps like Gwenview can’t open them and give you a weird message about being unable to read metadata.

This is a bug in qt. KDE4 brings its own image readers for TGA, but only uses them when the qt ones are not available. So let’s delete them (as root, of course):

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

rm /usr/lib/debug/usr/lib64/qt4/plugins/imageformats/
rm /usr/lib/qt4/plugins/imageformats/
rm /usr/lib64/qt4/plugins/imageformats/

Some of these commands can fail, depending on whether you have debug information or 64bit versions installed.

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

I’m being scary again… zypper upgrading 12.1 to 12.2

I’m doing it again. Upgrading a live system with zypper, this time the step is 12.1->12.2.

The procedure has been described here and here; let’s see what happens.


Everything worked fine, with the small exception that the ssh daemon config needed one small tweak to get nxserver to work again.
Hint: nxserver uses authorized_keys2, suse uses authorized_keys as the ssh key file name.