On 31 Mar 2006 17:47:16 -0500, Wendell Turner wrote: > > Is there an easy way to add a custom entry to the beginning of > the root menu? I see references to main-menu-pre.hook, but it > looks like that is a Debian invention, not something in the > stock fvwm/fvwm-themes. > > Would Piperead work for this? I don't really want to change the > entire root menu, just add my own at the beginning. > > Also, it would be nice to do this system-wide, not just to my > own account. I've made my own custom rpm with my very own theme > in it to accomplish this (which worked ok), but that seemed to > cumbersome for just one menu entry.
The general answer is "no, there is no easy way to prepend to menus". Maybe in the future. If you tell us which setup you use, then it is possible to try to solve your needs in one or another way. There are several solutions: Read after AddToMenu (reading optional user-or-system-defined file with plus prefixed top menu items); calling a function (to be redefined by a user) after AddToMenu; PipeRead with external script to create the whole menu. Regards, Mikhael.
