Since Plasma 6 release, Firefox (Close, Maximize) has sounds... how can i mute this?

I think its time to get rid of this annoying background sounds, that i have since the big Plasma 6 update. :laughing:

I was looking at notification already, but i can’t find a way how to get rid of this background sounds from Firefox Window changes.

It only plays this soundfiles when i Close or Maximize Firefox… reduce or minimize has no sounds and it happen only to the Firefox Window.

Anyone have a idea, how i can mute Plasma/Firefox for this actions?

Hi @Kobold,

I don’t have any notification sounds enabled. (Not to mention, being hard of hearing would have made them pointless anyway.)

So all I can recommend if you check this:

https://i.imgur.com/C8usQnB.png

1 Like

Thank you for the info @Mirdarthos,
unchecked “Enable notification sounds” works to mute the Firefox sound… but it also disable all the other Notification sounds that i like :frowning:

I would expect this soundfiles are linked in: system settings>notifications>applications specific settings…

There are all kind of theme sounds linked to the applications, but strangely its not showing anything on Firefox.

Unfortunately I have no idea how to target a specific application. Maybe there’s something in Window rules.

There is a short thread on Arch forum that could help you
https://bbs.archlinux.org/viewtopic.php?id=293606

1 Like

Thanks for the link:

There was someone posted a command:

ffmpeg -f lavfi -t 1 -i anullsrc=channel_layout=stereo:sample_rate=48000 -y /tmp/silence.ogg

Is this command doing what i think? does it create a empty .ogg file?

I ask this because i don’t want to execute a command that i can’t rate and i don’t want to change system settings with this command.

A empty .ogg file is exactly what i need to replace it with the annoying soundfiles in /usr/share/sounds/

Yes, it creates file in /tmp containing 1 sec of silence

1 Like

It is worth remembering that /tmp is recreated on boot so when the sound is to replace another - it will be a good idea to save it somewhere permanent.

I also noticed the bad behavior when Plasma 6 released, I had some system sounds that were OK, then I enabled one of the sound pack, and there was these annoying sound effects I didn’t want, then I disabled the sound packs but it indeed disabled everything and didn’t get back to how it was. I can’t recall how I did it, but I eventually made it like it was initially with some sound effects but not all for everything possible. I did not mess the the files in the sound packs.

1 Like

Of course he just used the tmp folder only as a universal option for everyone’s system. The goal is to copy the files to replace the soundpack .ogg files

Hopefully your memories coming back soon, i can wait a few days… till i mess around with the soundpack.

1 Like

Here is how it is currently in the System Settings for me:

But I think if I click another sound pack and Apply, then go back to the FreeDesktop sound pack and Apply, it will revert to ALL sound effects enabled (can’t guarantee but I think in my troubleshooting this is what happened back then).

//EDIT: I find probably relevant references to “freedesktop” in these files:

~/.config/xsettingsd/xsettingsd.conf
~/.config/gtk-3.0/settings.ini
~/.config/gtk-4.0/settings.ini

//EDIT2: I do not see the sound files window-maximized.ogg and window-minimized.ogg in /usr/share/sounds/freedesktop/stereo/ so maybe try to enable the FreeDesktop sound pack and see. Reboot afterwards to make sure there is no residual sound/settings after applying FreeDesktop sound pack.

1 Like

No such sounds here.
Using ‘yaru’ sound theme.

1 Like

Another option I thought of yesterday night, is creating a custom theme…the below might help:

https://www.reddit.com/r/kde/comments/1b8wazw/comment/ktsdk7i/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Edit:

And

1 Like