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