home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / ultrix / 6808 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.7 KB

  1. Xref: sparky comp.unix.ultrix:6808 comp.windows.x:16443
  2. Path: sparky!uunet!dtix!darwin.sura.net!gatech!psuvax1!ward
  3. From: ward@math.psu.edu (Brian Ward)
  4. Newsgroups: comp.unix.ultrix,comp.windows.x
  5. Subject: Re: help - DEC.5000 / twm / .X11Startup
  6. Message-ID: <BuCI2t.MnL@cs.psu.edu>
  7. Date: 10 Sep 92 04:35:17 GMT
  8. References: <1992Sep9.100638.8758@vax.oxford.ac.uk>
  9. Sender: news@cs.psu.edu (Usenet)
  10. Organization: The Bill and Ted Society of Computer Science
  11. Lines: 43
  12. Nntp-Posting-Host: lagrange.math.psu.edu
  13.  
  14. nagrwb@vax.oxford.ac.uk writes:
  15. |On logging in to a DECStation5000/200 I have sitting at my desk at
  16. |the moment I would like to automatically:
  17. |  kill the DecWindow Manager
  18. |  use twm
  19. |  set a few friendly X clients
  20. |  start-up epoch (which resides on another host) in an iconified state
  21. |  have the DEC Session Manager and DECterm console window iconified
  22.  
  23. hahaha. Here's how i got around it:
  24.  
  25. 1. I set my window manager for sm to /bin/true.
  26. 2. I got rid of the initial DECterm.
  27. 3. I put everything in my .X11Startup file, almost like a .Xsession
  28.    file, including the window manager.
  29. 4. I put StartIconified { "sm" } in my .twmrc. This will cause some problems
  30.    when you have windows that have names starting with "sm" in some cases.
  31.  
  32. Anyway, here are the relevant X resources (in my .Xdefaults file. ugh)
  33.  
  34. *terminalEmulatorName:    /bin/true
  35. sm.windowManagerName:    /bin/true
  36.  
  37. also 
  38.  
  39. sm.display_pattern:    none
  40.  
  41. but i'm not sure if that is the right way to do that or not.
  42.  
  43. and my .X11Startup looks like this:
  44.  
  45. xset fp+ (our X11R5 fonts - it's big)
  46. xset fp rehash
  47. xmodmap $HOME/.Xmodmap-dec
  48. vtwm &
  49. xv -quit -root -rmode 5 $HOME/iff/bill+ted.gif &
  50.  
  51. which I admit, is kind of hokey. you could possibly end with
  52.  
  53. twm
  54. kill `some ugly thing to get the sm pid`
  55.  
  56. to quit with twm.
  57.