Provide better xsession examples. exec the window manager last.
Convert user's example to /bin/sh. Remove xman for example.
This commit is contained in:
parent
6a5cb53020
commit
b9bedc770a
@ -23,7 +23,7 @@
|
|||||||
.\" from The Open Group.
|
.\" from The Open Group.
|
||||||
.\"
|
.\"
|
||||||
.\"
|
.\"
|
||||||
.Dd $Mdocdate: April 16 2019 $
|
.Dd $Mdocdate: August 15 2019 $
|
||||||
.Dt XENODM 1
|
.Dt XENODM 1
|
||||||
.Os __xorgversion__
|
.Os __xorgversion__
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -1174,9 +1174,9 @@ else
|
|||||||
if [ -f "$resources" ]; then
|
if [ -f "$resources" ]; then
|
||||||
xrdb -load "$resources"
|
xrdb -load "$resources"
|
||||||
fi
|
fi
|
||||||
twm &
|
xclock -geometry 100x100-0+0 &
|
||||||
xman -geometry +10-10 &
|
xterm -geometry 80x24+10+10 -ls &
|
||||||
exec xterm -geometry 80x24+10+10 -ls
|
exec twm
|
||||||
fi
|
fi
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
@ -1185,13 +1185,12 @@ The user's
|
|||||||
file might look something like this example.
|
file might look something like this example.
|
||||||
Don't forget that the file must have execute permission.
|
Don't forget that the file must have execute permission.
|
||||||
.Bd -literal -offset Ds
|
.Bd -literal -offset Ds
|
||||||
#! /bin/csh
|
#! /bin/sh
|
||||||
# no -f in the previous line so .cshrc gets run to set $PATH
|
|
||||||
twm &
|
|
||||||
xrdb -merge "$HOME/.Xresources"
|
xrdb -merge "$HOME/.Xresources"
|
||||||
emacs -geometry +0+50 &
|
emacs -geometry +0+50 &
|
||||||
xbiff -geometry -430+5 &
|
xbiff -geometry -430+5 &
|
||||||
xterm -geometry -0+50 -ls
|
xterm -geometry -0+50 -ls &
|
||||||
|
exec twm
|
||||||
.Ed
|
.Ed
|
||||||
.Sh RESET PROGRAM
|
.Sh RESET PROGRAM
|
||||||
Symmetrical with
|
Symmetrical with
|
||||||
|
Loading…
Reference in New Issue
Block a user