LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-18-2005, 07:28 AM   #1
shadkong
Member
 
Registered: Apr 2005
Location: Guangzhou, China
Distribution: Slackware 10.2
Posts: 114

Rep: Reputation: 15
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!
 
Old 04-18-2005, 11:34 AM   #2
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
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"
 
  


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
GTK2 themes? c_olin3404 Linux - Software 3 05-22-2005 02:07 AM
Fonts ok in GTK but not GTK2? bram2000 Linux - Software 3 04-19-2005 09:35 AM
prob installing gtk2 themes marta Linux - Newbie 1 03-30-2004 06:49 PM
gtk2 themes error dibblethewrecke Linux - Newbie 6 01-24-2004 05:08 PM
Using gtk1 themes with gtk2 apps? n_ick2000 Linux - Software 0 03-30-2003 10:32 PM

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

All times are GMT -5. The time now is 07:25 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