Hi Carson,
In km 1.1 we've introduced a new menu system (besides a couple of other things, which are related). I've made an attempt to explain all that (in short):
K-Meleon 1.x Reference (see also the Configuration Files section)
In versions prior to 1.1, the menus were defined in the menus.cfg file located in your profile folder. Now we have two of these files. The default menus are now defined in \defaults\settings\menus.cfg in your km installation directory. The menus.cfg file in your profile dir can be used to override the default configuration. This way, it's easier for the devs to update the default configuration and for the users it's easier to stay in track of their customizations since both are now properly separated from each other.
You can go on using your menus.cfg (in your profile dir) as you did before. However, you can also use a new syntax that will allow you to add items to the default menus or to remove items from them without redefining these menus.
The hole thing is more difficult to explain than it actually is. In your case, you want to edit the main menu. The main menu is defined in the default menus.cfg (like most other - but not all other - menus). In \defaults\settings\menus.cfg you will find something like that:
Main{
:&File
:&Edit
:&View
%ifplugin bookmarks
:&Bookmarks
%endif
%ifplugin favorites
:F&avorites
%endif
%ifplugin hotlist
:H&otlist
%endif
%ifplugin sessions
:&Sessions
%endif
:&Tools
:&Help
bmpmenu(top)
}
You could now copy and paste that into your user menus.cfg (you can open it through Edit > Configuration > Menus) and simply edit it to your accordance. Just, this would redefine the main menu completely. A better approach would be to make incremental changes only:
!Main{
#:&File
#:&Edit
-&View
%ifplugin bookmarks
-&Bookmarks
%endif
%ifplugin favorites
-F&avorites
%endif
%ifplugin hotlist
-H&otlist
%endif
%ifplugin sessions
-&Sessions
%endif
-&Tools
-&Help
}
The exclamation mark (!) in front of the main menu's name will tell the menu parser that you only want to modify this menu, but don't want to redefine it. The File and the Edit menu were commented out because you don't want to change those. All other menu items got a minus (-) in front of their names. That will tell the menu parser to remove these items from the main menu. If you want to keep any of these items, then simply remove the related lines or comment them out.
OK, now, you may have noticed that there's no Groups menu mentioned anywhere. That's because the Groups menu is defined in and added by the Groups macro (groups.kmm). When you don't need the groups functionality, you can simply disable the groups module (under K-Meleon Plugins > Macro Extension in the Advanced Prefs). This will also remove the Groups menu. If you only want to remove the Groups menu from the main menu, simply say so:
!Main{
#:&File
#:&Edit
-&View
%ifplugin bookmarks
-&Bookmarks
%endif
%ifplugin favorites
-F&avorites
%endif
%ifplugin hotlist
-H&otlist
%endif
%ifplugin sessions
-&Sessions
%endif
-&Tools
-&Help
-&Groups
}
The major difficulty when you want to manipulate menus or menu items that are added by macros is to find out the correct menu or item name. These names are defined in the related kmm file. You can waste a lot of time looking for such names when you don't know where to look for them. Simply ask...
PS: The menu items for the Advanced Prefs panel are also added by a macro (kmprefs.kmm). Your menu editions can have unwanted side effects on macros. A macro might add an item to a menu that you've removed (another difficulty).