Some error deleted my Wine menus. (LX Panel was crashed by another app and the Wine menu was gone)
Wine is installed but not visible in the menu.
- Alcarte is not an option in Lubuntu (it does not work or does randomly - see this question and the end of this answer). I have tried it again anyway and Wine was absent there too, and cannot change it.
Considering this answer, I have not found any 'wine' term in that file, nor in others that I found with similar name, excepting:
which contains the lines
<Move> <Old>wine-wine</Old> <New>Work/wine-wine</New>
<Menu> <Name>Applications</Name> <Directory>X-GNOME-Menu-Applications.directory</Directory> <AppDir>.</AppDir> <!-- we disable those here, otherwise we see e.g. wine menus --> <!-- Read standard .directory and .desktop file locations --> <!-- <DefaultAppDirs/> --> <!-- Read in overrides and child menus from applications-merged/ --> <!-- <DefaultMergeDirs/> -->
and also in
/etc/xdg/menus/applications-merged, with the content
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> <Menu> <Name>Applications</Name> <Menu> <Name>wine-wine</Name> <Directory>wine-wine.directory</Directory> <Include> <Category>Wine</Category> </Include> <Menu> <Name>wine-Programs</Name> <Directory>wine-Programs.directory</Directory> <Include> <Category>Wine-Programs</Category> </Include> <Menu> <Name>wine-Programs-Accessories</Name> <Directory>wine-Programs-Accessories.directory</Directory> <Include> <Category>Wine-Programs-Accessories</Category> </Include> </Menu> </Menu> </Menu> </Menu>
But cannot see what could be changed here according to that answer.
LXMenuEditor does not display Wine at all and it cannot create main categories anyway as Alacarte would (see this), and Wine was a such category.
menulibre ("Menu Editor") displays Wine and its submenus.
But the Wine menu visibility cannot be edited in this app. The same problem of not being able to create main categories (as Alacarte would), but only items. That is, individual items can be created and set to appear in certain categories but there's no setting on these very categories.