I have uninstalled Wine and then reinstalled a few weeks later, now there is no Wine menu in the main menu. I can't get to anything Wine related.
How do I reset the menu so Wine shows up?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Rather than actually delete anything, menu editors on Linux simply mark menus as "Deleted" so that they don't show up in the menu. First, see if the directory is in your menu editor and can be re-enabled.
This information is stored in ~/.config/menus/applications.menu . Edit ~/.config/menus/applications.menu and you should find a section near the end that looks similar to this:
<Menu> <Name>wine-wine</Name> <Deleted/> </Menu>
or perhaps this:
<Menu> <Name>wine-wine</Name> <Menu> <Name>wine-Programs</Name> <Menu> <Name>wine-Programs-AutoHotkey</Name> <DirectoryDir>/home/user/.local/share/desktop-directories</DirectoryDir> </Menu> </Menu> <Deleted/> </Menu>
<Deleted/> line and your Wine menu will reappear.
First go to System → Preferences → Main Menu and make you sure there is item Wine and is't checked.
If there's no Wine entry, open Nautilus (ubuntu default file browser), press Crl+H to show hidden files/folders, goto
.config/menus and delete here file
application.menu -- Gnome will automatically recreate this file with default application menu configuration.