All the information that google returns says to change ~/.gtkrc2.0-mine
. Here is my .gtkrc-2.0
:
# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT
include "/usr/share/themes/Dust/gtk-2.0/gtkrc"
include "/home/mars/.gtkrc-2.0.mine"
# -- THEME AUTO-WRITTEN BY gtk-theme-switch2 DO NOT EDIT
Here is my .gtkrc-2.0.mine
:
style "default"
{
GtkTextView::cursor_color = "#ffffff"
base[NORMAL] = "#111111"
base[ACTIVE] = "#111181"
base[SELECTED] = "#808080"
text[NORMAL] = "#c0c0c0"
text[ACTIVE] = "#c0c0c0"
text[SELECTED] = "#111111"
}
class "GtkTextView" style "default"
Still appears with a white background!
Leafpad makes use the default gtk2.0 colors. Because of this changes to the leafpad background would be applied for all applications that use the default colors and these would be applied in more cases than the document area. If you want specific editor background colors for your editor you might want to try gedit which has extensive theme capabilities for the document area. There are a number of pre-made themes available for gedit and the default install provides 4 choices. There is an application called gnome-color-chooser that can be used to adjust no end of gtk2.0 colors and other global parameters. You may find that helpful.