Re: fvwm and post.hook problem
Cameron Hutchison wrote:
> Unfortunately the new DebianMenu file does not read
> main-menu-pre.hook, so it is not possible to put your own stuff at
> the start of the menu, so my customised menu has my stuff after the
> standard debian stuff now. This I had to do in menudefs.hook where
> I used to do it in main-menu-pre.hook.
The new approach is disappointing, but it looks like everything but the
missing main-menu-pre.hook read can be worked around, so I filed a bug
asking for its reinstatement.
http://bugs.debian.org/243985
You may want to add onto this bug if you think more is called for.
As an immediate workaround I, like you, copied
cp /etc/X11/fvwm/system.fvwm2rc.dpkg-old ~/.fvwm/.fvwm2rc
Then, to get the main-menu-pre.hook read back in, I edited
/etc/menu-methods/fvwm, adding a few lines back in:
------------------------------ 8< ------------------------------
--- fvwm.orig 2004-04-08 14:48:28.000000000 -0400
+++ fvwm 2004-04-15 19:30:27.000000000 -0400
@@ -35,6 +35,9 @@
# 3. We add a trailing newline to the lot.
startmenu= "DestroyMenu \"" replacewith($section," ","_") "\"\n" \
+ ifeq($section, "/Debian", \
+ "AddToMenu \"/Debian\"\n" \
+ "Read main-menu-pre.hook Quiet\n") \
"AddToMenu \"" replacewith($section," ","_") "\" \"" \
title() "\" Title Top\n"
endmenu= "\n"
------------------------------ >8 ------------------------------
and then ran update-menus. Remember that the menus are automatically
generated.
Kirk Hilliard
Reply to: