Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7327 - gtk programs spew invalid icon cache warnings

Attached to Project: Arch Linux
Opened by Arthur Danskin (wiremore) - Friday, 01 June 2007, 03:03 GMT
Last edited by Jan de Groot (JGC) - Friday, 01 June 2007, 09:38 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

For example:

(gqview:16305): Gtk-WARNING **: Icon cache '/usr/share/icons/hicolor/icon-theme.cache' is invalid

bad image index

(thunar:18289): Gtk-WARNING **: Icon cache '/usr/share/icons/hicolor/icon-theme.cache' is invalid

bad image index

I tried reinstalling the hicolor package and updating the icon cache with "gtk-update-icon-cache /usr/share/icons/hicolor/ --force"

I guess this isn't a problem for most people because they launch their gtk apps from menus, but I launch them from terminals most of the time and it's starting to bug me. Thanks!
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 01 June 2007, 09:38 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Friday, 01 June 2007, 06:54 GMT
Does it work after running gtk-update-icon-cache -f /usr/share/icons/hicolor ?

Recent versions of gtk2 do icon cache consistency checking and can print warnings. It could be your icon cache is corrupted. I don't see this error on my system, not with GTK 2.10.x, not with GTK 2.11.0.
Comment by Arthur Danskin (wiremore) - Friday, 01 June 2007, 07:14 GMT
Hi,

I seem to have fixed it. Apparently some autopackage I had installed had dumped a bunch of stuff into /usr/share/icons/hicolor. I uninstalled hicolor-icon-theme, deleted the directory, and then reinstalled it and everything is good. Sorry to bother!
Comment by Jan de Groot (JGC) - Friday, 01 June 2007, 09:37 GMT
Deleting the whole directory makes you lose a lot of program icons, there's more than just hicolor-icon-theme in that directory.

Loading...