Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-06-13 15:12:24

Akadole1932
Member
Registered: 2021-05-28
Posts: 10

Xfce global menu not working

I installed the xfce4-appmenu-plugin and vala-panel-appmenu and a bunch of others (see list below) and still the xfce appmenu plugin is not working for certain apps(like thunar and xfce terminal) but working for others (like VLC and VSCODE). I also ran these two commands as it was posted in some forum somewhere :
xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true
xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true

(List of packages I installed -
appmenu-gtk-module-common/stable, stable, now 0.7.1-1 all [installed]
appmenu-qt/stable, now 0.2.6-2 amd64 [installed] appmenu-registrar/stable, now 0.7.1-1 amd64 [installed]
vala-panel-appmenu-common/stable, stable, now 0.7.1+dfsg1-1 all [installed, automatic]
vala-panel-appmenu/stable, now 0.7.1+dfsg1-1 amd64 [installed]
xfce4-appmenu-plugin/stable, now 0.7.1+dfsg1-1 amd64 [installed]
)
Yeah i really wanted the global menu?. Also,sorry for the long post?

(I run MX linux 19.4 with kernal version 4.19.0-16-amd64 if it helps)

Offline

#2 2021-06-13 18:52:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,481

Re: Xfce global menu not working

You'll also need to install:

- appmenu-gtk2-module
- appmenu-gtk3-module
- appmenu-registrar

In addition, you need to add "appmenu-gtk-module to the GTK_MODULES environment variable. The packages include a method to do this using systemd, but since MX Linux doesn't use systemd, you'll need to a manual workaround.

With root privileges, copy the file "52libcanberra-gtk-module_add-to-gtk-modules" to "52appmenu-gtk-module_add-to-gtk-modules" and then edit that file and replace all instances of the string "canberra" with "appmenu". Reboot the system for it to take effect.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-06-13 20:18:29

Akadole1932
Member
Registered: 2021-05-28
Posts: 10

Re: Xfce global menu not working

Thanks for the reply !!!
I installed the three packages but couldn't understand what to do next. Sorry i am not a very experienced Linux user (using only since the last month)

Offline

#4 2021-06-13 20:40:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,481

Re: Xfce global menu not working

No worries. Run the following commands:

sudo cp /etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules /etc/X11/Xsession.d/52appmenu-gtk-module_add-to-gtk-modules
sudo sed -i 's/canberra/appmenu/g' /etc/X11/Xsession.d/52appmenu-gtk-module_add-to-gtk-modules

...then restart your system (a log our and log back in might also work - reboot to be sure).


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2021-06-14 12:12:02

Akadole1932
Member
Registered: 2021-05-28
Posts: 10

Re: Xfce global menu not working

Thanks thanks thanks !!!
Works like a charm. I have posted this question on various forums like mxlinux forum and linuxquestions but coudn't get a answer.Thanks!

Offline

#6 2022-02-27 12:50:02

r3thelegend
Member
Registered: 2022-02-27
Posts: 1

Re: Xfce global menu not working

i don't have "52appmenu-gtk-module_add-to-gtk-modules" inside of Xsession.d

Offline

#7 2022-02-27 13:44:42

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: Xfce global menu not working

Hello and welcome.

That's what the first command does: it creates a copy of 52libcanberra-gtk-module_add-to-gtk-modules with the name 52appmenu-gtk-module_add-to-gtk-modules.

Do you have 52libcanberra-gtk-module_add-to-gtk-modules?


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#8 2023-10-18 19:12:37

tckyato
Member
Registered: 2023-10-18
Posts: 1

Re: Xfce global menu not working

Hey can someone compare for me the difference between valapanel and xfce4 appmenu, thank you!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 543.7 KiB (Peak: 544.55 KiB) ]