January 19, 2010

PNG files not recognized in GNOME in Centos 5.4

Forums: 

Guys you are my last resort, I've posted that on few forums but there were no response. Any ideas?

I am running CentOS 5.4 and the following error started out of the blue:

COULDN'T RECOGNIZE THE IMAGE FILE FORMAT FOR THE FILE '/USR/SHARE/GDM/THEMES/TREEFLOWER/BACKGROUND.PNG

THERE WAS AN ERROR LOADING THE THEME AND THE DEFAULT THEME COULD NOT BE LOADED. ATEMPTING TO START THE STANDARD GREETER.

If I choose GNOME and login I get more errors (for every icon I guess) saying:

COULD NOT LOAD ICON. UNRECOGNIZED FILE FORMAT.

Desktop then loads but there is no background image (other backgrounds don't work either) and instead off the icons there are question marks. All the menus and programs work normally.

KDE on the other hand works normally with all visuals, so I assume there must be something wrong with GNOME PNG library or something, maybe GNOME corruption. If I make another user it's the same story.

I mostly use the machine for web hosting (Xammp for Linux), however I made some other customizations. Is there a way to reinstall (repair) Centos to keep all the settings and folders?

THX