regolith-linux / regolith-i3xrocks-config

Regolith customization of i3xrocks.
Other
29 stars 49 forks source link

Volume blocklet broken on Ubuntu 24.04 due to migration to Pipewire instead of Pulseaudio #152

Open peterrus opened 2 months ago

peterrus commented 2 months ago

Primarily documenting in case someone else runs into this:

The blocklet only displays a loudspeaker icon and some blank space and cli

My syslog shows:

regolith-session-x11[40941]: Specify a scontrol identifier: 'name',index
regolith-session-x11[40944]: Specify a scontrol identifier: 'name',index
regolith-session-x11[40956]: Specify a scontrol identifier: 'name',index
regolith-session-x11[40959]: Specify a scontrol identifier: 'name',index
regolith-session-x11[41109]: ALSA lib control.c:1570:(snd_ctl_open_noupdate) Invalid CTL pulse
regolith-session-x11[41109]: amixer: Mixer attach pulse error: No such file or directory

I am fairly sure this is caused by an absence of Pulseaudio since Ubuntu 24.04 switched to Pipewire. Fixing this would mean building in support for Pipewire in https://github.com/regolith-linux/regolith-i3xrocks-config/blob/master/scripts/volume