Adding sound to MATE

When I originally wrote up how to install MATE I did not include the packages you need to enable audio play back (my excuse is that I was aiming to install as little as possible).

Fortunately that is easily rectified!

Adding audio support using ALSA

To enable audio playback using ALSA you need to use the command below to install the additional packages required.

# apt-get install alsa-base alsa-utils gstreamer0.10-alsa \
> mate-media-gstreamer mate-media-common mate-media-gstreamer \
> gstreamer0.10-plugins-base gstreamer0.10-plugins-good
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gconf-service gconf2 gconf2-common gstreamer0.10-gconf libaa1
  libavc1394-0 libcaca0 libcdparanoia0 libdv4 libflac8 libgconf-2-4
  libgpm2 libiec61883-0 libjack-jackd2-0 libraw1394-11
  libsamplerate0 libshout3 libspeex1 libtag1-vanilla libtag1c2a
  libtheora0 libv4l-0 libv4lconvert0 libvisual-0.4-0 libvorbisenc2
libwavpack1 mate-media-common
Suggested packages:
  alsa-oss oss-compat gconf-defaults-service libdv-bin gpm jackd2
  libraw1394-doc speex
Recommended packages:
  gstreamer0.10-x libvisual-0.4-plugins sound-theme-freedesktop
The following NEW packages will be installed:
  alsa-base alsa-utils gconf-service gconf2 gconf2-common
  gstreamer0.10-alsa gstreamer0.10-gconf gstreamer0.10-plugins-base
  gstreamer0.10-plugins-good libaa1 libavc1394-0 libcaca0
  libcdparanoia0 libdv4 libflac8 libgconf-2-4 libgpm2 libiec61883-0
  libjack-jackd2-0 libraw1394-11 libsamplerate0 libshout3 libspeex1
  libtag1-vanilla libtag1c2a libtheora0 libv4l-0 libv4lconvert0
  libvisual-0.4-0 libvorbisenc2 libwavpack1 mate-media-common
  mate-media-gstreamer
0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.2 MB of archives.
After this operation, 33.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?

  :
  :
  :

Setting up mate-media-gstreamer (1.8.0+dfsg1-1~bpo70+1) ... 
#

To test that everything is working use the following command to play one of the test sounds installed with the ALSA package.

# aplay /usr/share/sounds/alsa/Front_Center.wav

Note – You may find that the volume is muted by default, you can adjust the volume using the volume control on the ‘Sound & Video’ menu.

Advertisements
This entry was posted in Debian, Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s