4

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?

deleted
  • 2,479

4 Answers4

1

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>

Remove the <Deleted/> line and your Wine menu will reappear.

Source

karthick87
  • 81,947
0

Try running with command line instead:

wine <PATH_TO_FILE>
Ali Raza
  • 101
0

First go to System → Preferences → Main Menu and make you sure there is item Wine and is't checked.

alt text

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.

0

not sure if this helps, but for me I just went into synaptic package manager and installed Q4wine to add the GUI with wine and made sure wine was also installed with it.