[prev in list] [next in list] [prev in thread] [next in thread] 

List:       caldera-users
Subject:    Re: Initiating Commands in X To:
From:       "David Weissmann" <dweissma () path ! som ! sunysb ! edu>
Date:       1998-05-28 21:20:47
[Download RAW message or body]

Dear Andrew, I don't know if this will help, but this is a copy from 
a fresh install of OpenLinux 1.2 of the system.fvwmrc in the /usr 
path I hope it helps.

divert(-1)
###########################################################################
#
#  system.fvwmrc: collate global and specific macro definitions and
#  apply
#                 them onto the window manager configuration files
#
#  The following macros are predefined by fvwm:
#
#   BITS_PER_RGB  The number of significant bits in an RGB color. (log
#   base 2 of
#                 the number of distinct colors that can be created.
#                 This is often different from the number of colors
#                 that can be displayed at once.)
#   CLASS         Your visual class. Will return one of StaticGray,
#   GrayScale,
#                 StaticColor, PseudoColor, TrueColor, DirectColor,
#                 or, if it can- not determine what you have,
#                 NonStandard.
#   CLIENTHOST    The machine that is running the clients.
#   COLOR         This will be either 'Yes' or 'No'. This is just a
#   wrapper
#                 around the CLASS definition. Returns 'Yes' on *Color
#                 and 'No' on StaticGray and GrayScale.
#   FVWMDIR       This is set to the path where the modules were
#   configured to
#                 be installed.
#   FVWM_VERSION  This is a string containing the version of fvwm.
#   HEIGHT        The height of your display in pixels. HOME         
#   The user's home directory. Obtained from the environment. HOSTNAME
#        The canonical hostname running the clients (ie. a
#                 fully-qualified version of CLIENTHOST).
#   OPTIONS       This is a string of compile time options used. Each
#   option is
#                 separated from the other by a space. 
#   PLANES        The number of bit planes your display supports in
#   the default
#                 root window.
#   RELEASE       The release number of your X server. For MIT X11R5
#   this is 5. REVISION      The X minor protocol revision. As seen by
#   ProtocolRevision(3). SERVERHOST    This variable is set to the
#   name of the machine that is
#                 running the X server.
#   TWM_TYPE      Tells which twm offshoot is running. It will always
#   be set to
#                 the string "fvwm" in this program. This is useful
#                 for protecting parts of your .twmrc file that fvwm
#                 proper won't understand (like WorkSpaces) so that it
#                 is still usable with other twm programs.
#   USER          The name of the user running the program. Obtained
#   from the
#                 environment.
#   VENDOR        The vendor of your X server. For example: MIT X
#   Consortium. VERSION       The X major protocol version. As seen by
#   ProtocolVersion(3). WIDTH         The width of your display in
#   pixels. X_RESOLUTION  The X resolution of your display in pixels
#   per meter. Y_RESOLUTION  The Y resolution of your display in
#   pixels per meter. 
#

dnl the two following lines are for console testing ...
ifdef(`HOME',`',`define(`HOME', esyscmd(`echo -n $HOME'))')
ifdef(`FVWMDIR',`',`define(`FVWMDIR',`/usr/X11R6/lib/X11/fvwm')')

divert(0)dnl
ifelse(syscmd(test -r /etc/X11/wmconfig/rc)sysval, 0,
    `define(`WinMgr',`Fvwm1')sinclude(/etc/X11/wmconfig/rc)',
dnl else
# Start an xmessage box ...
Function "InitFunction"
    Exec     "I" dnl
        printf "Window manager not configured\nPlease install the
        package 'wmconfig' dnl
\nPress any mouse button to quit Fvwm" | dnl
        xmessage -file - -center -font 10x20
EndFunction
Mouse 0 A A Quit
)



disregard the next line--it's not part of the file, just an email 
feature

dweissma@path.som.sunysb.edu
end
**********************
David Weissmann, M.D.
Department of Pathology
University Hospital
Stony Brook, NY 17794-7025
OFFICE 516 444-2222
FAX 516 444-3419 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic