RE: Update startmenu

Bruce Richardson (
Tue, 9 Mar 1999 17:39:35 -0000

Nacho Ponce wrote:
> but where can I find the option Update startmenu? my startmenu?,

If you are using Red Hat 5.x then there are problems with AfterStep.  It 
uses Red Hat menus (organised by wmconfig) rather than AfterStep ones.  I 
recommend you upgrade to the latest stable verison (1.6.10-1, I think), but 
you should be aware that this has _more_ issues with Red Hat.  I append 
here a reply to someone else that explains why and what you can do about 

>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.