.workspace_state [was Re: startmenu updating]

David Mihm (davemann@ionet.net)
Wed, 7 Oct 1998 18:15:36 -0500 (CDT)

On Wed, 7 Oct 1998, Rob Lingelbach wrote:
! When I quit afterstep using the "Quit->Exit" choice, any change I've
! made to the look & feel is apparently saved somewhere, as when I start
! up X/afterstart again, the look & feel is as it was when I Exited.
! However, I can't seem to be able to figure out how to get the windows
! to come back up the way they were-- the configure guide I've read says
! this is saved into a file called .windows, but looking at the source,
! I see in include/configure.h:
! #define AFTER_SAVE      "~/GNUstep/Library/AfterStep/.workspace_state"
! and I've also commented out NO_SAVEWINDOWS and rebuilt:
!  /*#define NO_SAVEWINDOWS*/
! ...yet when I quit AfterStep .workspace_state isn't created, or
! changed if it's there as an empty file.  And there appears to be no
! .windows file either (I have a feeling .workspace_state replaced
! .windows at some point?)
	The default behavior of 1.4+ (or around there) is to save all the
windows that are *open when you exit* AS to the ~/G/L/A/.workspace_state
file; so that they open back up in the original location the next time you
open AS.  This behaviour was buggy, and didn't always set the geometry
and options correctly, but a patch to 1.5beta3 (or somewhere around 
there) fixed that bug.  If you have commented out the Exec "I" sh
...workspace_state line in the autoexec file, then it won't start the
programs that were saved.
	Currently, all the man pages are being brought up to date in their
syntax and correctness. 1.5.0 will have all correct man pages.

d a v i d  @  m i h m                          reality.sys corrupt!
davemann-at-ionet-dot-net                     reboot universe(y,n)?
(www||ftp)the-site.dyn.ml.org/                           ICQ:906859
Key fingerprint =  E4 90 15 ED E5 9F 18 8A  B0 CC FF 68 61 36 4A 6F

   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html