Difference between revisions of "Improve GTK Application Looks"

From ArchWiki
Jump to: navigation, search
m (Undo revision 99982 by Thestinger (Talk))
Line 6: Line 6:
  
 
= GTK1 Apps =
 
= GTK1 Apps =
If you sometimes use old GTK1 apps (like xmms), you probably know they don't look nice. This is because they use ugly default theme.
+
If you use old GTK1 apps (like xmms), you would know they don't look nice at first. This is because they use ugly themes by default.
 
To change it, you need to:
 
To change it, you need to:
 
# download and install some nice theme
 
# download and install some nice theme
Line 17: Line 17:
 
  # pacman -S gtk-theme-switch
 
  # pacman -S gtk-theme-switch
  
then run it with 'switch' command. That's all. Isn't it better looking now? :)
+
then run it with the 'switch' command.
  
 
= GTK2 Apps =
 
= GTK2 Apps =
For GTK2 apps (e.g. Pidgin), methods to change theme include: <code>gtk-theme-switch2</code>, <code>gtk-chtheme</code> or <code>gtk2_prefs</code>. There is also <code>lxappearance</code>, a DE independent configuration tool from the LXDE project. It doesn't require any other parts of LXDE. So once you have made your mind do one of the following:
+
For GTK2 apps (e.g. Pidgin), methods to change themes include: <code>gtk-theme-switch2</code>, <code>gtk-chtheme</code> or <code>gtk2_prefs</code>. There is also <code>lxappearance</code>, a DE independent configuration tool from the LXDE project. It doesn't require any other parts of LXDE. Once you have made your mind set, do one or more of the following:
  
 
  # pacman -S gtk-theme-switch2
 
  # pacman -S gtk-theme-switch2
Line 30: Line 30:
 
  # pacman -S lxappearance
 
  # pacman -S lxappearance
  
You probably would like to install some themes too. The popular ''Clearlooks'' theme is included within the <code>gtk-engines</code> package:
+
It is recommended to install some themes too. The popular ''Clearlooks'' theme is included within the <code>gtk-engines</code> package:
 
  # pacman -S gtk-engines
 
  # pacman -S gtk-engines
  
Line 36: Line 36:
 
  # yaourt -Ss gtk-theme gtk2-theme
 
  # yaourt -Ss gtk-theme gtk2-theme
  
Now run either <code>switch2</code> or <code>gtk-chtheme</code> or <code>gtk2_prefs</code>, depending on what you chose before and change the theme to your liking.
+
Now run either <code>switch2</code> or <code>gtk-chtheme</code> or <code>gtk2_prefs</code>, depending on the method you choose and change the theme to your liking.
  
If you want to change the icon theme of GTK2 Applications, then you have to modify or add in the file <code>~/.gtkrc-2.0</code> the following line (here the icon theme is set to Tango):
+
If you want to change the icon theme of GTK2 Applications, then modify or add in the file <code>~/.gtkrc-2.0</code> the following line (here the icon theme is set to Tango):
  
 
  gtk-icon-theme-name = "Tango"
 
  gtk-icon-theme-name = "Tango"

Revision as of 04:13, 14 March 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Template:Moveto

GTK1 Apps

If you use old GTK1 apps (like xmms), you would know they don't look nice at first. This is because they use ugly themes by default. To change it, you need to:

  1. download and install some nice theme
  2. change the theme

Some nice themes are in [extra]. To install it:

# pacman -S gtk-smooth-engine

To change the theme you can use gtk-theme-switch:

# pacman -S gtk-theme-switch

then run it with the 'switch' command.

GTK2 Apps

For GTK2 apps (e.g. Pidgin), methods to change themes include: gtk-theme-switch2, gtk-chtheme or gtk2_prefs. There is also lxappearance, a DE independent configuration tool from the LXDE project. It doesn't require any other parts of LXDE. Once you have made your mind set, do one or more of the following:

# pacman -S gtk-theme-switch2

# pacman -S gtk-chtheme

# pacman -S gtk2_prefs

# pacman -S lxappearance

It is recommended to install some themes too. The popular Clearlooks theme is included within the gtk-engines package:

# pacman -S gtk-engines

Further themes can be found in AUR e.g. by

# yaourt -Ss gtk-theme gtk2-theme

Now run either switch2 or gtk-chtheme or gtk2_prefs, depending on the method you choose and change the theme to your liking.

If you want to change the icon theme of GTK2 Applications, then modify or add in the file ~/.gtkrc-2.0 the following line (here the icon theme is set to Tango):

gtk-icon-theme-name = "Tango"
...more gtk2 settings...

GTK with QT

If you have GTK and QT(KDE) applications on you desktop then you know their looks don't blend well. If you wish to make your GTK styles match your QT styles please read Uniform Look for QT and GTK Applications.