Fix Sound setup on MXLinux

Slightly modified from the original MakeTechEasier article: How to fix Kali’s sound issue

Getting audio output is a simple enough process with a little bit of effort. The first thing to do is kill all existing sound services to prevent any conflicts for the later stages of this guide. This can be done via the Terminal by entering the following command:

  • sudo killall pulseaudio

This will enable the next step which is to remove Pulseaudio completely:

  • sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio paman pavumeter pavucontrol

We will be returning to Pulseaudio later on. However, it is wise to use apt-purge as opposed to apt-remove because this ensures that the configuration files are removed to prevent conflicts.

Next, we need an alternative to the absent Pulseaudio. This is where Alsa and its drivers can be used. Alsa-base is a set of configuration files that allow the driver to be used by the Kernel. Linux 2.6 was shipped with the drivers needed for the majority of sound cards.

Install Alsa with the following:

  • sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0 gvfs-backends

Now that Alsa is installed, we need some way to control it. KMix is a good way to do this.

  • sudo apt-get install kmix

At this point, it is wise to reboot so that KMix and Alsa will load. Once the small volume control, KMix, is installed, we can return to Pulseaudio.

  • sudo apt-get install pulseaudio

The final step is to install Gnome-Core. This gives several vital packages and components for desktop environments. You can install it by typing this into the Terminal:

  • sudo apt-get install gnome-core

Note: Sound patch has the following dependency for sound (gvfs-backends)