You are not logged in.
(For those of you who read my last thread, I put CDM on my machine now after tweaking it a bit. Works like a charm. Anyway, onto the main subject.)
Lately, I've been editing .gtkrc-2.0.mine to try and understand how GTK color changing/theming is done by editing up the gtkrc-2.0.* generated by gnome-color-chooser. Funky thing is that renaming the styles from "gnome-color-chooser-*" to "*" changes the look completely. I'm not sure if this is because of the pixmap path on top of the file or if it's because of Gnome-color-chooser itself. I'm trying to figure out why this is happening before I turn the generated gtkrc-2.0.* into a template for Geany so I don't have to use Gnome-color-chooser. Below is the animation of the differences between the edits and the corresponding files along with notes on what changes in the files were applicable to each frame:
[EDIT]: Almost forgot: ~/.gtkrc-2.0-gnome-color-chooser is symlinked as ~/.gtkrc-2.0.mine
F1: Purely Gnome-CC generated
F2: Gnome-CC generated, renamed styles, and included the gtkrc for my current theme
F3: Gnome-CC generated, renamed styles, and gtkrc for current theme not included
~/.gtkrc-2.0:
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine
gtk-theme-name="Dust TrueDark2" <-- a slightly modified version of Dust TrueDark so the box highlighting colors correctly and removes the annoying pixmap menubar image
gtk-icon-theme-name="Breathless"
gtk-font-name="MatrixBook 9"
gtk-toolbar-style=0
include "/home/shadowkyogre/.gtkrc-2.0.mine"
include ".gtkrc-2.0-gnome-color-chooser"
#added to ~/.gtkrc-2.0 in frame 2:
include "/home/shadowkyogre/.themes/Dust TrueDark2/gtk-2.0/gtkrc"
^ frames 1 and 3 do not have this code
For frames 2 & 3, frame one has this except it has gnome-color-chooser- appended to the style names.
~/.gtkrc-2.0-gnome-color-chooser:
pixmap_path "/home/shadowkyogre/.gnome-color-chooser/images/"
style "default"
{
engine "murrine"
{
menubaritemstyle = 1
menuitemstyle = 1
menustyle = 0
}
bg[NORMAL] = "#19002E"
bg[PRELIGHT] = "#FF0000"
bg[SELECTED] = "#FF0000"
bg[ACTIVE] = "#19002E"
bg[INSENSITIVE] = "#19002E"
fg[NORMAL] = "#FF0000"
fg[PRELIGHT] = "#000000"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#FF0000"
fg[INSENSITIVE] = "#350062"
base[NORMAL] = "#400000"
base[PRELIGHT] = "#19002E"
base[SELECTED] = "#FF0000"
base[ACTIVE] = "#400000"
base[INSENSITIVE] = "#400000"
text[NORMAL] = "#FF0000"
text[PRELIGHT] = "#FF0000"
text[SELECTED] = "#000000"
text[ACTIVE] = "#FF0000"
text[INSENSITIVE] = "#660000"
GtkToolbar::shadow_type = GTK_SHADOW_NONE
}
class "GtkWidget" style "default"
style "panel"
{
bg[NORMAL] = "#19002E"
bg[PRELIGHT] = "#530000"
bg[SELECTED] = "#820000"
bg[ACTIVE] = "#19002E"
bg[INSENSITIVE] = "#19002E"
fg[NORMAL] = "#FF0000"
fg[PRELIGHT] = "#000000"
fg[SELECTED] = "#FF0000"
fg[ACTIVE] = "#FF0000"
fg[INSENSITIVE] = "#29004B"
}
class "PanelTopLevel.*" style "panel"
widget_class "*PanelApplet*" style "panel"
widget_class "*PanelWidget*" style "panel"
widget "*fast-user-switch-applet*" style "panel"
style "startmenue"
{
bg[NORMAL] = "#19002E"
bg[SELECTED] = "#FF0000"
fg[NORMAL] = "#FF0000"
fg[PRELIGHT] = "#000000"
}
widget "GtkWindow.gnome-panel-main-menu*" style "startmenue"
style "scrollbar"
{
engine "murrine"
{
}
bg[NORMAL] = "#340061"
}
widget_class "*Scrollbar" style "scrollbar"
style "tooltips"
{
bg[NORMAL] = "#400000"
fg[NORMAL] = "#FF0000"
}
widget "gtk-tooltip*" style "tooltips"
style "button"
{
engine "murrine"
{
}
bg[NORMAL] = "#19002E"
bg[PRELIGHT] = "#530000"
bg[SELECTED] = "#530000"
bg[ACTIVE] = "#19002E"
bg[INSENSITIVE] = "#19002E"
fg[NORMAL] = "#FF0000"
fg[PRELIGHT] = "#FF0000"
fg[ACTIVE] = "#FF0000"
fg[INSENSITIVE] = "#29004B"
}
widget_class "*.<GtkButton>*" style "button"
style "combobox"
{
text[NORMAL] = "#FF0000"
text[PRELIGHT] = "#FF0000"
text[ACTIVE] = "#000000"
text[INSENSITIVE] = "#21003D"
}
widget_class "*.<GtkComboBox>.<GtkCellView>" style "combobox"
gtk-icon-sizes = "gtk-button=16,16:"
Last edited by ShadowKyogre (2010-04-22 03:54:58)
For every problem, there is a solution that is:
Clean
Simple and most of all...wrong!
Github page
Offline