New Posts  All Forums:Forum Nav:

no more text :(

post #1 of 22
Thread Starter 
I've just booted back into linux and... there's no text on any of the windows or menus. Obviously there is text here, so... it's obviously the window manager or gnome.... right? Has anyone ever heard of this, and does anyone know of a fix??? It's no fun stumbing around in a GUI with not text descriptions for the icons and text descriptions for open windows on the tasbar etc etc.
post #2 of 22
Thread Starter 
ok, here is what i've found so far. stems from upgrading pango and there being a confusion in the location of the pango.modules file.

Quote:
The problem is that it is looking for:

/etc/i386-redhat-linux-gnu/pango.modules

but the file is

/etc/i386-redhat-linux/pango.modules

Symlinking the directories will get your text back until I figure
out the correct munging in the spec file to fix this.
so, what is symlinking? and, could i just create the directory pango is looking for and copy the pango.modules file into that directory?
post #3 of 22
Symlink means "symbolic link" or make something appear to be in one place when it is really in another without copying. It makes the same file appear to be in more than one place at a time, sometimes with even a different name. First, make sure you have a directory called /etc/i386-redhat-linux-gnu. If it isn't there, make one. After you have that directory created, run this:

ln -sf /etc/i386-redhat-linux/pango.modules /etc/i386-redhat-linux-gnu/pango.modules

(that should be all on one line)

That will create a symlink called /etc/i386-redhat-linux-gnu/pango.modules that points to /etc/i386-redhat-linux/pango.modules. You can run ls -l to see the link.
post #4 of 22
A symlink is a symbolic link (a file that points to another file's pathname).

The problem with creating a new copy of pango.modules is that you'll have two different versions of the same file that will be saved independently, possibly with different contents as various programs write to them. You want them to "appear" to be the same file for any program that's looking for that file, regardless of what its path is.

But anyway, symlink syntax works like this:

ln -s [file you're linking to] [name of link you want to create]

So, you can do either:

ln -s /etc/i386-redhat-linux /etc/i386-redhat-linux-gnu

to make symlinks with absolute paths. A cleaner way is to make links with relative paths, by doing:

cd /etc
ln -s i386-redhat-linux i386-redhat-linux-gnu
post #5 of 22
Eh, you beat me to it.
post #6 of 22
Thread Starter 
Thanks Now I've discovered I don't have either of those folders lol. There is no folder beginning with i386 in my etc folder So, creating the link won't do any good, as it has nothing to link to. I have no clue what to do now.
post #7 of 22
I win!
post #8 of 22
Do you have pango installed? Look for the file with this command (I hope slocate is installed)

locate pango.modules
post #9 of 22
Thread Starter 
didn't return anything. i know i have pango installed. i've read that there is a bug where pango doesn't generate the file and you had to do it manually but i don't know how. :-/
post #10 of 22
Do you have an /etc/pango directory?
post #11 of 22
Thread Starter 
yah, i do
post #12 of 22
Do you have pango.modules in there?
post #13 of 22
mkdir /etc/i386-redhat-linux-gnu
pango-querymodules > /etc/i386-redhat-linux-gnu/pango.modules
post #14 of 22
Xiph out googled me.

I lose.
post #15 of 22
Thread Starter 
no, there is pangox.aliases and there is a subfolder i386-redhat-linux-gnu which is the name of the folder it is supposedly looking for but it is empty. :-/
post #16 of 22
Thread Starter 
Quote:
Originally Posted by xiphux
mkdir /etc/i386-redhat-linux-gnu
pango-querymodules > /etc/i386-redhat-linux-gnu/pango.modules
pango-querymodules is a file/command? i get command not found when i try to run it.
post #17 of 22
Heh, actually, I didn't google. I did a "qpkg -l pango | grep bin" and found the only executable to be pango-querymodules. So I ran it, and it outputs comments that say "Pango module file" and "Automatically generated file, do not edit", etc, which clearly indicates that the output is supposed to be piped into a file somewhere.

If you have a correct install of pango, you should have that executable. It's probably somewhere on your computer, just not in your path.

Either that, or it's possible that it's been named something different. You can try typing just "pango" and pressing tab a couple times to have bash autocomplete it, to see if you have a similare executable somewhere.
post #18 of 22
Thread Starter 
Quote:
Originally Posted by xiphux
Heh, actually, I didn't google. I did a "qpkg -l pango | grep bin" and found the only executable to be pango-querymodules. So I ran it, and it outputs comments that say "Pango module file" and "Automatically generated file, do not edit", etc, which clearly indicates that the output is supposed to be piped into a file somewhere.

If you have a correct install of pango, you should have that executable. It's probably somewhere on your computer, just not in your path.

Either that, or it's possible that it's been named something different. You can try typing just "pango" and pressing tab a couple times to have bash autocomplete it, to see if you have a similare executable somewhere.
thanks it was named something different had a -32 appended to it
post #19 of 22
I presume to indicate 32 bit and differentiate it from 64 bit versions.

Either that, or I could be completely wrong and the people at redhat are just nuts...
post #20 of 22
Thread Starter 
well, that didn't work. i made a new file... put where it's supposed to go as indicated by that bugtraq post... then made a symbolic link to it where pango is supposedly looking for the .modules file... still i have no text. can i just uninstall pango and install the older version of it? (assuming that would be the easier thing to do)
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's