RE: AfterStep & RH

Bruce Richardson (brichardson@lineone.net)
Wed, 27 Jan 1999 08:54:56 -0000


OK, Tsunari, this is a regular problem with Hatters upgrading to 1-6.6.  Here's my reply to someone else who reported it:

<<<
>I did the upgrade and now i cant get back into afterstep it just loads fvwm2-95 all
>the time.

This is because /etc/X11/xinit/Xclients (called by /etc/X11/xinit/xinitrc, 
unless you made your own .xinitrc) is looking for the afterstep binary in 
/usr/X11R6/bin and the new version is in /usr/local/bin.

1.  Rename your ~/GNUstep directory to ~/GNUstep.old
2.  Create ~/.Xclients and put a line in it to run the new afterstep, 
directing standard error to .AfterStep-errors.
	< Note to Tsunari - try 'exec /usr/local/bin/afterstep >.AfterStep-errors 2>&1' >
3.  startx

AfterStep will create a new GNUStep directory structure.  You can now build 
a menu you like by mixing and matching stuff from 
/usr/local/share/afterstep/start and ~/GNUstep.old/Library/AfterStep/Start.

Creating your own .Xclients also gets rid of wmconfig, which is called from 
/etc/X11/xinit/Xclients and insists on overwriting whatever is in your 
start menu with the system default.  It does this because Red Hat rpms 
include wmconfig menu items and you therefor automatically get items for 
new apps placed on your menu.  All fine and well but it totally wipes out 
any modifications you've made AND all the vital AfterStep stuff in 
Start/Modules, Start/Quit etc.

	< Note to Tsunari - if you have a start directory in your ~/G/L/A directory - >
	< even if it is empty - AfterStep will ignore the default menu structure in >
	< /usr/local/share/afterstep/start and will build a menu using only what is in >
	< your local structure.  It's also worth noting that AfterStep doesn't work >
	< directly from the start directory tree - it uses the tree to build a startmenu >
	< file in the non-configurable directory.  If you change the structure, those >
	< changes will not be reflected in the start menu until you 'Update Startmenu' >
	< or 'Update All'.  This answers your point #2 >

Of course, if you really want to keep the Red Hat configuration you can put 
links in to fix it.

ln -s /usr/local/share/afterstep /usr/share/afterstep
ln -s /usr/local/bin/afterstep /usr/X11R6/bin/afterstep

	< Note to Tsunari - for this to work you also have to copy the old wmconfig.conf >
	< file to /usr/local/share/afterstep - however, this will create 1-4.5 menu items. >
	< Alternatively, you could edit /etc/X11/xinit/Xclients to remove the test for >
	< wmconfig.conf and the line that executes wmconfig >

But my advice is not.
>>>


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