
On 21/01/2022 13.36, tooth pik wrote:
do you have mplayer? it's how i make a sound from a script, works flawlessly
Just installed it. It works (as user), but barely audible. I don't see how to control the volume in "mplayer --help". As root, no play. Erebor4:~ # mplayer /usr/share/sounds/freedesktop/stereo/bell.oga ... AO: [pulse] Init failed: Connection refused Failed to initialize audio driver 'pulse' [AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused [AO_ALSA] Playback open error: Connection refused Failed to initialize audio driver 'alsa' ... Erebor4:~ # su - cer -c "mplayer /usr/share/sounds/freedesktop/stereo/bell.oga" ... AO: [pulse] Init failed: Connection refused Failed to initialize audio driver 'pulse' [AO_ALSA] alsa-lib: pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.3 x86_64 (Erebor-4))