Skip to content

Instantly share code, notes, and snippets.

@megacos
Last active July 30, 2022 02:38
Show Gist options
  • Save megacos/6a4fdccee5afb10d50843e199c2f6831 to your computer and use it in GitHub Desktop.
Save megacos/6a4fdccee5afb10d50843e199c2f6831 to your computer and use it in GitHub Desktop.
installing global menu on XFCE manjaro or arch based
pamac install appmenu-gtk-module vala-panel-appmenu-registrar libdbusmenu-glib libdbusmenu-gtk2 libdbusmenu-gtk3
#edit and change vala-panel-appmenu-xfce's PKGBUILD "_disable_budgie=false" to "_disable_budgie=true"
pamac build vala-panel-appmenu-xfce xfce4-windowck-plugin xfce4-panel-profiles
xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true
xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true
xfconf-query -c xfwm4 -p /general/button_layout -s "CHM|O"
xfconf-query -c xfwm4 -p /general/titleless_maximize -s true
xfconf-query -c xsettings -p /Gtk/Modules -n -t string -s "appmenu-gtk-module"
reboot
# To revert back
xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s false
xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s false
xfconf-query -c xfwm4 -p /general/button_layout -s "O|HMC"
xfconf-query -c xfwm4 -p /general/titleless_maximize -s false
xfconf-query -c xsettings -r -p /Gtk/Modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment