You are not logged in.
Pages: 1
I use KDE 3.5.8 and after upgrading to xorg 7.3 all my video modes and font sizes went nuts. That's solved now, but GTK apps still display a tiny font.
If I recall correctly, in previous KDE versions, kcontrol had an option to apply font preferences to Qt and GTK apps, but I can't find it now. I fixed the Qt ones with "qtconfig", does something similar exist for GTK? How can I increase size font beyond "microscopic almost invisible"?
Offline
Fire up kcontrol, the KDE settings application. Look for Appearance & Themes. See if you have a menu item under Appearance & Themes called GTK Styles and Fonts. If you don't you need to install the package gtk-qt-engine. Log out and back in to restart KDE. There should be a menu item under Appearance & Themes called GTK Styles and Fonts. That is where you set fonts for GTK apps.
Offline
Thanks for the tip, but although gtk-qt-engine is installed the "GTK Styles and Fonts" menu doesn't appear. May be it's a KDE issue, because I remember such option in previous versions.
Offline
Just executed kcontrol as another user and the option is there, so it must be something in my .kde files, I'll check them.
Offline
All you need to do is create a couple text files. a .gtkrc and a .gtkrc-2.0 file under /home/username to manipulate the font and size.
This is the contents of my .gtkrc file...
style "tooltips"
{
bg[NORMAL] = "#ffffcc"
fg[NORMAL] = "#000000"
}
widget "gtk-tooltips*" style "tooltips"
style "user-font"
{
fontset="-*-bitstream vera sans-medium-r-normal-*-16-*-*-*-*-*-iso8859-1"
}
widget_class "*" style "user-font"
This is the contents of my .gtkrc-2.0 file...
include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Bitstream Vera Sans 12"
}
widget_class "*" style "user-font"
gtk-theme-name="QtCurve"
gtk-font-name="Bitstream Vera Sans 12"
-- archlinux 是一个极好的 linux。
Offline
Thanks for the answer. I have both files (generated by KDE according to the comments at the top). I'll tweak with them and see.
The "GTK Styles and Fonts" option still doesn't show up in kcontrol, but as long as I can change the settings otherwise is ok for me.
Offline
Pages: 1