LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   change font(size) for GTK based applications? (https://www.linuxquestions.org/questions/linux-newbie-8/change-font-size-for-gtk-based-applications-349688/)

the_low 08-03-2005 03:16 PM

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?

neuroticnumbnuts 08-03-2005 03:31 PM

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.

IsaacKuo 08-03-2005 03:49 PM

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"



All times are GMT -5. The time now is 10:17 AM.