The officially official Devuan Forum!

You are not logged in.

#1 2024-06-13 19:22:26

webman
Member
Registered: 2022-08-27
Posts: 45  

Need acoustic signalling (sound) where only root account is present

Hello!
How can I send sound from scripts or services, running at root?
Know not much about this, but pulseaudio seems to be a problem.
Although I found this:

pulseaudio --start --log-target=syslog --system

BUT, this is systemd, or not?
The man file says:

--system[=BOOL]
              Run as system-wide instance instead of per-user. Please note that this disables
             certain features of ..... (without mentioning them!)

So it is unclear about this!
Just an "aplay <file>" would enough for me!

Probably remove pulse and install pipewire?
Woudl they run without something like the
xdg-desktop(-portal) and can I remove these?

Thanks,
Manfred

Offline

#2 2024-06-14 00:52:14

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,485  

Re: Need acoustic signalling (sound) where only root account is present

Remove pulseaudio and just use alsa. aplay should work just fine for that.

I suppose you could use pipewire if you know about that. I don't.

Offline

#3 2024-06-15 20:39:37

webman
Member
Registered: 2022-08-27
Posts: 45  

Re: Need acoustic signalling (sound) where only root account is present

Hello!
Thanks, will try that!
--br,
Manfred

Offline

Board footer