1. Linux colors

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?

new topic     » topic index » view message » categorize

2. Re: Linux colors

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Linux colors

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Linux colors

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: Linux colors

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.

new topic     » goto parent     » topic index » view message » categorize

6. Re: Linux colors

I found how to fix the Linux colors.
The file .gtkrc-2.0 in the home directory.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Linux colors

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu