On 9/19/23 21:41, Masaru Nomiya wrote:
Please use pactl, included in pulseaudio-utils. 1. get the device name by; $ pactl list short sources
Hmmm... Installation of pipewire removes pulse-audio, so there is no pactl on the system. Instead pipewire provides wpctl (wire plumber) that does show the volume at 0.25 (which is correct for the volume at 62%), e.g. $ wpctl status PipeWire 'pipewire-0' [0.3.49, david@wizard, cookie:816854696] └─ Clients: 31. Firefox [0.3.49, david@wizard, pid:14100] 32. WirePlumber [0.3.49, david@wizard, pid:14229] 33. WirePlumber [export] [0.3.49, david@wizard, pid:14229] 53. Thunderbird [0.3.49, david@wizard, pid:14766] 54. wpctl [0.3.49, david@wizard, pid:21386] 55. Firefox [0.3.49, david@wizard, pid:14100] Audio ├─ Devices: │ 41. GF104 High Definition Audio Controller [alsa] │ 42. Built-in Audio [alsa] │ ├─ Sinks: │ * 45. Built-in Audio Analog Stereo [vol: 0.25] <snip> It looks like it can be used in a similar manner with "set-volume ID VOL", so something like $ set-volume 45 .25 works! -- David C. Rankin, J.D.,P.E.