Ubuntu – Ubuntu 12.04 64x Alert Sounds dont work


When using Ubuntu 12.04 i've aquired the need to use the system Alert Sounds.

I've been trying to make my SSH Shell play Alert Beeps ( "\a" ) back to me, but to no avail,
I finally figured out that it's not the ssh session itself, but the Alert Sounds altogether.

I've tried almost all the solutions out there, these have no result

Ubuntu Tweaks
echo -e "\a"
Turning up the volume in System Settings -> Sounds -> Sound Effects
/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
Changing the default Alert Sounds set to Ubuntu
Copying files in /usr/share/sounds/ubuntu/stereo to /usr/share/sounds

What i have noticed

/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"

returns "Option parsing failed: Cannot open display:"


returns ":0"

Going into System Settings -> Sounds -> Sound Effects and clicking on a sound makes it play, but when actually asking for the alert sound it wont play

The sounds wont play in "Guest" or other users either.

I'm using Gnome-Classic from package Gnome-Shell, but it also does not work in the default unity shell

Everything I have tried to get it to work returns no sounds whatsoever

Can anyone help me out with this one? I'm completely lost as to what else to try

Best Answer


sudo modprobe -v pcspkr 

Then this should make a sound:

echo -e "\a"