Add global menu

Tell me how to add a global menu. They say you need to install the vala menu applet, for example, through pamac, but it says that there is no such package!

Ask nicely. :wink:

Who?

What package exactly?

Do you now how the package managers or repositories work?

https://wiki.manjaro.org/index.php/Main_Page#Software_Management

Also see this I guess:

[user1@user1-onetwol5351 ~]$ sudo pacman -S vala-panel-appmenu
[sudo] password for user1:
error: target not found: vala-panel-appmenu
[user1@user1-onetwol5351 ~]$

Iā€™d really like to have that.
Like on a Mac.

unfortunately - itā€™s not really achievable on Linux
as of today
not consistently, anyways

I have seen an effort, FreeBSD based - called: Hello ā€¦ something
who tried to implement this

Everything else available is ā€¦ kinda working, but not consistently across all the usually used programs and desktop environments.

two identical usernames :wink:

vala-panel-appmenu

It is! I used to have such a thing in the same system a month ago, but when I reinstalled it, it disappeared!

It was made specifically for mate and xfce. In short, the vala menu panel is installed and the global menu is added as a regular applet to the panel.

nah - not consistent across all programs
which defeats the purpose - at least for me
I tried it.
I know. :wink:

I guess the answer to at least half of those questions is ā€˜noā€™ then.

No such package exists.

Multiple *vala-panel-appmenu-* do, but not in the official repositories.

But your syntax is exact for install ā€˜this exact packageā€™

So even if you were targeting the AUR, where they exist, and if pacman could directly pull from the AUR, which it cant, then your command would still fail.

Maybe you also want to include information about your system - this is the Mate category, but your profile notes XFCE. Which is it?

I could guess at what commands to feed you, but I would prefer not to guess, and to encourage some better communication, or to simply read the documentation ā€¦ because these are fundamental questions with easily accessible answers.

this is not a fantasy, it worked for me for a whole year

will try again, then
maybe I did something wrong
or incomplete

will try again

my profile MATE

The package you are probably looking for is
vala-panel-appmenu-mate Ā orĀ  vala-panel-appmenu-mate-git
Again, both are in the AUR.

https://wiki.manjaro.org/index.php/Arch_User_Repository

not pacman
itā€™s available via AUR
so use a AUR helper
like pamac or yay or ā€¦
or
download the PKGBUILD and use makepkg

There are different versions for different desktop environments
from what I saw at a glance.

Itā€™s in the AUR, not in the regular repositories.

pamac build vala-panel-appmenu-mate

Youā€™ll need to work on your social skills.

1 Like

[quote=ā€œcscs, post:12, topic:98782, full:trueā€]
The package you are probably looking for is
vala-panel-appmenu-mate or vala-panel-appmenu-mate-git
Again, both are in the AUR[/quote]

aur support is enabled, but the package is not there

Š”ŠæŠ¾Š¹Š»ŠµŃ€

[user1@user1-onetwol5351 ~]$ sudo pacman -S vala-panel-appmenu-mate
[sudo] password for user1:
error: target not found: vala-panel-appmenu-mate
[user1@user1-onetwol5351 ~]$ sudo pacman -S vala-panel-appmenu-mate-git
error: target not found: vala-panel-appmenu-mate-git
[user1@user1-onetwol5351 ~]$

Use the pamac command I gave you in post #14. pacman cannot install packages from the AUR; you need to use pamac instead.

Š”ŠæŠ¾Š¹Š»ŠµŃ€

[user1@user1-onetwol5351 ~]$ sudo pamac install vala-panel-appmenu-mate
[sudo] password for user1:
Warning: vala-panel-appmenu-mate is only available from AUR
Trainingā€¦
Checking dependencies for vala-panel-appmenu-mateā€¦
Checking dependencies for vala-panel-appmenu-commonā€¦
Dependency resolutionā€¦
Checking for mutual conflictsā€¦

To install (19):
m4 1.4.19-1 kernel 264.5 kB
autoconf 2.71-1 kernel 660.7 kB
fakeroot 1.26-1 kernel 72.2 kB
flex 2.6.4-3 core 304.4 kB
automake 1.16.5-1 kernel 627.5 kB
bison 3.8.2-1 kernel 803.5 kB
patch 2.7.6-8 kernel 94.7 kB
gc 8.2.0-2 (Required by: make) additional 238.6 kB
guile 2.2.7-2 (Required for: make) extra 6.6 MB
make 4.3-3 kernel 493.2 kB
libxfce4util 4.16.0-1 (Required for: vala-panel-appmenu-common) additional 128.2 kB
xfconf 4.16.0-2 (Required for: vala-panel-appmenu-common) additional 188.8 kB
libxfce4ui 4.16.1-1 (Required for: vala-panel-appmenu-common) additional 432.0 kB
exo 4.16.3-1 (Required for: vala-panel-appmenu-common) extra 321.1 kB
garcon 4.16.1-1 (Required for: vala-panel-appmenu-common) extra 165.4 kB
xfce4-panel 4.16.3-2 (Required for: vala-panel-appmenu-common) additional 779.8 kB
Ninja 1.10.2-1 (Required for: vala-panel-appmenu-common) community 119.6 kB
meson 0.60.3-1 (Required for: vala-panel-appmenu-common) extra 1.4 MB
vala-panel 0.4.92-1 (Required for: vala-panel-appmenu-common) community 610.5 kB
To assembly (2):
vala-panel-appmenu-common 0.7.6-2 AUR
vala-panel-appmenu-mate 0.7.6-2 AUR

Total Download Size: 14.3 MB
Total installed size: 79.1 MB

Edit assembly files : [p]
Apply transaction? [p/d/N]

ok

Š”ŠæŠ¾Š¹Š»ŠµŃ€

Edit assembly files : [p]
Apply transaction? [p/d/n] d

Download of guile (2.2.7-2) started
gc (8.2.0-2) download started
gc download (8.2.0-2) finished
Download of libxfce4util (4.16.0-1) started
Download of libxfce4util (4.16.0-1) ended
Loading xfconf (4.16.0-2) started
Loading xfconf (4.16.0-2) finished
Download of libxfce4ui (4.16.1-1) started
Download guile (2.2.7-2) finished
make download (4.3-3) started
Download of libxfce4ui (4.16.1-1) ended
make download (4.3-3) finished
exo download (4.16.3-1) started
Download of vala-panel (0.4.92-1) started
Download of vala-panel (0.4.92-1) ended
Download ninja (1.10.2-1) started
Download ninja (1.10.2-1) ended
download exo (4.16.3-1) finished
Download of garcon (4.16.1-1) started
Loading flex (2.6.4-3) started
Download garcon (4.16.1-1) finished

Š”ŠæŠ¾Š¹Š»ŠµŃ€

xfce4-panel (4.16.3-2) download started
Loading flex (2.6.4-3) ended
Download m4 (1.4.19-1) started
xfce4-panel (4.16.3-2) download finished
Fakeroot (1.26-1) download started
download fakeroot (1.26-1) finished
meson (0.60.3-1) download started
Download m4 (1.4.19-1) ended
bison (3.8.2-1) download started
download meson (0.60.3-1) finished
Downloading patch (2.7.6-8) started
Downloading patch (2.7.6-8) ended
Autoconf (2.71-1) loading started
download bison (3.8.2-1) ended
autoconf loading (2.71-1) finished
Automake (1.16.5-1) download started
automake (1.16.5-1) download finished
Checking keychainā€¦ [19/19]
Integrity checkā€¦ [19/19]
Loading package filesā€¦ [19/19]
Checking files for conflictsā€¦

continuation

Š”ŠæŠ¾Š¹Š»ŠµŃ€

xfce4-panel (4.16.3-2) download started
Loading flex (2.6.4-3) ended
Download m4 (1.4.19-1) started
xfce4-panel (4.16.3-2) download finished
Fakeroot (1.26-1) download started
download fakeroot (1.26-1) finished
meson (0.60.3-1) download started
Download m4 (1.4.19-1) ended
bison (3.8.2-1) download started
download meson (0.60.3-1) finished
Downloading patch (2.7.6-8) started
Downloading patch (2.7.6-8) ended
Autoconf (2.71-1) loading started
download bison (3.8.2-1) ended
autoconf loading (2.71-1) finished
Automake (1.16.5-1) download started
automake (1.16.5-1) download finished
Checking keychainā€¦ [19/19]
Integrity checkā€¦ [19/19]
Loading package filesā€¦ [19/19]
Checking files for conflictsā€¦

continuation2

Š”ŠæŠ¾Š¹Š»ŠµŃ€

[19/19]
Checking available disk spaceā€¦ [19/19]
Installing gc (8.2.0-2)ā€¦ [1/19]
Installing guile (2.2.7-2)ā€¦ [2/19]
Installing make (4.3-3)ā€¦ [3/19]
Installing libxfce4util (4.16.0-1)ā€¦ [4/19]
Installing xfconf (4.16.0-2)ā€¦ [5/19]
Installing libxfce4ui (4.16.1-1)ā€¦ [6/19]
Installing exo (4.16.3-1)ā€¦ [7/19]
Installing vala-panel (0.4.92-1)ā€¦ [8/19]
Installing garcon (4.16.1-1)ā€¦ [9/19]
Installing ninja (1.10.2-1)ā€¦ [10/19]
Installing m4 (1.4.19-1)ā€¦ [11/19]
Installing flex (2.6.4-3)ā€¦ [12/19]
Installing xfce4-panel (4.16.3-2)ā€¦ [13/19]
Installing fakeroot (1.26-1)ā€¦ [14/19]
Installing meson (0.60.3-1)ā€¦ [15/19]
Installing bison (3.8.2-1)ā€¦ [16/19]
Installing patch (2.7.6-8)ā€¦ [17/19]
Installing autoconf (2.71-1)ā€¦ [18/19]
Installing automake (1.16.5-1)ā€¦ [19/19]
Post-transaction handlers runningā€¦
Arming ConditionNeedsUpdateā€¦

contā€¦n3

Š”ŠæŠ¾Š¹Š»ŠµŃ€

[1/6]
Updating GIO module cacheā€¦ [2/6]
Compiling GSettings XML schema filesā€¦ [3/6]
Updating icon theme cachesā€¦ [4/6]
Updating the info directory fileā€¦ [5/6]
Updating the desktop file MIME type cacheā€¦ [6/6]
Cloning the assembly files vala-panel-appmenuā€¦
Running as unit: run-u101.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 578ms
CPU time consumed: 156ms
Generating information about vala-panel-appmenuā€¦
Running as unit: run-u102.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 31.809s
CPU time consumed: 36.096s

Building vala-panel-appmenuā€¦
Running as unit: run-u103.service
Press ^] three times within 1s to disconnect TTY.
==> Build package vala-panel-appmenu 0.7.6-2 (Sat 15 Jan 2022 11:56:40)
==> Checking dependencies to runā€¦
==> Checking build dependenciesā€¦
==> Getting source filesā€¦
ā†’ Cloning the ā€˜vala-panel-appmenuā€™ (git) repositoryā€¦
Cloning to bare repository ā€œ/var/cache/private/pamac/vala-panel-appmenu/vala-panel-appmenuā€ā€¦
remote: Enumerating objects: 6734, done.
remote: Counting objects: 100% (265/265), done.
remote: Compressing objects: 100% (168/168), done.
remote: Total 6734 (delta 138), reused 219 (delta 96), pack-reused 6469
Object acquisition: 100% (6734/6734), 3.66 MiB | 2.24 MiB/s, done.
Change detection: 100% (4487/4487), done.
==> Checking source files using sha256sumsā€¦
vala-panel-appmenu ā€¦ Skipped
==> Removing the directory ā€˜$srcdir/ā€™ā€¦
==> Unpacking source filesā€¦
ā†’ Create a working copy of the ā€˜vala-panel-appmenuā€™ (git) repositoryā€¦
Cloning to ā€œvala-panel-appmenuā€ā€¦
ready.
Switched to new branch ā€œmakepkgā€
==> Run build()ā€¦
The Meson build system
Version: 0.60.3
Source dir: /var/cache/private/pamac/vala-panel-appmenu/src/vala-panel-appmenu
Build dir: /var/cache/private/pamac/vala-panel-appmenu/src/build
Build type: native build
Project name: vala-panel-appmenu
Project version: 0.7.6
C compiler for the host machine: cc (gcc 11.1.0 ā€œcc (GCC) 11.1.0ā€)
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gio-unix-2.0 found: YES 2.70.2
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6
Run-time dependency gtkĀ±3.0 found: YES 3.24.31
Run-time dependency libbamf3 found: YES 0.5.5
Run-time dependency libwnck-3.0 found: YES 40.0
Run-time dependency vala-panel found: YES 0.4.92
Run-time dependency libmatepanelapplet-4.0 found: YES 1.26.1
Run-time dependency libxfce4panel-2.0 found: YES 4.16.3
Run-time dependency libxfconf-0 found: YES 4.16.0
Did not find CMake ā€˜cmakeā€™
Found CMake: NO
Run-time dependency budgie-1.0 found: NO (tried pkgconfig)

vala-panel-appmenu/meson.build:81:0: ERROR: Dependency ā€œbudgie-1.0ā€ not found, tried pkgconfig

A full log can be found at /var/cache/private/pamac/vala-panel-appmenu/src/build/meson-logs/meson-log.txt
==> ERROR: There was a failure in build().
Interruptā€¦
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 33.363s
CPU time consumed: 35.298s
[user1@user1-onetwol5351 ~]$

ended with an error

==> ERROR: There was a failure in build().

thank you, I understand

Š”ŠæŠ¾Š¹Š»ŠµŃ€

[user1@user1-onetwol5351 ~]$ sudo pamac build vala-panel-appmenu-mate
[sudo] password for user1:
Warning: Building packages as an administrator
Note: Selecting the build directory /var/cache/pamac
Trainingā€¦
Checking dependencies for vala-panel-appmenu-mateā€¦
Checking dependencies for vala-panel-appmenu-commonā€¦
Dependency resolutionā€¦
Checking for mutual conflictsā€¦

To assembly (2):
vala-panel-appmenu-common 0.7.6-2 AUR
vala-panel-appmenu-mate 0.7.6-2 AUR

Edit assembly files : [p]
Apply transaction? [p/d/n] d

Building vala-panel-appmenuā€¦
Running as unit: run-u107.service
Press ^] three times within 1s to disconnect TTY.
==> Build package vala-panel-appmenu 0.7.6-2 (Sat 15 Jan 2022 12:15:34 PM)
==> Checking dependencies to runā€¦
==> Checking build dependenciesā€¦
==> Getting source filesā€¦
ā†’ Update repository ā€˜vala-panel-appmenuā€™ (git)ā€¦
Extract from origin
==> Checking source files using sha256sumsā€¦
vala-panel-appmenu ā€¦ Skipped
==> Removing the directory ā€˜$srcdir/ā€™ā€¦
==> Unpacking source filesā€¦
ā†’ Create a working copy of the ā€˜vala-panel-appmenuā€™ (git) repositoryā€¦
Cloning to ā€œvala-panel-appmenuā€ā€¦
ready.
Switched to new branch ā€œmakepkgā€
==> Removing the directory ā€˜$pkgdir/ā€™ā€¦
==> Run build()ā€¦
The Meson build system
Version: 0.60.3
Source dir: /var/cache/private/pamac/vala-panel-appmenu/src/vala-panel-appmenu
Build dir: /var/cache/private/pamac/vala-panel-appmenu/src/build
Build type: native build
Project name: vala-panel-appmenu
Project version: 0.7.6
C compiler for the host machine: cc (gcc 11.1.0 ā€œcc (GCC) 11.1.0ā€)
C linker for the host machine: cc ld.bfd 2.36.1
Vala compiler for the host machine: valac (valac 0.54.5)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency gio-unix-2.0 found: YES 2.70.2
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6
Run-time dependency gtkĀ±3.0 found: YES 3.24.31
Run-time dependency libbamf3 found: YES 0.5.5
Run-time dependency libwnck-3.0 found: YES 40.0
Run-time dependency vala-panel found: YES 0.4.92
Run-time dependency libmatepanelapplet-4.0 found: YES 1.26.1
Run-time dependency libxfce4panel-2.0 found: YES 4.16.3
Run-time dependency libxfconf-0 found: YES 4.16.0
Did not find CMake ā€˜cmakeā€™
Found CMake: NO
Run-time dependency budgie-1.0 found: NO (tried pkgconfig)

vala-panel-appmenu/meson.build:81:0: ERROR: Dependency ā€œbudgie-1.0ā€ not found, tried pkgconfig

A full log can be found at /var/cache/private/pamac/vala-panel-appmenu/src/build/meson-logs/meson-log.txt
==> ERROR: There was a failure in build().
Interruptā€¦
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 30.751s
CPU time consumed: 33.792s
[user1@user1-onetwol5351 ~]$

==> ERROR: There was a failure in build().

I was using the manual process - download the PKGBUILD and use makepkg
At this point you could do that as well.

Or make use of the offer that pamac makes at the beginning:

choose edit and change
_disable_budgie=false
to
_disable_budgie=true

(itā€™s the 6th line from the top of the PKGBUILD)
ā€¦ since this is holding you up and you do not even want to build for budgie.
It will then build sucessfully.

1 Like