LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-14-2004, 08:25 PM   #1
colelinux
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
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!
 
Old 03-14-2004, 09:13 PM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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)
 
Old 03-14-2004, 10:29 PM   #3
colelinux
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Wow, Thanks m8! Now everything looks nice in linux :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kde fonts compared to gnoome fonts jang Linux - Distributions 5 08-03-2007 10:03 AM
Kde/Gnome look and feel powerlifter450 Linux - Software 3 11-04-2005 09:54 AM
I feel sorry for anyone still using Fedora (help with KDE) mikeghet Suse/Novell 4 10-24-2005 10:43 AM
KDE fonts Andy@DP Linux - Newbie 3 04-08-2004 06:49 AM
TT fonts in KDE matjaz85 Linux - General 1 05-25-2002 05:14 PM


All times are GMT -5. The time now is 03:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration