Some applications can do that ─ Chromium is one of them, and it doesn’t even need appmenu-gtk-module for that ─ but not all of them do. Pamac does not, and neither does TimeShift.
This here-below is Claws Mail, a GTK-based email and Usenet client ─ I am using it for Usenet only ─ and clearly it works, albeit ─ as I said already ─ that in Plasma 5.19.4, you have to activate a KDE/Qt-based application first before the GTK application’s menu is visible in the Plasma global menu widget.
If you still can’t get global menus in Firefox/Thunderbird, Libre Office and GTK apps, this mean you lack of some packages.
Here is the list of packages to install to get global menus (will add to the first message when I get back editing features with some further trust levels on the forum):
appmenu-gtk-module
appmenu-qt4 - optional, for qt-4 apps if you still have some
lib32-libdbusmenu-glib
lib32-libdbusmenu-gtk2
lib32-libdbusmenu-gtk3
lib32-libdbusmenu-qt
libdbusmenu-glib
libdbusmenu-gtk2
libdbusmenu-gtk3
libdbusmenu-qt4 - optional, for qt-4 apps if you still have some
libdbusmenu-qt5
They should, but I saw many people that didn’t have all needed packages. Old installs, or maybe certain packages were uninstalled when they fiddled with the system. Anyway, the list is a nice way to check if you have all what is needed for global menus in Plasma.
sorry to bring back an old topic, I know I could also just edit the menu entry like I did some other times, but it seems odd that I don’t have /etc/profile.d/mozilla-common.sh
Should I do something to create it? xdg-desktop-portal and xdg-desktop-portal-kde were already installed.
Thank you very much for your reply, it worked! Though I still don’t understand why I didn’t have the file in there
Anyway, I think the second command didn’t work because of an extra '
I changed it with echo ’export GTK_USE_PORTAL=1' >> /etc/profile.d/mozilla-common.sh
I’m still learning basic commands in Linux so if I mistakenly corrected you I apologize in advance.
Well, your post mentions “source code not available” for some of the solutions, but this is not correct. The source code is available ─ given that they are Ubuntu patches, that’s where you’ll find it ─ but the AUR packages in question are provided as precompiled binaries only.
I bring back an old topic, with a new behaviour though (in Wayland)
After I enable these commands to have the proper dialogs, pamac doesn’t follow the gtk theme anymore and becomes ugly.
Similarities in this post [the workaround I suggested there won’t work anyway with the pamac icon on the system tray, so it’s not very good at all.]
What could be a good solution to have both the qt dialogs and a normal pamac appearence under Wayland? Also I have no clue how a change in mozilla profile can affect pamac…
Wayland is a thing in and of itself, and it uses its own compositor. Even though it is available ─ and in some distributions even the default display server ─ Wayland is still very much a work in progress, and I would recommend against using it on production machines ─ and especially so if you’re not willing to accept its many bugs and quirks.
I see it’s still a lot work in progress, but I’m using it and pipewire since some time now without major problems, it feels slightly faster to be honest, but nothing so special. I don’t mind have some minor bugs anyway.
I just thought this one was particularly curious since it happens just by changing mozilla and it shouldn’t be related.
I sadly can’t get any of the packages to install on either of my machines (my laptop and desktop). With firefox-appmenu I just keep getting compile failed, and with firefox-kde-opensue, I can’t even import the keys because it says it can’t find the remote keys. Can someone help me get these packages?
I tried installing the firefox-kde-opensue-bin package, but that one I just get errors with the pgp keys, and I can’t import them (it just says it can’t find the remote keys). I haven’t tried installing the firefox-appmenu-bin package however.
–edit–
Sadly, I can’t get the bin versions to compile either. And I did manage to get one machine to finally compile firefox-appmenu (my desktop); but the other machine refuses to compile either packages and their variants.