I want to play system notifications through Pipewire's pw-play due to having some issues with ARtS (high CPU usage, volume spikes when playing multiple sounds - I'll write a bug report later), but if I just specify 'pw-play' as the player in the Knotify settings it only plays one sound at a time, I'm presuming since it's run as a foreground process. I know that you can add an '&' to the end of a command in the terminal to spawn it as a background process, is there a way to do something similar here? 'pw-play &' doesn't work since I'm assuming the file argument is appended to the end (or if the sound data is passed through stdin, idk how this works). Help would be appreciated.
Update: I found a workaround by creating this small script:
#!/bin/sh pw-play --media-role=event "$1" &
and calling that instead of pw-play directly, so now Knotify can play as many sounds simultaneously as it wants. I guess this is solved, then?
On Thursday 05 June 2025 01.09.41 Simon Stockhaus via tde-users wrote:
I want to play system notifications through Pipewire's pw-play due to having some issues with ARtS (high CPU usage, volume spikes when playing multiple sounds - I'll write a bug report later), but if I just specify 'pw-play' as the player in the Knotify settings it only plays one sound at a time, I'm presuming since it's run as a foreground process. I know that you can add an '&' to the end of a command in the terminal to spawn it as a background process, is there a way to do something similar here? 'pw-play &' doesn't work since I'm assuming the file argument is appended to the end (or if the sound data is passed through stdin, idk how this works). Help would be appreciated. ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt op.org