Skip to content

Commit c5bdd15

Browse files
committed
Updated docs and defaults
1 parent 81dd732 commit c5bdd15

File tree

4 files changed

+24
-28
lines changed

4 files changed

+24
-28
lines changed

README

+12-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,18 @@ libxm (open-motif/motif)
1313
BUILDING AND INSTALLING
1414
=======================
1515
To modify installation prefix and other options, edit the target platform
16-
specific makefile in the "mf" subdirectory (The target platform name is picked
17-
from uname(1)).
16+
specific makefile in the mf subdirectory: mf/Makefile.<platform name> (The
17+
target platform name is picked from uname(1)).
1818

1919
Run 'make' in the top-level directory of the source distribution.
2020
When the build process finishes, run 'make install' as root.
21+
22+
CONFIGURATION
23+
=============
24+
The app-defaults file installed in PREFIX/X11/app-defaults/Emwm includes basic
25+
font and color configuration for window decorations. See emwm(1) Component
26+
Appearance Resources section for more information.
27+
28+
A sample emwmrc, which defines key bindings and root/window menus, is installed
29+
in PREFIX/X11/system.emwmrc. This file may be copied to $HOME/.emwmrc for
30+
customization. The emwmrc(4) man-page describes the syntax in detail.

src/Emwm.ad

-14
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,6 @@ Emwm*client*background: #8C8C8C
55
Emwm*client*activeBackground: #7399BA
66
Emwm*icon*activeBackground: #7399BA
77

8-
!! Dithered window borders - sample
9-
!Emwm*client*topShadowPixmap: 1x1
10-
!Emwm*client*bottomShadowPixmap: 1x1
11-
!Emwm*client*activeTopShadowPixmap: 1x1
12-
!Emwm*client*activeBottomShadowPixmap: 1x1
13-
14-
!! Root and window menu appearance - sample
15-
!Emwm*menu*menuTitle.background: #7399BA
16-
!Emwm*menu*menuTitle.renderTable: title
17-
188
!! Default font (menus and dialogs)
199
Emwm*renderTable: variable
2010
Emwm*renderTable.variable.fontType: FONT_IS_XFT
@@ -34,7 +24,3 @@ Emwm*renderTable.icon.fontType: FONT_IS_XFT
3424
Emwm*renderTable.icon.fontName: Liberation Sans
3525
Emwm*renderTable.icon.fontSize: 10
3626
Emwm*renderTable.icon.fontStyle: Italic
37-
38-
!! Core fonts - sample
39-
!Emwm*renderTable.variable.fontType: FONT_IS_FONT
40-
!Emwm*renderTable.variable.fontName: -adobe-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*

src/emwm.1

+7-7
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ The \fBemwm\fP command is configured from its resource
315315
database\&. This database is built from the following sources\&. They are listed
316316
in order of precedence, low to high:
317317
.PP
318-
\fB/usr/etc/X11/app-defaults/Emwm\fP
318+
\fB/etc/X11/app-defaults/Emwm\fP
319319
.PP
320320
\fB$HOME/Emwm\fP
321321
.PP
@@ -325,7 +325,7 @@ in order of precedence, low to high:
325325
.PP
326326
\fBemwm\fP command line options
327327
.PP
328-
The file names \fB/usr/etc/X11/app-defaults/Emwm\fP and \fB$HOME/Emwm\fP represent customary locations for these files\&. The actual
328+
The file names \fB/etc/X11/app-defaults/Emwm\fP and \fB$HOME/Emwm\fP represent customary locations for these files\&. The actual
329329
location of the system-wide class resource file may depend on the \fBXFILESEARCHPATH\fP environment variable and the
330330
current language environment\&. The actual location of the user-specific class
331331
resource file may depend on the \fBXUSERFILESEARCHPATH\fP and \fBXAPPLRESDIR\fP
@@ -638,8 +638,8 @@ is set, \fBemwm\fP looks for \fI$HOME/$LANG\fP/ \fBconfigFile\fP\&. If that file
638638
\fB$HOME\fP/\fBconfigFile\fP\&. If the \fIconfigFile\fP pathname does not begin with "~/" or "/", \fBemwm\fP considers it to be relative to the current working directory\&. If
639639
the \fIconfigFile\fP resource is not specified
640640
or if that file does not exist, \fBemwm\fP uses several default
641-
paths to find a configuration file\&. The order of the search is shown below: \fB/usr/etc/X11/$LANG/system\&.emwmrc\fP\(dg
642-
\fB/usr/etc/X11/system\&.emwmrc\fP\(dg Paths marked with \&'\(dg\&' are
641+
paths to find a configuration file\&. The order of the search is shown below: \fB/etc/X11/$LANG/system\&.emwmrc\fP\(dg
642+
\fB/etc/X11/system\&.emwmrc\fP\(dg Paths marked with \&'\(dg\&' are
643643
implementation dependent\&.
644644
.IP "\fIdeiconifyKeyFocus\fP\ (class\ \fIDeiconifyKeyFocus\fP)" 10
645645
This resource applies only when the keyboard input focus policy is explicit\&.
@@ -1331,11 +1331,11 @@ the shell to use when executing commands via the \fBf\&.exec\fP
13311331
function\&.
13321332
.SS "Files"
13331333
.PP
1334-
\fB/usr/etc/X11/$LANG/system\&.emwmrc\fP\(dg
1334+
\fB/etc/X11/$LANG/system\&.emwmrc\fP\(dg
13351335
.PP
1336-
\fB/usr/etc/X11/system\&.emwmrc\fP\(dg
1336+
\fB/etc/X11/system\&.emwmrc\fP\(dg
13371337
.PP
1338-
\fB/usr/etc/X11/app-defaults/Emwm\fP\(dg
1338+
\fB/etc/X11/app-defaults/Emwm\fP\(dg
13391339
.PP
13401340
\fB$HOME/Emwm\fP
13411341
.PP

src/emwmrc.4

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ file that controls much of the behavior of the Enhanced Motif window manager \fB
1010
It contains descriptions of resources that cannot easily be
1111
written using standard X Window System, Version 11 resource syntax\&. The resource
1212
description file contains entries that are referred to by X resources in
13-
defaults files (for example, \fB/usr/X11R6/lib/X11/app-defaults/Emwm\fP)
13+
defaults files (for example, \fB/etc/X11/app-defaults/Emwm\fP)
1414
or in the \fBRESOURCE_MANAGER\fP property on the
1515
root window\&. For example, the resource description file enables you to specify
1616
different types of window menus; however, an X resource is used to specify
@@ -25,8 +25,8 @@ on a per-user basis:
2525
.nf
2626
\f(CW$HOME/$LANG/\&.emwmrc
2727
$HOME/\&.emwmrc
28-
/usr/etc/X11/$LANG/system\&.emwmrc \(dg
29-
/usr/etc/X11/system\&.emwmrc\fR \(dg
28+
/etc/X11/$LANG/system\&.emwmrc \(dg
29+
/etc/X11/system\&.emwmrc\fR \(dg
3030
.fi
3131
.PP
3232
\(dg Paths may vary depending on system/distribution.
@@ -576,8 +576,8 @@ the appearance or behavior of \fBemwm\fP is not what you expect\&.
576576
.nf
577577
\fB$HOME/$LANG/\&.emwmrc
578578
$HOME/\&.emwmrc
579-
/usr/etc/X11/$LANG/system\&.emwmrc \(dg
580-
/usr/etc/X11/system\&.emwmrc\fP \(dg
579+
/etc/X11/$LANG/system\&.emwmrc \(dg
580+
/etc/X11/system\&.emwmrc\fP \(dg
581581
.fi
582582
.PP
583583
\(dg Paths may vary depending on system/distribution.

0 commit comments

Comments
 (0)