PDA

View Full Version : [ubuntu] My hicolor theme is broken. Help please!



Fzang
July 14th, 2009, 12:36 AM
My hicolor theme seems to be broken somehow, meaning the system can't access hicolor. Every other icon theme works fine but if it accesses hicolor for things like app icons and control panel icons it's missing icons.

If I try to update the icon cache with

joh@Johs-Zepto:~$ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
I get


gtk-update-icon-cache: Failed to open file usr/share/icons/hicolor/.icon-theme.cache : No such file or directory

I've already installed hicolor multiple times from synaptic but it doesn't fix it.

So what can I do? Reinstalling would be a pain :/

wojox
July 14th, 2009, 12:44 AM
Did you sudo?

Fzang
July 14th, 2009, 12:48 AM
Yes. Sudo gives the same message.

wojox
July 14th, 2009, 12:53 AM
Try this:


sudo gtk-update-icon-cache -f -t /usr/local/share/icons/hicolor

Fzang
July 14th, 2009, 01:18 AM
That gives me

gtk-update-icon-cache: Cache file created successfully.

But the other command still says "No such file or directory".

I tried relogging but it still doesn't work.

wojox
July 14th, 2009, 01:29 AM
Have you looked in usr/share/icons/hicolor and seen .icon-theme.cache?

Fzang
July 14th, 2009, 01:41 AM
There wasn't one. I tried taking the .icon-theme.cache from another set, and then update, but it still wouldn't work.

Fzang
July 14th, 2009, 09:43 PM
Bumpin'