WindowMaker and XFree86

Frank-Michael Moser moser@decodon.com
Thu May 10 11:54:00 GMT 2001


...

> 4.  Any changes I make to my environment (e.g. adding workspaces, renaming them, 
> adding docked icons) are saved to /home/adminstrator/GNUstep/Defaults/WMstate 
> when I save them, but are not loaded when I restart WindowMaker for another 
> session later.  This and the above point (#3) seem to indicate that WindowMaker 
> is having problems resolving the path to "/home" being that the filesystem is 
> Windows and the path is more like "E:\cygwin\home".  Sound likely?
 
This is again a CRLF-problem. I experienced the same problems and
workarounded
them by a trick. I guess the place where
/home/adminstrator/GNUstep/Defaults/WMstate 
is a text-mount. So you have to ensure that when WMaker is closed all 
~/GNUstep/Defaults/* files are converted from CRLF to CR back again to
be readable 
by WMAKER. I did it by editing WMaker's exitscript.

'~/GNUstep/Library/WindowMaker/exitscript':

type -p d2u > /dev/null && if [ -x "$(type -p d2u)" ] ; then
  d2u ~/GNUstep/Defaults/*
  d2u /usr/local/etc/WindowMaker/*
fi > /dev/null 2> /dev/null

> 5. ...

aterm works fine for me, too.

Frank-Michael.
 
>         -Vinny
> 
> ----------------------------------------------------------------------------------------
> 
> startxwin.bat (REM'd lines removed):
> 
> @echo off
> SET DISPLAY=127.0.0.1:0.0
> SET PATH=.;%PATH%;\cygwin\bin;\cygwin\usr\X11R6\bin;\cygwin\usr\local\bin
> 
> start XWin -screen 0 1024x768x32 -whitepixel 255 -blackpixel 0 -engine 4
> start wmaker&
> @echo on

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------



More information about the Cygwin-xfree mailing list