LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   About gtk/gtk2 programs' themes and fonts (https://www.linuxquestions.org/questions/linux-newbie-8/about-gtk-gtk2-programs-themes-and-fonts-314470/)

shadkong 04-18-2005 07:28 AM

About gtk/gtk2 programs' themes and fonts
 
I have not installed gnome, I use KDE as my desktop system. I just want to know how to change gtk/gtk2 programs' themes and fonts. If you have gnome installed, it is easy, because you have gnome-control-center, but I only have KDE, and how can I do it?
Thanks!

Harmaa Kettu 04-18-2005 11:34 AM

The configuration file is ~/.gtkrc-2.0 and its syntax is like this:
Code:

gtk-theme-name = "ThinIce"

# Unfortunately most applications don't support this yet.
gtk-alternative-button-order = 1

# Override a couple of settings
style "my_style"
{
  font_name = "Arial 10"
}

style "combobox_style"
{
  GtkComboBox::appears-as-list = 1
}
 
class "GtkWidget" style "my_style"
class "GtkComboBox" style "combobox_style"



All times are GMT -5. The time now is 09:10 PM.