Friday, 25 March 2016

Enabling icons for gtk -BSD (Solved)

$mkdir ~/.gtkrc-2.0

$vi ~/.gtkrc-2.0

$ echo 'gtk-icon-theme-name="Tango"' >> ~/.gtkrc-2.0

Additional Information


If you're not using gnome or xfce but have some gtk apps installed then you could always set your theme preferences via ~/.gtkrc-2.0 like this:

# ~/.gtkrc-2.0

gtk-can-change-accels = 1

gtk-icon-theme-name = "Faenza-Dark"
gtk-theme-name = "Zukitwo"

style "user-font"
{
        font_name="Terminus 12"
}
widget_class "*" style "user-font"
gtk-font-name = "Terminus 12"
But with gtk 3.0 this changed. You know have to edit the file ~/.config/gtk-3.0/settings.iniwhich will look like this:
[Settings]
gtk-application-prefer-dark-theme = false
gtk-theme-name = Zukitwo
gtk-fallback-icon-theme = gnome
gtk-icon-theme-name = Faenza-Dark
gtk-font-name = Terminus 12
To avoid visual differences you should choose the same (if possible) or a similar theme for gtk3 and gtk2.

No comments:

Post a Comment