KDE Plasma System sounds.

Hello;

I’ve got SUSE 42.2 Leap 64bit with KDE Plasma desktop. How do you set / alter system sounds?

I downloaded a “Text To Speech” (TTS) engine , flite (festival lite) , https://software.opensuse.org/package/flite
And I want to use speech instead of system sounds.

I guess i’d have to use some kind of shell script ? Any ideas ?

First, I doubt there is any need for TTS, after all you’re not parsing text and mapping to phoenetic sounds… You’re simply trying to remap a system event to a sound file (and play it).

I don’t know if there is a known, reliable way to do this… There are many ways described how to initiate a system beep, but I don’t know of reliable ways to detect the beep event, and then map that event to something else. Of course system events are not the same as other audio streams, ordinarily system beeps are processed at a very basic hardware level intentionally so that it’s functional when there is nothing else functional (hardware or software).

In general,
It seems that to do what you want requires two steps, first to disable the default behavior (so you won’t hear the beep) but not disable altogether… Then do the re-mapping.

There is at least one very early article about 2008 which describes using complz, but AFAIK that audio architecture is no longer used.

Maybe you’ll be able to get started reading the ArchWiki about managing the PC Speaker
https://wiki.archlinux.org/index.php/PC_speaker

It might also be possible to add a line in /etc/inputrc .

On the other hand… Maybe if you’re willing to allow the system beep to happen anyway, then you can build off that(There should be many known ways to detect the audio beep instead of the beep event) and initiate some code that plays your selected sound file. With a little imagination maybe you can come up with something with an integrated beep… like
<beep> - “Hey, what was that beep?”

HTH,
TSU

Have a look at “Configure Desktop” (systemsettings5)->Notifications, in the “Personal Information” section.

I downloaded a “Text To Speech” (TTS) engine , flite (festival lite) , openSUSE Software
And I want to use speech instead of system sounds.

I guess i’d have to use some kind of shell script ? Any ideas ?

A shell script would be a possibility, yes, or just enter the appropriate command. I’m not sure about festival, but if you’d install espeak, something like “espeak hello” should be enough.

Or create a sound file that “speaks” the desired text. :wink:
You only really need a TTS system for speaking dynamic text.

Thanks Wolfi323!!

Good Info…Thanks.