DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When upgrading from Sarge to Etch, and XFree86 to Xorg 7, many of us wind up with font problems. Has anyone written a reliable, easy to follow font Howto for Xorg 7?
I have a fresh install of etch but I have a problem of that sort too.
Quote:
robin:/etc# dpkg-reconfigure sound-server
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_BD:en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Package `sound-server' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: sound-server is not installed
Ok
What do you mean by legasy instructions hanging around?
This install started out as Libranet 2.8.0 several years ago. I've done my apt-get upgrades many times. I can't find any Libranet at this point, but who can guess what links are left behind.
Quote:
Maybe these directories don't exist on your system?
Try this:
Code:
apt-get --reinstall install x-ttcidfont-conf
If they don't exist, why is it looking?
I thought that last instruction would work, but here's what I got:
Quote:
Could not init font path element /usr/share/fonts/truetype/, removing from list!
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/CID, removing from list!
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
3)
Remove all references to /usr/share/fonts/X11/ in xorg.conf
Other solution:
Have a look at your xorg configuration file, there could be some advice on the first line on how to reconfigure xorg.
You seem to have the configuration file of unstable on an etch system.
The reason I got into this is that my aterm was coming up all boxes because the fonts didn't work. I found a font that works, but figured that I would try to straighten out the mess.
I thought that xorg 7 used /usr/share/fonts/X11/.
My xorg.conf is actually XFree86.conf. For some reason, when I did the upgrade, it just renamed the old config.
The reason I got into this is that my aterm was coming up all boxes because the fonts didn't work. I found a font that works, but figured that I would try to straighten out the mess.
I thought that xorg 7 used /usr/share/fonts/X11/.
And you are right . (hence the fonts.dir inside for X11) Sorry for the wrong advice. Remove only the reference to the three lines you mentionned
Quote:
Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
Quote:
My xorg.conf is actually XFree86.conf. For some reason, when I did the upgrade, it just renamed the old config.
Humm I think the difference is only on the font directories, before they were using /usr/X11R6 I think.
So do it yourself or use the automatic reconfigure tool:
dpkg-reconfigure -phigh xserver-xorg
I think the xorg96 to 7 Wiki is incomplete. Judging from my Google responses, there are frequent problems with fonts when migrating up. As usual, the documentation is lagging behind the changes. I'm trying to sort mine out now partly because I like a clean install and partly because future upgrades will build upon what I have.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
You can use dselect to reinstall the fonts. The problem is the soft links get lost, and xorg 7 doesn't keep track of these and put them back properly. So, you have to reinstall the fonts and xorg itself after you upgrade to etch. It's really not that hard. In dselect you hit / to search and \ to repeat search.
Hey, it's working better. My aterm can use my fonts again. One of the tips above (I'm not sure which one) has enabled mkfontscale and mkfontdir to do what they are supposed to. Thanks all for the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.