On 21/01/2022 13.50, Masaru Nomiya wrote:
[CER] == "Carlos E. R." <> has written:
For oga files, it is best to use ogg123, which is included in vorbis-tools.
Thanks. It runs, but I hear nothing. cer@Erebor4:~> ogg123 /usr/share/sounds/freedesktop/stereo/dialog-warning.oga Audio Device: PulseAudio Output Playing: /usr/share/sounds/freedesktop/stereo/dialog-warning.oga Ogg Vorbis stream: 2 channel, 44100 Hz Done. cer@Erebor4:~> Fails as root: Erebor4:~ # su - cer -c "ogg123 /usr/share/sounds/freedesktop/stereo/dialog-warning.oga" Audio Device: PulseAudio Output Playing: /usr/share/sounds/freedesktop/stereo/dialog-warning.oga Ogg Vorbis stream: 2 channel, 44100 Hz ERROR: Cannot open device pulse. Erebor4:~ # Runs this way, but I hear nothing: Erebor4:~ # sudo -u cer env XDG_RUNTIME_DIR=/run/user/1000 ogg123 /usr/share/sounds/freedesktop/stereo/dialog-warning.oga Audio Device: PulseAudio Output Playing: /usr/share/sounds/freedesktop/stereo/dialog-warning.oga Ogg Vorbis stream: 2 channel, 44100 Hz Done. Erebor4:~ # The volume is cranked to maximum, and now even with vlc as user I hear nothing - before it worked. But as VLC has a volume control and the GUI does not close automatically, I touch it a micra, and now I have sound with vlc. still no sound with ogg123 -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.3 x86_64 (Erebor-4))