Article View: comp.os.linux.misc
Article #1098Re: Owplaces/Xtoolplaces? in SW 3.0?
From: Liam R. E. Quin
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
69 lines
2837 bytes
2837 bytes
Chris Stevens <72711.2545@CompuServe.COM> wrote:
> According to the Man page, "openwin" looks for .openwin-init which is
> created by owplaces. [...]
Yes.
However, it's just a shell script (I'll append mine below), and you
can make it an empty executable file if you like.
It is used twice:
(1) when you use olwm's `save workspace' menu, it is written out,
containing a ine for each X client that was running and tht had
registered a startup command line with the X property manager;
(2) it's read on startup to get those utilities running that were there
when you last did Save Workspace.
If you edit .xinitrc instead, you don't need .openwin-init, so just make
it an empty file. Make it executable (chmod +x .openwin-init), though.
Lee
In what follows, I have noted some items as ##@@ that differ for Linux.
#!/bin/sh
# .openwin-init - OpenWindows initialization script.
# WARNING: This file is automatically generated.
# Any changes you make here will be lost!
export DISPLAY
IFS=.
SETBASEDISPLAY() { BASEDISPLAY=$1; }
SETBASEDISPLAY ${DISPLAY}
IFS=
SETDISPLAYSCREEN() {
DISPLAY=${BASEDISPLAY}.$1
if winsysck x11 ; then
:
else
echo No display available for screen $1
exit 1
fi
##@@ Linux users: svenv is for SunView uses -- SPARC only;
##@@ if you are running Linux on a PC with no SunView support,
##@@ comment out the next line entirely:
eval `svenv -env`
}
# Note: toolwait is a utility to control client startup.
# For more information, see the toolwait(1) man page.
#
# Start clients on screen 0
#
SETDISPLAYSCREEN 0
#
##@@ the next line starts up filemgr.
toolwait filemgr -Wp 0 120 -Ws 590 300 -WP 0 0 +Wi -c -i 5
##@@ and an xterm
toolwait xterm
##@@ end
--
Liam Quin, SoftQuad Inc | ``It was during this period of joy that a dog bit
lee@sq.com +1 416 239 4801 | of the left ear of one of my brothers. These
SGML: http://www.sq.com/ | were happy times.'' [Aldiss/A Tupolev Too Far]
lq-text unix text retrieval; FAQs for Sun OpenWindows and for Metafont fonts
Technical Details
Message-ID:
<1996May2.002249.9445@sq.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4m89kf$ihe$1@mhadg.production.compuserve.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,a0fd6dec1a596a4e X-Google-Attributes: gid1103af,public X-Google-Thread: 11580b,a0fd6dec1a596a4e X-Google-Attributes: gid11580b,public X-Google-Thread: 103734,a0fd6dec1a596a4e X-Google-Attributes: gid103734,public X-Google-Thread: 11663c,a0fd6dec1a596a4e X-Google-Attributes: gid11663c,public From: lee@sq.com (Liam R. E. Quin) Subject: Re: Owplaces/Xtoolplaces? in SW 3.0? Date: 1996/05/02 Message-ID: <1996May2.002249.9445@sq.com> X-Deja-AN: 152506292 references: <4m89kf$ihe$1@mhadg.production.compuserve.com> organization: SoftQuad Inc., Toronto, Canada newsgroups: comp.os.linux.misc,comp.windows.open-look,comp.windows.x,dc.org.linux-users