This file is indexed.

/usr/share/themes/Crux/gtk-2.0/gtkrc is in gtk2-engines 1:2.20.2-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
#  gtkrc -- gtkrc for crux-engine theme
#
#  Copyright (C) 2000, 2001 Eazel, Inc.
#  Copyright (C) 2005, 2006 Thomas Wood <thos@gnome.org>

#  Authors
#   Design: Lapo Calamandrei  <calamandrei@gmail.com>
#   Code:   Thomas Wood  <thos@gnome.org>
#
#  Original Authors
#   John Harper <jsh@eazel.com>


#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License as
#  published by the Free Software Foundation; either version 2 of the
#  License, or (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#  $Id: gtkrc,v 1.11 2006/10/02 17:57:25 thos Exp $

# Default style for all widgets to build from

gtk_color_scheme = "fg_color:#000;bg_color:#d3d7cf;base_color:#fff;text_color:#000;selected_bg_color:#75507b;selected_fg_color:#fff;tooltip_bg_color:#F5F5B5;tooltip_fg_color:#000"


style "default"
{
  fg[NORMAL]        = @fg_color           # was 000000 --> OK
  fg[PRELIGHT]      = @fg_color           # was 000000 --> OK
  fg[SELECTED]      = @selected_fg_color  # was ffffff --> OK
  fg[ACTIVE]        = @fg_color           # was 000000 --> OK
  fg[INSENSITIVE]   = darker (@bg_color)  # was 888a85 --> ??

  bg[NORMAL]        = @bg_color                # was d3d7cf --> NO?
  bg[PRELIGHT]      = shade (1.02, @bg_color)  # was ededeb --> NO?
  bg[SELECTED]      = @selected_bg_color       # was 75507b --> OK
  bg[INSENSITIVE]   = @bg_color                # was c4c6c0 --> OK?
  bg[ACTIVE]        = shade (0.9, @bg_color)   # was a3a69f --> ??

  base[NORMAL]      = @base_color              # was ffffff --> OK
  base[PRELIGHT]    = shade (0.95, @bg_color)  # was 000000 --> NO?
  base[ACTIVE]      = shade (0.9, @selected_bg_color)  # undefined
  base[SELECTED]    = @selected_bg_color       # 75507b --> OK
  base[INSENSITIVE] = @bg_color                # dddddd --> NO

  text[NORMAL]      = @text_color         # was 000000 --> OK
  text[PRELIGHT]    = @text_color         # was 000000 --> OK
  text[ACTIVE]      = @selected_fg_color  # was 000000 --> OK 
  text[SELECTED]    = @selected_fg_color  # was undefined
  text[INSENSITIVE] = darker (@bg_color)  # was 888a85 --> ??

  GtkRange::slider_width = 13
  GtkRange::stepper_size = 13
  GtkRange::trough_border = 1

  GtkScale::slider_width = 12
  GtkScale::stepper_size = 12
  GtkScale::trough_border = 0

  GtkScale::slider_length = 16
  GtkCheckButton::indicator_size = 12
  GtkCheckButton::indicator_spacing = 3
  GtkCheckMenuItem::indicator_size = 10

  GtkOptionMenu::indicator_size = { 11, 6 }
  GtkOptionMenu::indicator_spacing = { 30, 5, 2, 2 }

  GtkScrollbar::min_slider_length = 25

  engine "crux-engine" {  }
}

# common default
class "GtkWidget" style "default"

# Style used for (prelighted) menu items
style "menuitem"
{
  fg[PRELIGHT] = @selected_fg_color # was 000000 --> OK
  bg[PRELIGHT] = @selected_bg_color # was 75507b --> OK
}

class "GtkMenuItem" style "menuitem"
widget_class "*.*MenuItem.*" style "menuitem"


style "menu"
{
  xthickness = 3
}

# This enables gradiented menu backgrounds
class "GtkMenu" style "menu"

style "entry"
{
  xthickness = 3
  ythickness = 3

  # Slightly lighter so that the selection will be visible properly
  bg[SELECTED] = mix(0.85, @selected_bg_color, @base_color)

  engine "crux-engine"
  {
    thickness = 3
  }
}

# some extra padding around text entries, so the focus marking fits
class "GtkEntry" style "entry"
class "GtkText" style "entry"

style "trough"
{
   bg[NORMAL] = shade (0.9, @bg_color)
   # fg[PRELIGHT] is used for the text underneath the bar.
   fg[PRELIGHT] = @selected_fg_color
}
class "GtkProgressBar" style "trough"

style "statusbar"
{
   xthickness = 3
   ythickness = 3
}
class "GtkStatusbar" style "statusbar"

style "crux-tooltips"
{
        xthickness = 4
        ythickness = 4

        bg[NORMAL] = @tooltip_bg_color
        fg[NORMAL] = @tooltip_fg_color
}

# The window of the tooltip is called "gtk-tooltip"
################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
################################
widget "gtk-tooltip*" style "crux-tooltips"

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "crux-text-is-fg-color-workaround"
{
	text[NORMAL]        = @fg_color
	text[PRELIGHT]      = @fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @fg_color
	text[INSENSITIVE]   = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "crux-text-is-fg-color-workaround"

style "crux-menuitem-text-is-fg-color-workaround"
{
	text[NORMAL]        = @fg_color
	text[PRELIGHT]      = @selected_fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @fg_color
	text[INSENSITIVE]   = darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*"   style "crux-menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "crux-fg-is-text-color-workaround"
{
	fg[NORMAL]      = @text_color
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}
widget_class "*<GtkListItem>*" style "crux-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "crux-fg-is-text-color-workaround"