View previous topic :: View next topic |
Author |
Message |
mexisme n00b
Joined: 21 Oct 2004 Posts: 7
|
Posted: Thu Oct 21, 2004 3:09 pm Post subject: /etc/gtk-2.0 missing breaks GNOME/GDM |
|
|
I've spent the last few days trying to work this one out:
I've been building Gentoo with Gnome on my workstation, but also using -b or 'quickpkg' to make binary packages so I can install the same on my Laptop without having to build from source twice.
I thought I had made a stupid mistake in installing with 'emerge -KDu' on the laptop because when I tried to start GDM on the laptop I'd get this error:
There was an error loading the theme gentoo-cow
Couldn't recognise the image file format for file '/usr/share/gdm/themes/gentoo-cow/gentoo-cow-alpha.png'
However, I discovered this web-site for Fedora which revealed that because my /etc/gtk-2.0 folder and contents was missing, the GTK/GDK libraries couldn't read any image files!!
http://www.ogre.com/tiki-view_blog_post.php?blogId=3&postId=32
To paraphrase:
Quote: | I've since upgrade a majority of my old RH9 packages to Fedora/devel, with only minor problems. One problem that took me a while to figure out (since my gdm wouldn't start) was that somehow the file /etc/gtk-2.0/gdk-pixbuf.loaders was missing. In my previous installation, this was part of the gdk2 RPM (from Ximian). As it turns out, this file can easily be recreated with a simple command:
Code: | root@thor 301/0 # gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders |
Without this file, pretty much every Gnome application (including GDM) will fail, with errors like:
Can not open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders'
Error loading PNG image loader: Image type 'png' is not supported |
It seems you can do Code: | gtk-query-immodules-2.0 >/etc/gtk-2.0/gtk.immodules | for the other (apparently missing) file.
I don't know if this is a bug in one of the packages such that /etc/gtk-2.0/ is created and populated only when building from source, but it was incredibly frustrating!! |
|
Back to top |
|
|
shoan n00b
Joined: 27 Oct 2003 Posts: 32
|
Posted: Thu Dec 09, 2004 12:40 pm Post subject: |
|
|
Thanks. Your post saved me a sleepless night. |
|
Back to top |
|
|
2lt.chronic n00b
Joined: 02 Feb 2005 Posts: 52 Location: york.on.ca
|
Posted: Thu Sep 29, 2005 8:50 pm Post subject: |
|
|
This post is from 2004, yet when I was compiling gnome TODAY the same problem existed and had to be rectified using this method. How did something like this slip through the cracks?! |
|
Back to top |
|
|
rm Tux's lil' helper
Joined: 25 Oct 2004 Posts: 87
|
Posted: Sat Oct 08, 2005 5:10 am Post subject: |
|
|
idem dito, emerging gnome-2.12.0
rm |
|
Back to top |
|
|
|