Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

Do not flag as clone of similar questions (like this or this) because: these likely refer to Ubuntu main and not to Lubuntu, which means that:

  • 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:

    /etc/xdg/menus/lxlauncher-applications.menu

which contains the lines

<Move>
        <Old>wine-wine</Old>
        <New>Work/wine-wine</New>

and /usr/share/app-install/desktop/applications.menu

which contains

<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.

wine

enter image description here

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.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Partial workaround:

Wine subcategories (Browse C Drive, Uninstall Wine Programs etc) may be set in menulibre to appear within visible main menu categories: putting them all in 'System' and adding "Wine" at the beginning of their name makes them all appear grouped together under System Tools

enter image description here

enter image description here

This looks easier to do in menulibre, which now also supports Quantal 12.10. To get the same results in LXMenuEditor, edit and add these entries under one of the main menu categories:

enter image description here

enter image description here

enter image description here

enter image description here

share|improve this answer

In the file

/usr/share/app-install/desktop/applications.menu

uncomment the lines

<!-- Read standard .directory and .desktop file locations -->
<DefaultAppDirs/>
<!-- Read in overrides and child menus from applications-merged/ -->
<DefaultMergeDirs/>

probably just uncommenting

<DefaultMergeDirs/>

does the trick.

cheers

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.