LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-03-2005, 03:16 PM   #1
the_low
LQ Newbie
 
Registered: Aug 2005
Location: Germany, NRW
Distribution: Debian/Sarge
Posts: 6

Rep: Reputation: 1
change font(size) for GTK based applications?


Hi everyone,
first (as this is my first post here) I want to say hello to the forums. Guess you'll see me around here more often, as I just made the switch and am running Debian/Sarge on my desktop now. My iBook will continue to run MacOS X Tiger though

Anyway, here is my first problem: I noticed that XMMS and VLC (both apps using the GTK1 framework, if I understood that right?) show _extremely_ small fonts in their menus.

screenshots:

thelow.shacknet.nu/gtk1.jpg
thelow.shacknet.nu/gtk2.jpg

Imagine that on 2048x768 on a dualhead 14" tft setup and you understand my problem

I presume, there should be some central config file or something where I can change this behaviour. Unfortunately, the great google wouldn't give me a useful answer fpr this. Or maybe I just asked the wrong questions. Whatever. Help?
 
Old 08-03-2005, 03:31 PM   #2
neuroticnumbnuts
LQ Newbie
 
Registered: Jun 2005
Distribution: SimplyMEPIS 3.3
Posts: 3

Rep: Reputation: 0
have u tried installing gtk2-engines-gtk-qt package? this has help me out a bit, but not totally. for example, my xmms menu is kinda the opposite, i have big ugly fonts. but on the other hand, firefox is perfect. hope this helps.
 
Old 08-03-2005, 03:49 PM   #3
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
In your home directory, create files named .gtkrc-2.0 and .gtkrc

In .gtkrc-2.0, enter the following line:

Code:
gtk-font-name="Fudd 18"
In .gtkrc, enter the following:

Code:
style "default-text" {
 fontset = "-*-arial-medium-r-normal--18-120-*-*-*-*-iso10646-1,\
-*-Nimbus Sans L-medium-r-normal--18-120-*-*-*-*-*-*"
}
class "GtkWidget" style "default-text"

Last edited by IsaacKuo; 08-03-2005 at 03:53 PM.
 
  


Reply



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
GTK font size way too big in SuSE 9.2... Tsuroerusu Linux - Software 2 12-18-2004 04:01 PM
increase font size in applications jbolt Mandriva 4 08-30-2004 04:05 AM
Where i can change the X font size dr_doom Linux - Software 0 04-09-2004 12:17 PM
firefox gtk + xft font size to big trollman Linux - Software 0 03-05-2004 01:02 PM
How can I enlarge the font size of the softwre writen with GTK under KDE zphou Mandriva 2 03-04-2004 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration