Hacker News new | ask | show | jobs
by sho_hn 1287 days ago
Linux has a standard protocol (dbusmenu) for exporting menu structures supported by most common app UI libraries, and environments like KDE's Plasma use this to offer a global menu bar option, too.
1 comments

Unfortunately there's a number of Linux apps that don't publish any menus, including most GTK3/4 and Electron apps. I don't think Firefox does either. I remember trying the global menu option in KDE and being sorely disappointed in how few apps populated it.

To get consistent usage out of a dbus-based global menu (KDE's or that one XFCE panel plugin) one would need to fork quite a number of packages, and for proprietary Electron apps you'd probably just be stuck.

GTK apps can support the global menu. There's a GTK plugin that adds support, and many distros install it by default. I think it was originally written by Canonical (their custom Unity desktop also used a global menu bar).

Not sure about the state of things with Electron. I'm sure you're generally right and there are some gaps, and of course, on Mac OS you do only very rarely encounter an app with an empty menu bar (I have though).

I think I may have stumbled upon that plugin but getting it to load under latest Fedora wasn't trivial.