Wednesday, May 07, 2008

terminate called after throwing an instance of 'Gtk::IconThemeError'

I have been using my ubuntu setup at work lately and running vmware for windows apps - but after uninstalling kiba-dock (svn version) i got the above error and VMware wouldn't start, which gave me a bit of a heart attack as i really can't work without vmware.

I found the solution over here (translated) - when kiba dock was uninstalled it wiped out some of the icons inthe ./local/share/icons directory. So i was able to manually copy the icons from the vmware install directory to my local icons directory.
i.e. copy

this updated the missing icons and VMWare then started fine. I would say there are probably better solutions to the problem, but this got me put of trouble anyway. obviously, it's always a good idea to back up the target directory as well.

I seem to be missing icons left right and centre though, so i would not recommend uninstalling kiba-dock via 'make uninstall', and my desktop applets dont seem to take configuration any more. Will get to the bottom of it though ;)


Louis said...

Thank you so much. I had exactly the same problem with my VMware on OpenSuSE 10.3. Some update got installed and VMware could not be run anymore. (Well I could still run it as root, but I don't want to do that all the time).

Your solution worked like a charm and so does VMware once again.

Eddiedu said...

I also would like to thank you, I had the same problem and this solution solved it.

MBH said...

Thanks a lot. This did the trick with VMware Workstation.

Cheers from Kuwait

Niko said...

Thank you for imformation. In my case there was this command that helped:
sudo cp -r -p /usr/lib/vmware/share/icons/hicolor /usr/share/icons/hicolor