Article View: comp.windows.open-look
Article #2867Re: Selecting olwm/olvwm from the command line.
From: John Cooper
Date: Mon, 11 Jan 1993 12:03
Date: Mon, 11 Jan 1993 12:03
34 lines
1559 bytes
1559 bytes
>> David Hiltz writes:
David> How can I indicate which window manager I want to use
David> (olwm/olvwm) from the command line? I didn't see anything in
David> the openwin script file. Can I do it through an environment
David> variable? If so, what is it called and what is the syntax
David> for it? I'm running OpenWindows on a Sun/SS2 4.1.3.
By default, olwm is started by the OpenWindows startup script
$OPENWINHOME/lib/Xinitrc
This file is *only* run if you don't have your own ~/.xinitrc OR you
haven't specified an alternate file using the XINITRC environment
variable.
To fix your problem, you can copy this file into your own ~/.xinitrc and
modify it to run olwm/olvwm/twm or whatever. It's a shell script so use
you imagination ;-)
For example, here's an excerpt from my .xinitrc:
#
# Window Manager.
#
if [ "$OPENWINHOME" = "" ]
then
twm&
else
olvwm&
# /home/intrinsics/nayeem/motif/usr/bin/X11/mwm&
fi
--
--- John
Technical Details
Message-ID:
<JSC.93Jan11120345@saxon.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!jscReferences:
<1993Jan9.030254.2183@netnews.whoi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!jsc From: jsc@saxon.Eng.Sun.COM (John Cooper) Newsgroups: comp.windows.open-look Subject: Re: Selecting olwm/olvwm from the command line. Followup-To: comp.windows.open-look Date: 11 Jan 93 12:03:45 Organization: SunSoft, Inc., Mountain View, CA Lines: 34 Message-ID: <JSC.93Jan11120345@saxon.Eng.Sun.COM> References: <1993Jan9.030254.2183@netnews.whoi.edu> NNTP-Posting-Host: saxon In-reply-to: dhiltz@whsun1.whoi.edu's message of Sat, 9 Jan 93 03:02:54 GMT