home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / openloo / 5018 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.5 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!jsc
  2. From: jsc@saxon.Eng.Sun.COM (John Cooper)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Re: Selecting olwm/olvwm from the command line.
  5. Followup-To: comp.windows.open-look
  6. Date: 11 Jan 93 12:03:45
  7. Organization: SunSoft, Inc., Mountain View, CA
  8. Lines: 34
  9. Message-ID: <JSC.93Jan11120345@saxon.Eng.Sun.COM>
  10. References: <1993Jan9.030254.2183@netnews.whoi.edu>
  11. NNTP-Posting-Host: saxon
  12. In-reply-to: dhiltz@whsun1.whoi.edu's message of Sat, 9 Jan 93 03:02:54 GMT
  13.  
  14. >> David Hiltz writes:
  15.  
  16.  David>    How can I indicate which window manager I want to use
  17.  David>    (olwm/olvwm) from the command line?  I didn't see anything in
  18.  David>    the openwin script file.  Can I do it through an environment
  19.  David>    variable?  If so, what is it called and what is the syntax
  20.  David>    for it?  I'm running OpenWindows on a Sun/SS2 4.1.3.
  21.  
  22. By default, olwm is started by the OpenWindows startup script
  23. $OPENWINHOME/lib/Xinitrc
  24.  
  25. This file is *only* run if you don't have your own ~/.xinitrc OR you
  26. haven't specified an alternate file using the XINITRC environment
  27. variable.
  28.  
  29. To fix your problem, you can copy this file into your own ~/.xinitrc and
  30. modify it to run olwm/olvwm/twm or whatever. It's a shell script so use
  31. you imagination ;-)
  32.  
  33. For example, here's an excerpt from my .xinitrc:
  34.  
  35. #
  36. # Window Manager.
  37. #
  38. if [ "$OPENWINHOME" = "" ]
  39. then
  40.     twm&
  41. else
  42.     olvwm&
  43. #   /home/intrinsics/nayeem/motif/usr/bin/X11/mwm&
  44. fi
  45.  
  46. --
  47.     --- John
  48.