How to enable the S/PDIF output to be permanently active

I don't seem to be seeing the same post that my email notified me of regarding Qasmixer.

That one has been deleted. If you are interested in 'qasmixer'
to control your audiodriver and use the S/PDIF switches:
sudo apt install qasmixer

Interestingly, I have just found out that opening pulseaudio and leaving it running provides a continuous signal and eliminates this issue.

Let me explain some things:

  1. Pulseaudio has powersave build in, the link I gave you explains how to disable that powersave.
  2. Pulseaudio is always running, opening its window doesn't change that (although it might suspend powersave temporarely, I haven't looked into that) .

However, if i close it without realising, I will then miss notifications

You lost me here. What do you mean by 'realising' in this context ? What has this to do with notifications ?

This will be simpler than having to run a inaudible sound file which seem to be solutions for others.

It is not simpler. Playing an inaudible sound is as simple as:

aplay /dev/zero

which you could place in your autostart.

But in your case it would be a better and more elegant solution to switch off powersave as described in the forementioned link. It comes down to this:

In the following two files:
~/.config/pulse/default.pa
/etc/pulse/default.pa

change the lines:
load-module module-suspend-on-idle
to
# load-module module-suspend-on-idle

If you don't know how to do that, run the following in a terminal instead:

sed -i 's|.*suspend-on-idle.*|# load-module module-suspend-on-idle|g' ~/.config/pulse/default.pa
sudo sed -i 's|.*suspend-on-idle.*|# load-module module-suspend-on-idle|g' /etc/pulse/default.pa

save and reboot.

EDIT: fixed a typo

3 Likes