Command-line Settings

[previous] [next] [table of contents] [index]

Most X users can store command-line options in an X startup file like .xsession or .xinitrc. For example, here is the section of my .xsession file used for this book:

xmh -display :0.1 -geometry 660x460+200+5 &
The -display and -geometry options are standard X Toolkit options; see the X(1) manual page. Command-line options might be most useful when you start xmh from an xterm window or a shell script, or when you want to override resource settings. See the Section Changing How Commands Work.

You can customize xmh with entries in a resource file like .Xdefaults, instead of, or in addition to, setting command-line options. These override any existing defaults -- though you'll first have to restart xmh, restart X, or give a command such as the following:

% xrdb $HOME/.Xdefaults
For more information, see O'Reilly & Associates' Volume Three, X Window System User's Guide, by Valerie Quercia and Tim O'Reilly.

[Table of Contents] [Index] [Previous: Chapter Introduction: Customizing xmh] [Next: Command-line Options]

Last change $Date: 1996/06/06 15:09:22 $

This file is from the third edition of the book MH & xmh: Email for Users & Programmers, ISBN 1-56592-093-7, by Jerry Peek. Copyright © 1991, 1992, 1995 by O'Reilly & Associates, Inc. This file is freely-available; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see the file copying.htm.

Suggestions are welcome: Jerry Peek <>