diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2019-08-15 16:23:34 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-14 15:52:44 +0200 |
commit | afa13ba4920b104a9846bfb84b88c9bd671664d5 (patch) | |
tree | a866fce5538e88f87dce5bc745449db8df82a0c4 /man | |
parent | 55e8e7af8b816be93bc32d9abaaee3f03b7032f2 (diff) |
Provide better xsession examples. exec the window manager last. Convert user's example to /bin/sh. Remove xman for example.
Diffstat (limited to 'man')
-rw-r--r-- | man/xenodm.man | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/man/xenodm.man b/man/xenodm.man index b376dca..3ba85dc 100644 --- a/man/xenodm.man +++ b/man/xenodm.man @@ -23,7 +23,7 @@ .\" from The Open Group. .\" .\" -.Dd $Mdocdate: April 16 2019 $ +.Dd $Mdocdate: August 15 2019 $ .Dt XENODM 1 .Os __xorgversion__ .Sh NAME @@ -1174,9 +1174,9 @@ else if [ -f "$resources" ]; then xrdb -load "$resources" fi - twm & - xman -geometry +10-10 & - exec xterm -geometry 80x24+10+10 -ls + xclock -geometry 100x100-0+0 & + xterm -geometry 80x24+10+10 -ls & + exec twm fi .Ed .Pp @@ -1185,13 +1185,12 @@ The user's file might look something like this example. Don't forget that the file must have execute permission. .Bd -literal -offset Ds -#! /bin/csh -# no -f in the previous line so .cshrc gets run to set $PATH -twm & +#! /bin/sh xrdb -merge "$HOME/.Xresources" emacs -geometry +0+50 & xbiff -geometry -430+5 & -xterm -geometry -0+50 -ls +xterm -geometry -0+50 -ls & +exec twm .Ed .Sh RESET PROGRAM Symmetrical with |