View Single Post
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#191
dan, I don't know why the gtk-update-icon-cache command would screw up things...I run it all the time

Here are the options for it:

Code:
~ $ gtk-update-icon-cache --help
Usage:
  gtk-update-icon-cache [OPTION...] ICONPATH

Help Options:
  -?, --help                   Show help options

Application Options:
  -f, --force                  Overwrite an existing cache, even if uptodate
  -t, --ignore-theme-index     Don't check for the existence of index.theme
  -i, --index-only             Don't include image data in the cache
  -c, --source=NAME            Output a C header file
  -q, --quiet                  Turn off verbose output
As you can see, there are not a lot of options...

The only thing I can think of is that one of your new icons you added didn't agree with GTK, and it corrupted your cache. See, index.theme defines where your icons are, and icon-theme.cache is all your icons contained in one file. It is not human-readable, and that is why nothing shows up in a text editor. You can try removing the last few icons you made then re-running the update-cache command and see if things get back to normal.

Edit: Oh btw, don't mess with index.theme; one time I was editing it to add a new icon path and somehow it just evaporated. The only way I could fix it was by recloning.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900

Last edited by BrentDC; 2008-08-22 at 16:10.
 

The Following User Says Thank You to BrentDC For This Useful Post: