Fix font rendering for application opened with ‘gksu’
These two days I’ve been playing with desktop beautification, and today I noticed a minor issue about how fonts are rendered in application which opened using superuser account (in gnome like Synaptic, or KDE like Adept). Don’t care how much I set the font to be rendered as beautiful as it could be, those application opened with superuser account will render it very ugly, as if there is no settings at all. After searching some help in the net, I bump into this page, and found the solution which is very easy to do.
From a comment on that page, it seems that font rendering is a per-user settings. So, the solution is very simple. Find a file in your home directory (e.g /home/alvonsius/) named .fonts.conf (watch for the dot before the name, meaning that it is a hidden file) and copy it into root folder (which is /root/). Or, in my case I just create a symbolic link to that directory using :
sudo ln -s /home/alvonsius/.fonts.conf /root/
And that’s it! Fonts are now rendered perfectly. Try it ^^
Recent Comments