Skip to content

Instantly share code, notes, and snippets.

@MetaKomora
Last active January 13, 2022 04:00
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save MetaKomora/5e2c90dca15d1004a2b32da58d6e4288 to your computer and use it in GitHub Desktop.
Save MetaKomora/5e2c90dca15d1004a2b32da58d6e4288 to your computer and use it in GitHub Desktop.
pamac install appmenu-gtk-module vala-panel-appmenu-registrar libdbusmenu-glib libdbusmenu-gtk2 libdbusmenu-gtk3
pamac build vala-panel-appmenu-xfce-git xfce4-windowck-plugin xfce4-panel-profiles
# If vala-panel-appmenu-xfce-git crashes compiling, you can replace it with the version on Manjaro community repository:
# `pamac install vala-panel-appmenu-xfce`
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 to original
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
@osbre
Copy link

osbre commented Sep 6, 2021

Thank you for this script, but for me it crashes on the second command:

Any advice? Thanks!

I'm using Manjaro 21.1.2 XFCE.

Run-time dependency libxfconf-0 found: YES 4.16.0
Found CMake: /usr/bin/cmake (3.21.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency budgie-1.0 found: NO (tried pkgconfig and cmake)

vala-panel-appmenu/meson.build:81:0: ERROR: Dependency "budgie-1.0" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/pamac-build-maker/vala-panel-appmenu-xfce-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...

@MetaKomora
Copy link
Author

Thank you for this script, but for me it crashes on the second command:

Any advice? Thanks!

I'm using Manjaro 21.1.2 XFCE.

Run-time dependency libxfconf-0 found: YES 4.16.0
Found CMake: /usr/bin/cmake (3.21.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency budgie-1.0 found: NO (tried pkgconfig and cmake)

vala-panel-appmenu/meson.build:81:0: ERROR: Dependency "budgie-1.0" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/pamac-build-maker/vala-panel-appmenu-xfce-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...

I have search a bit and found that there is a package on Manjaro community repository for vala-panel-appmenu-xfce. You can remove the vala-panel-appmenu-xfce-git from the second command and later install it with pamac install vala-panel-appmenu-xfce

@m3hransh
Copy link

I ran added the following package before installing and the dependency problem was solved:
pamac install gobject-introspection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment