From: Nate Mendes <natemendes13@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Nate Mendes <natemendes13@gmail.com>
Subject: [PATCH BlueZ] dbus-common: Use audio-speakers icon for speakers
Date: Fri, 25 Sep 2026 17:30:32 -0400 [thread overview]
Message-ID: <20260925213032.4011392-1-natemendes13@gmail.com> (raw)
Devices with the Loudspeaker minor class (0x05) currently fall through
to the generic "audio-card" icon, so a Bluetooth speaker is shown as a
sound card.
While "audio-speakers" is not one of the standard icon names [0], it is
implemented in practice by at least the Adwaita, Breeze, Papirus and
elementary themes. PipeWire already maps this minor class to the
speaker form factor and uses "audio-speakers-bluetooth" for the
resulting sink.
[0] https://specifications.freedesktop.org/icon-naming/latest/
Assisted-by: AI
---
src/dbus-common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/dbus-common.c b/src/dbus-common.c
index 5e2c83d52..889927f8f 100644
--- a/src/dbus-common.c
+++ b/src/dbus-common.c
@@ -73,6 +73,8 @@ const char *class_to_icon(uint32_t class)
case 0x01:
case 0x02:
return "audio-headset";
+ case 0x05:
+ return "audio-speakers";
case 0x06:
return "audio-headphones";
case 0x0b: /* VCR */
--
2.55.0
next reply other threads:[~2026-09-25 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 21:30 Nate Mendes [this message]
2026-09-25 23:03 ` [BlueZ] dbus-common: Use audio-speakers icon for speakers bluez.test.bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260925213032.4011392-1-natemendes13@gmail.com \
--to=natemendes13@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox