1. Linux colors
- Posted by Jerry Story <jstory at ocii.com> May 29, 2006
- 547 views
How can I change Linux colors? I tried the window manager AfterStep. It is fancy but confusing and hard to use. So I went back to iceWM. Now the colors are wrong. AfterStep changed the colors. How can I change the colors?
2. Re: Linux colors
- Posted by Bernie Ryan <xotron at bluefrog.com> May 29, 2006
- 522 views
Jerry Story wrote: > > How can I change Linux colors? > > I tried the window manager AfterStep. > It is fancy but confusing and hard to use. > So I went back to iceWM. > Now the colors are wrong. AfterStep changed the colors. > How can I change the colors? Jerry: The colors for x-applications are kept in a RESOURCE DATABASE. also there are some appication's that have there own configuration files for a applications default resources. Here is some information on the Web that might help you to figure out what to do. http://home.comcast.net/~jml3on/xres/xres.html If you look at XMOTOR's a_demo you will see that see: app_resources = str2List({ "*toplevel*background: white", "*toplevel.width: 300", "*toplevel.height: 200", "*toplevel*topLabel.background: yellow", "*toplevel*topLabel.foreground: red", "*toplevel*helloButton.background: gray", "*toplevel*helloButton.foreground: black", "*toplevel*exitButton.background: gray", "*toplevel*exitButton.foreground: black" Which will setup the default colors for sepecific widgets. If I did not do this then the x-windows will use the default values from the default system resource database. Hope this helps you figure out what to do. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
3. Re: Linux colors
- Posted by Alexander Toresson <alexander.toresson at gmail.com> May 29, 2006
- 555 views
Bernie Ryan wrote: > > Jerry Story wrote: > > > > How can I change Linux colors? > > > > I tried the window manager AfterStep. > > It is fancy but confusing and hard to use. > > So I went back to iceWM. > > Now the colors are wrong. AfterStep changed the colors. > > How can I change the colors? > > Jerry: > > The colors for x-applications are kept in a RESOURCE DATABASE. > also there are some appication's that have there own configuration > files for a applications default resources. > > Here is some information on the Web that might help you to > figure out what to do. > > <a > href="http://home.comcast.net/~jml3on/xres/xres.html">http://home.comcast.net/~jml3on/xres/xres.html</a> > > > If you look at XMOTOR's a_demo you will see that see: > > app_resources = str2List({ > "*toplevel*background: white", > "*toplevel.width: 300", > "*toplevel.height: 200", > "*toplevel*topLabel.background: yellow", > "*toplevel*topLabel.foreground: red", > "*toplevel*helloButton.background: gray", > "*toplevel*helloButton.foreground: black", > "*toplevel*exitButton.background: gray", > "*toplevel*exitButton.foreground: black" > > Which will setup the default colors for sepecific widgets. > If I did not do this then the x-windows will use the default > values from the default system resource database. > > Hope this helps you figure out what to do. > 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. Regards, Alexander Toresson
4. Re: Linux colors
- Posted by Bernie Ryan <xotron at bluefrog.com> May 29, 2006
- 544 views
- Last edited May 30, 2006
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. 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. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan
5. Re: Linux colors
- Posted by Jerry Story <jstory at ocii.com> May 30, 2006
- 532 views
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. In Mozilla in the combo box that shows addresses, the background is white and the text on it is very light gray, and there is little contrast and it is hard to read. Similar problems in nearly all other programs. Windows are dark and they should be light. Window manager theme is not a problem.
6. Re: Linux colors
- Posted by Jerry Story <jstory at ocii.com> May 30, 2006
- 568 views
I found how to fix the Linux colors. The file .gtkrc-2.0 in the home directory.
7. Re: Linux colors
- Posted by Alexander Toresson <alexander.toresson at gmail.com> May 30, 2006
- 542 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