Get Global Menu support for all apps working out of the box in Cosmic
Closed, WontfixPublic

Description

It would be a great feature if we can advertise full out-of-the-box Global Menu support in Cosmic. I've been collecting information about how we can add support by default and here's what I've come up with so far:

  1. Install these packages by default:
# For GTK app support
appmenu-gtk
appmenu-gtk-module-common
appmenu-gtk2-module
appmenu-gtk3
appmenu-gtk3-module
libappmenu-gtk2-parser0
libappmenu-gtk3-parser0

# For non-KDE Qt app support
appmenu-qt

# For Electron app support
libdbusmenu-glib4

# For LibreOffice support
libreoffice-gtk3

# Should already be installed by default as it's a part of Plasma in 5.13 and later
gmenu-dbusmenu-proxy
  1. If we don't ship with LibreOffice 6.2 or greater, also set some more environment variables:
export SAL_USE_VCLPLUGIN=gtk
export GTK_MODULES=appmenu-gtk-module
  1. Possibly take this patch: https://cgit.kde.org/plasma-workspace.git/commit/?id=c9ba8e0cf7e518de95952762dc56d930df98339f (in 5.14 only; supposedly fixes an issue with LibreOffice, need to confirm)
  1. Possibly also install all *unity-gtk-* packages as well and set a gsettings key: gsettings set com.canonical.unity-gtk-module gtk2-shell-shows-menubar true (need to confirm)

Note: I haven't tested any of this yet.

ngraham created this task.Aug 21 2018, 4:35 PM
ngraham updated the task description. (Show Details)

This sounds exciting. Where are we on this? Should we discuss on Kubuntu-devel?

At the moment it's just a proposal/idea. I'll be testing this out on Cosmic once I get a test rig set up. Then I can provide a definitive package list. Of course, folks already using Cosmic can feel free to try following the above instructions , and then see if the global menu works if they add a Global Menu plasmoid somewhere.

broulik added a subscriber: broulik.Sep 7 2018, 2:27 PM

We are in feature freeze and approaching beta freeze, so this needs looked at soon or left for next release.

If we leave it for 19.04, hopefully things will Just Work™ since Global Menu support was still a tech demo in Plasma 5.13.

[spam comment removed by sysadmin]

ngraham closed this task as Wontfix.Wed, Jan 22, 2:03 AM

All of this stuff works out of the box now.