Add global menu

[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

trying the second solution…

/var/cache/pamac/vala-panel-appmenu/PKGBUILD

Спойлер

Maintainer : Yamada Hayao hayao@fascode.net

Contributer: rilian-la-te ria.freelander@gmail.com

_disable_mate=false
_disable_xfce=false
_disable_vala=false
_disable_budgie=true

i edited and restarted…

Спойлер


Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1min 19.814s
CPU time consumed: 1min 48.405s
Running as unit: run-u72.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 22.086s
CPU time consumed: 25.003s

Checking the keychain… [2/2]
Integrity check… [2/2]
Loading package files… [2/2]
Checking files for conflicts … [2/2]
Checking available disk space… [2/2]
Installing vala-panel-appmenu-common (0.7.6-2)… [1/2]
Installing vala-panel-appmenu-mate (0.7.6-2)… [2/2]
Post-transaction handlers running…
Arming ConditionNeedsUpdate… [1/2]
Compiling GSettings XML schema files… [2/2]
The transaction completed successfully.
[user1@user1-onetwol5351 ~]$

The transaction completed successfully. :slightly_smiling_face: thank you all

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.