Package Details: pa-applet-git r19.3b4f8b3-8

Git Clone URL: https://aur.archlinux.org/pa-applet-git.git (read-only, click to copy)
Package Base: pa-applet-git
Description: PulseAudio control applet
Upstream URL: https://github.com/fernandotcl/pa-applet
Keywords: applet control pa pulseaudio system systray tray volume
Licenses: BSD
Submitter: arcetera
Maintainer: Antiz
Last Packager: Antiz
Votes: 35
Popularity: 0.001743
First Submitted: 2015-09-25 22:21 (UTC)
Last Updated: 2024-12-15 16:05 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Dirk commented on 2022-04-08 16:47 (UTC)

Since the latest update the applet shows as a large black icon instead of the usual icon from my icon theme.

Any chance to fix this?

n-st commented on 2022-03-26 22:21 (UTC)

@MoonSwan, the HTTPS URL in line 7 is only the upstream website (for human consumption). The PKGBUILD uses an unauthenticated git URL for the source files in line 13, so that would need to be fixed by @k4rakara (though you can change the PKGBUILD for yourself locally until then).

MoonSwan commented on 2022-03-26 22:16 (UTC)

Tried to build this app and got this error:

-> Cloning pa-applet-git git repo... Cloning into bare repository '/home/raine/builds/sources/pa-applet-git'... fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. ==> ERROR: Failure while downloading pa-applet-git git repo Aborting...

Looked at the PKGBUILD and I see it uses https so I'm unsure what this error is about.

kruzah commented on 2022-03-16 13:14 (UTC)

GitHub has permanently disabled unencrypted git:// as of March 15. Please update the source URL to https format to allow this package to keep building.

integer0 commented on 2021-12-01 19:16 (UTC)

I poked around a bit with the code and added the sink description to the notification.

Can't find the contact info for the maintainer. So pasting the diffs here.

Contact me and I'll provide them directly and edit them out here.

This is a good utility!

$ cat pa-applet-sinkname-PKGBUILD.diff
--- ../temp/pa-applet-git/PKGBUILD      2015-11-23 03:46:10.000000000 -0800
+++ PKGBUILD    2021-12-01 10:53:57.919125336 -0800
@@ -1,7 +1,7 @@
 # Maintainer: Colin Reeder <colin AT reederhome DOT net>
 pkgname=pa-applet-git
-pkgver=17.33b413b
-pkgrel=1
+pkgver=19.3b4f8b3
+pkgrel=2
 pkgdesc="PulseAudio control applet"
 arch=(i686 x86_64)
 url="https://github.com/fernandotcl/pa-applet"
@@ -10,8 +10,9 @@ depends=('gtk3' 'libnotify' 'libpulse')
 makedepends=('git')
 options=('!libtool')

-source=("$pkgname"::'git://github.com/fernandotcl/pa-applet.git')
-md5sums=('SKIP')
+source=("$pkgname"::'git://github.com/fernandotcl/pa-applet.git'
+        'pa-applet-sinkname-20211201-3b4f8b3.diff')
+md5sums=('SKIP' '342a5960b9a2d8fbdc627ea26cac4539')

 pkgver() {
            cd "$pkgname"
@@ -20,6 +21,7 @@ pkgver() {

 build() {
        cd "$srcdir/$pkgname"
+    git am "$srcdir/pa-applet-sinkname-20211201-3b4f8b3.diff"
        CFLAGS+=" -Wno-error"
        ./autogen.sh
        ./configure --prefix=/usr
$ cat pa-applet-sinkname-20211201-3b4f8b3.diff 

Subject: [PATCH] Add a description of the active sink to the notification.

---
 src/audio_status.h  | 1 +
 src/notifications.c | 2 +-
 src/pulse_glue.c    | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/audio_status.h b/src/audio_status.h
index f97f9a8..33a8c01 100644
--- a/src/audio_status.h
+++ b/src/audio_status.h
@@ -16,6 +16,7 @@
 typedef struct {
     gdouble volume;
     gboolean muted;
+    gchar *sink_name;
     GSList *profiles;
 } audio_status;

diff --git a/src/notifications.c b/src/notifications.c
index f5ac1f8..f2404fb 100644
--- a/src/notifications.c
+++ b/src/notifications.c
@@ -73,7 +73,7 @@ void notifications_flash(void)
     notify_notification_set_hint_int32(notification, "value", (gint)as->volume);

     // Update the notification icon
-    notify_notification_update(notification, PROGRAM_NAME, NULL, icon_name);
+    notify_notification_update(notification, PROGRAM_NAME, as->sink_name, icon_name);

     // Show the notification
     notify_notification_show(notification, NULL);
diff --git a/src/pulse_glue.c b/src/pulse_glue.c
index bb73ccd..45efc43 100644
--- a/src/pulse_glue.c
+++ b/src/pulse_glue.c
@@ -204,6 +204,7 @@ static void sink_info_cb(pa_context *c, const pa_sink_info *info, int eol, void
     audio_status *as = shared_audio_status();
     as->volume = volume * 100.0 / PA_VOLUME_NORM;
     as->muted = info->mute ? TRUE : FALSE;
+    as->sink_name = g_strdup(info->description);

     // Update the tray icon and the volume scale
     update_tray_icon();
-- 
2.34.1

integer0 commented on 2021-11-30 23:15 (UTC)

Seems to be working pretty clean for me.

This is in dwm with the systray patch. Media keys doing their thing, too.

k4rakara commented on 2020-08-26 19:21 (UTC)

Welp, it seems that the package just can't set the volume keys anymore, and for some reason it wasn't appearing in my tray. Nonetheless, I guess I'll maintain this package for the time being.

k4rakara commented on 2020-08-26 18:45 (UTC)

I'll work on fixing this package, seeing as the original maintainer just disowned it.

k4rakara commented on 2020-08-26 17:06 (UTC)

Not sure if this is an issue of pa-applet itself or of this package, but when I updated my system, pa-applet no longer starts. Running pa-applet from the CLI results in the following errors:

Failed to grab XF86AudioRaiseVolume
Failed to grab XF86AudioLowerVolume
Failed to grab XF86AudioMute

jkhsjdhjs commented on 2019-06-15 15:30 (UTC)

@n-st automake is a member of the base-devel group, which is assumed to be installed when building packages: https://wiki.archlinux.org/index.php/PKGBUILD#makedepends