I have Polk Hampden speakers on my System76 desktop here. The sound is great, but if no sound plays for ~15 minutes, it goes into a power saving mode where no sound plays until there is about 8 seconds of audio again. So notifications, incoming calls etc. are all muted whether I want them to or not.
One guy on the polkaudio forums created a script on Windows that plays a 20Hz tone for 10 seconds every 15 minutes that seems to fix the problem.
So I created a 20 Hz .mp3 that lasts for 15 seconds (20Hz.mp3
), I installed mpg123
and verified that this command works:
mpg123 ~/20Hz.mp3
What's the best way to execute this command in the background every 15 minutes?
sleep 900
. Then it would become possible to introduce this script as a service in systemd: https://askubuntu.com/a/1303177/1157519 That way probably it could be enabled / disabled as desired through systemctl. | Anyone reading this please feel free to educate me about what might be wrong with this. – Levente Jan 09 '21 at 20:47