Re: Linux colors
- Posted by Alexander Toresson <alexander.toresson at gmail.com> May 30, 2006
- 541 views
Bernie Ryan wrote: > > Alexander Toresson wrote: > > > > Most programs do not use pure X widgets nowadays. Most use gtk2 or qt. > > In fact, it's very unclear in his original message what colours he means. > > It could be anything from gtk2 theme to background colour to window manager > > theme. > > > Alex > > Most programs like gtk2 or qt are built on top of the xlibraries > like the intrinsic toolkit or motif. Of course, but that doesn't mean that they use the same themes as pure X programs do. They usually just draw to a pixmap, then let X draw it. > Take a look in /usr/X11R6/lib/X11/app-defaults directory. > These same type of files can also be found in > /usr/share/apps/kdisplay/app-defaults directory. > > The resources maybe compiled and embedded in to a program which > is probably what themes are; compiled resources. The colors of gtk programs are determined by what themes you've selected out of those in (usually) /usr/share/themes and ~/.themes. Gtk programs don't use X resources in any way. I'm not familiar with how kde programs are themed, but I'd be very surprised if those use X resources. Regards, Alexander Toresson