Audio is working, but the speaker test doesn't work
Emily Wong
I've installed Ubuntu 12.04 LTS from a minimal cd on a netbook (Asus 1001 PXD).
I've installed the ubuntu-desktop package using the --no-install-recommends option.
Everything works fine, except the "sound test" for headphones or analog speakers.
Clicking on the "test" buttons (front left and front right) I don't hear any sound. Despite this, the audio is working properly.
I've checked the audio levels with alsamixer; I have also checked that the test sounds actually exist in /usr/share/sounds/alsa.
I tried an installation of Ubuntu 12.04 LTS made with the desktop-cd, and in this case the speaker test works properly.
I suppose, therefore, that the problem could depend on the lack of a package, but I have not identified which one.
3 Answers
I've found the solution:
it is needed to install the libcanberra-pulse package, that is recommended for the gnome-session-canberra package, which is one of the packages on which depends ubuntu-desktop.
I had the same problem after updating to Ubuntu 20.04. and rebooted.
I solved using:
sudo apt-get install -y libcanberra-pulse
Not a permanent solution, but I've had really weird behaviour on Ubuntu 20.04 in which chrome would play sound, when I adjust volume it would make the "tok tok tok" sound, but firefox and the speaker tests in settings both didn't work. It was driving me crazy but I realized it seems to have to do with the fact that I'm using a thunderbolt cable with multiple screens. When I unplugged and replugged that in it solved the problem.
No idea what the underlying problem was, but seems to try to route the audio through the thunderbolt incorrectly for certain applications.