home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19286 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.4 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!bcc.ac.uk!ts-b.bcc.ac.uk!ucjtrjf
  2. From: ucjtrjf@ucl.ac.uk (Jonny Farringdon)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: saving a layout
  5. Message-ID: <1992Nov18.112811.23588@bas-a.bcc.ac.uk>
  6. Date: 18 Nov 92 11:28:11 GMT
  7. References: <1992Nov13.220358.712@spectrum.xerox.com>
  8. Organization: Bloomsbury Computing Consortium
  9. Lines: 31
  10.  
  11.  
  12.   well you could have a mouse/menu button which executed ..
  13.  
  14. either a pinched copy of olplaces (owplaces?) from Sun,
  15. which stores SIMPLE info on windows and placements in a file,
  16. adding an & to the end of the lines.
  17.  
  18. OR  use xplaces (from one of the ftp archives) . like this ..
  19.     "Save Workspace"    exec xplaces | tail +2 > $HOME/.x-init
  20.  
  21. xplaces saves much more info, and gets xon (rsh) windows right,
  22. plus icon location etc. HOWEVER it does not put a & at the end
  23. of the lines.  Still you could enhance the above so that it would.
  24.  
  25. Then , from your .xinitrc fire do a ...
  26.  
  27. .xinitrc
  28.  
  29. source .x-init &
  30. vtwm
  31.  
  32. You could even do something like  ``cat .x-init | sh''   &c
  33.  
  34. BUT you must get &'s at the end of the lines.  Because of this, i have
  35. the command, but then just look at the file and make appropriate edits
  36. to my .xinitrc
  37.  
  38.  
  39. I only sent this to you, so you might want to summerise.
  40.  
  41. All the best, J.   ucjtrjf@ucl.ac.uk
  42.