Re: Using external player for system sounds; how do I pass arguments?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx

> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx

> Web mail archive available at

> https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskt

>op.org

____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx

[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux