home *** CD-ROM | disk | FTP | other *** search
- 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
- From: ucjtrjf@ucl.ac.uk (Jonny Farringdon)
- Newsgroups: comp.windows.x
- Subject: Re: saving a layout
- Message-ID: <1992Nov18.112811.23588@bas-a.bcc.ac.uk>
- Date: 18 Nov 92 11:28:11 GMT
- References: <1992Nov13.220358.712@spectrum.xerox.com>
- Organization: Bloomsbury Computing Consortium
- Lines: 31
-
-
- 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
-