Posts: 604
thriftee
Joined: 27 Feb 2009
#1
I like the Crux theme best, of the ones that come with, except the purple selected items background color.

Does anyone know how to adjust this without installing lxsession?

I guess my second option would be to install lxsession, if I don't find a way to adjust it. How do I install it correctly if that's what I need to do?

Thanks for any answers or even hints where to look.

I dug around by changing it, then doing a find for files changed in the past 2 minutes and storing that to a file,
find . -cmin -2 > /home/demo/lastmin.txt
and looking at it in leafpad, then googling for gtk2 gtkrc-2.0 settings change background color
found a link

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.manjaro.org/index.php?title=Change_the_colours_of_your_GTK%2B_themes"
linktext was:"https://wiki.manjaro.org/index.php?titl ... %2B_themes"
====================================

then found the files
find / -iname gtkrc
look for crux
used gcolor2 to get a nice color in hex
then use leafpad to change the color of the selected_bg_color to the hex number from gcolor2
leafpad /usr/share/themes/Crux/gtk-2.0/gtkrc

# 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:#1817EC;selected_fg_color:#fff;tooltip_bg_color:#F5F5B5;tooltip_fg_color:#000"


Save file, no more ugly purple!