regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Volume percentage not visible

Open lcswillems opened this issue 1 year ago • 4 comments

Describe the bug The volume percentage is not displayed.

image

To Reproduce No idea... Earlier today the percentage was being displayed.

Expected behavior The percentage should be displayed.

Installation Details

  • Regolith Install Stage: stable
  • Regolith Version: 3.2
  • Host OS: Ubuntu 24.04

lcswillems avatar Dec 01 '24 00:12 lcswillems

So earlier today the percentage was displayed. Then I tried to install sway compositor. Then I disabled and switched back to i3. But this time the volume % was not displayed anymore.

Also, I chatted with Claude and his guess is that before PulseAudio was being used for retrieving the volume and now it is pipewire and amixer

lcswillems avatar Dec 01 '24 00:12 lcswillems

I resolved the issue by doing:

sudo apt install pulseaudio

But I'm not sure it is the correct thing?

lcswillems avatar Dec 01 '24 01:12 lcswillems

Worked for me as well, thanks 👍

sqanch avatar Jan 27 '25 14:01 sqanch

pulseaudio already installed here but I'm using pipewire with alsa (?... I guess I have a mess here but audio works fine).

Both microphone and speaker indicators don't display levels or react to mouse scroll like they used to.

garyritchie avatar Feb 20 '25 13:02 garyritchie

Having the same issue, running Ubuntu 24.04 with pipewire. Have pipewire-pulse installed as well.

Running i3bar I can see errrors

ALSA lib control.c:1570:(snd_ctl_open_noupdate) Invalid CTL get
amixer: Mixer attach get error: No such file or directory
Specify a scontrol identifier: 'name',index

RonnyLV avatar Mar 30 '25 16:03 RonnyLV

So the problem seems to be with the MIXER being picked up as pulse

SCONTROL="${BLOCK_INSTANCE:-$(
    amixer -D $MIXER scontrols |
        sed -n "s/Simple mixer control '\([A-Za-z0-9 ]*\)',0/\1/p" |
        head -n1
)}"

The device in case of pipewire is still default. By specifying the xrescat i3xrocks.volume.mixer to default in the ~/.Xresources works now

The same issue persists with the microphone i3xrocks, setting i3xrocks.mic.mixer to default fixes the issue

To fix the issue add following lines to ~/.Xresources

i3xrocks.volume.mixer: default
i3xrocks.mic.mixer: default

fyi @lcswillems

RonnyLV avatar Mar 30 '25 16:03 RonnyLV

That fixed it for me, thanks!

garyritchie avatar Apr 08 '25 14:04 garyritchie