Сначала я только что установил сервер Ubuntu 20.04, а затем поверх него xubuntu-desktop.Я сразу заметил, что у многих приложений отсутствуют главные меню. Примерами, которые я помню, были got-cola и libre office из основного репозитория. Также его не было в Microsoft Visual Studio Code (из репозитория Microsoft). У Thunar в какой-то момент его не было, но после того, как я повозился, они вернулись. Было еще несколько приложений без меню, но я не помню, какие они были.
Я уже знаю ответ, но отправляю его как вопрос, если кто-то еще испытывает те же проблемы. Я даю свое решение ниже и надеюсь, что оно поможет другим.
I figured out the packages causing the issue and did the following to fix it.
1) First I installed "xfce4-appmenu-plugin". It uninstalled a couple of unity packages (which I think were the culprits) and installed a handful of dependencies producing the following log (it gives an idea of what was uninstalled and installed)
Removed the following packages:
unity-gtk2-module
unity-gtk3-module
Installed the following packages:
appmenu-gtk-module-common (0.7.3-2)
appmenu-gtk2-module (0.7.3-2)
appmenu-gtk3-module (0.7.3-2)
appmenu-registrar (0.7.3-2)
bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2)
libappmenu-gtk2-parser0 (0.7.3-2)
libappmenu-gtk3-parser0 (0.7.3-2)
libdbusmenu-gtk4 (16.04.1+18.10.20180917-0ubuntu6)
vala-panel-appmenu-common (0.7.3+dfsg1-2)
xfce4-appmenu-plugin (0.7.3+dfsg1-2)
This step partially broke xfce panel (many errors) and menus completely disappeared from ALL GTK apps.
2) After that I completely uninstalled all packages installed in step 1 (listed above).
The net total is uninstalled unity-gtk modules. I didn't try doing just that but possibly simply uninstalling them could fix the missing main menu problem.
Reboot (or maybe simply restart lightdm) and all the menus are back!!!