You are not logged in.

#1 2025-10-16 11:09:54

WinnerWind
Member
From: Bangalore, India
Registered: 2024-09-07
Posts: 14
Website

[SOLVED] Firefox doesn't play SFX when Close Tabs prompt is shown

Hi!

I have partial issues with my vision which makes it somewhat difficult for me to use my computer. Because of this, I rely a lot on sounds and other non-visual cues to speed up my computer use.

I have Arch Linux installed with KDE Plasma on both my Laptop and my Desktop computer. I have the "Prompt before closing tabs" option enabled in Firefox. This prevents the tabs from being closed if in case I misclick the close button or fat finger the CTRL Q bind. When this happens, my Desktop computer plays the dialog-information sound effect that is available with most system sound effects. However, my laptop does not play anything. This is not an issue with the SFX itself, other SFX such as notifications and other prompts play just fine. It's just that firefox does not play that sound effect.

How do I go about fixing this?

Last edited by WinnerWind (Today 03:42:23)

Offline

#2 Yesterday 19:18:35

tony5429
Member
Registered: 2006-03-28
Posts: 1,022

Re: [SOLVED] Firefox doesn't play SFX when Close Tabs prompt is shown

Firefox uses libcanberra for system event sounds. Is it installed? If not...

sudo pacman -S libcanberra libcanberra-pulse

Offline

#3 Today 03:41:52

WinnerWind
Member
From: Bangalore, India
Registered: 2024-09-07
Posts: 14
Website

Re: [SOLVED] Firefox doesn't play SFX when Close Tabs prompt is shown

Hi!
I already have Libcanberra installed, but not libcanberra pulse.

soham:~> yay -Qs libcanberra
local/libcanberra 1:0.30+r2+gc0620e4-4
    A small and lightweight implementation of the XDG Sound Theme Specification
soham:~> 

I did some more digging and figured out that Libcanberra is technically GTK based, so using gsettings, I also figured out that the event-sounds parameter was false. I set it to true using this command

gsettings set org.gnome.desktop.sound event-sounds true

and the firefox prompt sound played properly. So I guess this is solved.

Offline

Board footer

Powered by FluxBB