You are not logged in.
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
Firefox uses libcanberra for system event sounds. Is it installed? If not...
sudo pacman -S libcanberra libcanberra-pulse
Offline
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