Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] dbus-common: Use audio-speakers icon for speakers
@ 2026-09-25 21:30 Nate Mendes
  2026-09-25 23:03 ` [BlueZ] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Nate Mendes @ 2026-09-25 21:30 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Nate Mendes

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-25 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25 21:30 [PATCH BlueZ] dbus-common: Use audio-speakers icon for speakers Nate Mendes
2026-09-25 23:03 ` [BlueZ] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox