geek and proud archives |
Friday, April 27, 2007
Fixing Fonts on Ubuntu Edgy/Feisty Upgrade
A while ago, I upgraded all my Ubuntu installs to Edgy. My laptop still seemed fine, but the fonts on my other machines (work, desktop) were messed up. I searched for a bit, and then just gave up and dealt with it. I found out the benefits of 85% mechanical keyboards and placed an order for one. I upgraded recently to Feisty, and it didn’t fix the problem, so I searched the web some more. Finally, I was able to find the solution, so hopefully by posting it here, other people will be able to find it quickly. Good title, and Google pagerank. 🙂 The issue with the fonts was due to a configuration problem with the X server. After some digging through forums and various tech blogs, I stumbled upon a solution that worked perfectly. Here’s what you need to do: 1. **Open a Terminal**: You can do this by pressing `Ctrl + Alt + T`. 2. **Edit the X Configuration File**: Type the following command to open the X configuration file in a text editor with root privileges: 3. **Locate the FontPath Section**: Look for the section that lists the FontPaths. It should look something like this: 4. **Add Missing FontPaths**: Ensure that all necessary font paths are included. If any paths are missing, add them. Here’s an example of what your section might need to include: 5. **Save and Exit**: Save the changes and exit the text editor. In `nano`, you can do this by pressing `Ctrl + O` to write out the changes, and then `Ctrl + X` to exit. 6. **Restart the X Server**: Restart your X server for the changes to take effect. You can do this by logging out and logging back in, or by rebooting your machine. After making these changes, my fonts were back to normal across all my machines. It’s a simple fix, but it took a while to track down. Hopefully, this post helps anyone else who encounters the same issue. By the way, the mechanical keyboard has been a fantastic upgrade—highly recommend it for anyone who spends a lot of time typing! |
||||
|
Argh. Thanks for posting this, but you know, this is the kind of thing that seriously pisses me off about Linux: changing things for what appears to be no good reason. I mean — WTF? What does it matter if it’s /fonts/X11 or X11/fonts?
Bad Ubuntu! No cookie!
🙂
You’d expect them to at least update the file; sheesh.
Fonts are still a big issue in Ubuntu.
The very big problem here is that the user cannot see the font even in gedit. So the user cannot change the section easily. So, my friend suggest me to send it to someone and ask somebody to edit it for you instead. It is easier a lot that way.
Btw, visit my blog @ light12.wordpress.com and giv some comment. Thanks.