Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-11-06 18:24:18

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Theme color organization is totally confusing

I am searching for documentation which provides comprehensive information about the home folder location and the contents of gtkrc files. I came across four possible folders where these files can be stored and would like to know which is the preferred folder to keep the files

/home/ineuw/.local/share/themes/                 empty
/home/ineuw/.config/gtk-2.0/                         gtkfilechooser.ini
/home/ineuw/.themes/Greybird/gtk-2.0/       gtkrc
/home/ineuw/gtk-2.0/                                empty


Linux Mint Cinnamon 21.3

Offline

#2 2016-11-06 19:33:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Theme color organization is totally confusing

This is my understanding.

Start here for information on gtkrc / gtk.css files (Start at the "Description" section). Read the priority section here to get an understanding of configuration priority and how it can be overwritten.

For gtkfilechooser.ini, the only info I can find about it is older gtk2 man pages (ref: http://www.manpagez.com/html/gtk2/gtk2- … hooser.php - look in the Configuration Options section).

In a nutshell (lowest to highest priority):
GTK2:
- built-in theme (raleigh)
- built into the app config info
- theme location (either /usr/share/themes or ~/.themes)
- /etc/gtk-2.0/gtkrc   /   ~/.gtkrc-2.0   /   GTK2_RC_FILES
*preferred locations:
   - in a theme file if its your own custom-designed theme
   - /etc/gtk-2.0/gtkrc for system-wide overrides
   - ~/.gtkrc-2.0 for user-specific overrides
   - GTK2_RC_FILES to override gtk theme for one specific application

GTK3:
- built-in theme (adwaita)
- built into the app config info
- theme location (either /usr/share/themes or ~/.themes)
- /etc/gtk-3.0/gtk.css   /   ~/.config/gtk-3.0/gtk.css   /   GTK_THEME
*preferred locations:
   - in a theme file if its your own custom-designed theme
   - /etc/gtk-3.0/gtk.css for system-wide overrides
   - ~/.config/gtk-3.0/gtk.css for user-specific overrides
   - GTK_THEME to override gtk theme for one specific application

gtkfilechooser.ini is a GTK2 weirdness I never understood.

EDIT: For gtk2 themes, this link might also be helpful.

Last edited by ToZ (2016-11-06 19:40:54)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2016-11-06 22:52:07

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: Theme color organization is totally confusing

ToZ, I can't thank you enough for pointing me to the right direction.


Linux Mint Cinnamon 21.3

Offline

Board footer

Powered by FluxBB