Customizing XWindows


To customize xterms that your window manager will start up with, edit your
.X11rc file and add/remove/change the lines that launch xterms according to
the following options:

xterm -geometry 80x56+0+130 -bd 'black' -bg 'white' -fg 'black' -hc 'orange' &

-geometry is [width]x[height](+/-)[horizontal offset](+/-)[vertical offset]
  offset is + from left and top or - from right and bottom
-bd is the scrollbar color, may not be of importance to you
-bg is background color for the window
-fg is foreground color for the window
-hc is highlight color for the window

Doing 'man colors' should give you a list of possible colors to try.

You can add the -iconic flag to have them start as icons, so if you did:

netscape -geometry [whatever you want here] -iconic &

It should start an iconic netscape for you when you log in.

To make general customizations to the window manager, including the menus and
such, edit the .fvwm2rc file in your home directory - you didn't have a custom
one, so I copied the default into your directory so that you can change it if
you like.  I made a couple of color changes for you (purple to orange for
example).

The section you want to change is at the top, and is basically these lines:

HilightColor black orange
DeskTopSize 2x2
MenuStyle orange grey60 grey40 -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-* fvwm

This sets color for hightlighting (overwritten in xterms by the -hc flag when
launching the xterm I believe), the number of virtual desktops you have, and
how your menus look.  Simply change the colors as you like.  If you get more
creative, you can edit the options on your menus and such further down in the
file.

Armed with this knowledge, you should be able to set up fvwm2 as you like -
and the changes to your .X11rc (like xterm colors) should also work in your
twm if you choose to stick with that