Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4010  / 1 Year ago, thu, march 23, 2023, 11:20:56

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.


More From » wine

 Answers
2

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


[#34088] Friday, March 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ionash

Total Points: 214
Total Questions: 111
Total Answers: 116

Location: Sudan
Member since Thu, May 7, 2020
4 Years ago
;