LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unchangable fonts through KDE Look and Feel, Help! (https://www.linuxquestions.org/questions/linux-newbie-8/unchangable-fonts-through-kde-look-and-feel-help-157739/)

colelinux 03-14-2004 08:25 PM

Unchangable fonts through KDE Look and Feel, Help!
 
Hi all, I'm on Mandrake 9.2. I don't know why the fonts on MPlayer, XMMS, The Gimp, Xine, (Just to name a few) are so huge and ugly. I tried changing them in KDE Look and Feel, there's no option for that. Here's a link to the screenshot, which might describe better what i'm saying here.

planet.time.net.my/TechnologyPark/colelinux/fontfrust.png

(please add " http : // " in front, i'm not allowed to post links yet)

Thanks!

Demonbane 03-14-2004 09:13 PM

Not sure about Xine since I don't use it, but these other apps use gtk1, and gtk1 is ugly. Font changes in KDE won't apply because KDE uses QT. But anyway to change the font you use ~/.gtkrc.
Copy one of the gtkrc.* files, for example gtkrc.iso-8859-2, from /etc/gtk to ~/.gtkrc, it should look something like this:
Code:

#$(gtkconfigdir)/gtkrc.iso-8859-2
#
# This file defines the fontsets for iso-8859-2 encoding
# make symliks or hardlinks to gtkrc.$LANG if your language uses iso-8859-2
# and a gtkrc.$LANG doesn't exist yet.

style  "gtk-default-iso-8859-2" {
      fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                  -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                  -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-2,\
                  -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-2,*-r-*"
}
class "GtkWidget" style "gtk-default-iso-8859-2"

As you can see the font descriptions are in the cryptic format of "X Logical Font Description", but I think I can more or less conclude that the first string is the font name, and the number "12" is the size. Adjust it to suit your needs (try "xfontsel" if you're having trouble)

colelinux 03-14-2004 10:29 PM

Wow, Thanks m8! Now everything looks nice in linux :-)


All times are GMT -5. The time now is 04:35 AM.