home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / fj / maillis / xwindow / 17610 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.5 KB

  1. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
  2. From: ucjtrjf@ucl.ac.uk (Jonny Farringdon)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Re: saving a layout
  5. Message-ID: <1992Nov19.001856.17637@sm.sony.co.jp>
  6. Date: 19 Nov 92 00:18:56 GMT
  7. Sender: daemon@sm.sony.co.jp (The devil himself)
  8. Distribution: fj
  9. Organization: Bloomsbury Computing Consortium
  10. Lines: 37
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: 18 Nov 92 11:28:11 GMT
  14. Message-Id: <1992Nov18.112811.23588@bas-a.bcc.ac.uk>
  15. Newsgroups: comp.windows.x
  16. References: <1992Nov13.220358.712@spectrum.xerox.com>
  17. Sender: xpert-request@expo.lcs.mit.edu
  18.  
  19.  
  20.   well you could have a mouse/menu button which executed ..
  21.  
  22. either a pinched copy of olplaces (owplaces?) from Sun,
  23. which stores SIMPLE info on windows and placements in a file,
  24. adding an & to the end of the lines.
  25.  
  26. OR  use xplaces (from one of the ftp archives) . like this ..
  27.     "Save Workspace"    exec xplaces | tail +2 > $HOME/.x-init
  28.  
  29. xplaces saves much more info, and gets xon (rsh) windows right,
  30. plus icon location etc. HOWEVER it does not put a & at the end
  31. of the lines.  Still you could enhance the above so that it would.
  32.  
  33. Then , from your .xinitrc fire do a ...
  34.  
  35. .xinitrc
  36.  
  37. source .x-init &
  38. vtwm
  39.  
  40. You could even do something like  ``cat .x-init | sh''   &c
  41.  
  42. BUT you must get &'s at the end of the lines.  Because of this, i have
  43. the command, but then just look at the file and make appropriate edits
  44. to my .xinitrc
  45.  
  46.  
  47. I only sent this to you, so you might want to summerise.
  48.  
  49. All the best, J.   ucjtrjf@ucl.ac.uk
  50.