Get Pulseaudio Output Working:If desired, you can also output using Pulseaudio - keep in mind though that ALSA is bit-perfect. I'd
highly recommend sticking with ALSA instead of Pulseaudio since Pulseaudio requires resampling to one sample rate, but if you wish to use Pulseaudio for whatever reason you'll need to set it up...
Pulseaudio *should* work out-of-the-box on Ubuntu 14.04+/Linux Mint 17+ 64-bit however if you want to cover all your bases on getting Pulseaudio working try the following commands in a Terminal by either typing the following command or copying and pasting the command in and press Enter (you *may* be prompted for your password);
sudo apt-get install libasound2-plugins
NOTE: You don't need to use this command in
Ubuntu 15.04 Vivid Vervet 64-bit.
Just open Media Center up, go to Tools > Options > Audio > click the Device settings... button and select pulse as the output device but keep in mind you may need to specify the default output device Pulseaudio uses via the pavucontrol utility.
Setting Default Pulseaudio Device Via PulseAudio Volume Control (pavucontrol):When trying to use the Pulseaudio output in Media Center, you might find yourself with this type of error when trying to play music...
This means the correct output device for Pulseaudio isn't being used, thus why this error is encountered. Fortunately, there's a way to fix this. Open up a Terminal window and either type the following command or copy and paste the command in and press Enter (you *may* be prompted for your password);
sudo apt-get install pavucontrol
After installing, either start PulseAudio Volume Control by typing pavucontrol into the Terminal or by typing in Pulseaudio into the Unity dash until you see PulseAudio Volume Control. Once open, you'll want to go to the Configuration tab like seen here;
Notice how there's multiple output devices listed here? I used my old AMD machine just for this example and left onboard audio enabled for this example. As seen above, what I want to use as the default is my old Xonar STX card aka Virtuoso 100. In this example, to set this card up I setup the Configuration tab to the following...
And take a look at the Output Devices tab now. See how it's using the Virtuoso 100 as the default device?
Remember, this is an example with my old Xonar STX sound card. Please setup your device(s) accordingly for your own needs! And if desired setup your input devices via the Input Devices tab! If everything looks good, try playing music through pulse again in Media Center. If sound works, congrats, you have working sound via pulse!
How To Remove Media Center 19 and Media Center 20If you've updated from Media Center 19 to Media Center 20, you might find yourself with two versions of Media Center installed. Since Media Center 20 is a free upgrade from Media Center 19, it's recommended you backup your settings in Media Center 19 (to somewhere you can find it, e.g. Desktop) and remove Media Center 19.
Step 1: Backup your library and settings.
Read the wiki article on how to backup your library and settings.
Step 2: Open a Terminal and input the following (you *may* be prompted for your password - answer yes when it prompts!);
sudo apt-get remove mediacenter19
Now, if you want to remove Media Center 20, just repeat step 1 and use this command instead;
sudo apt-get remove mediacenter20
If all goes well, your Media Center 19/20 installation(s) should be removed.
Enabling Copy And Paste BuffersCurrently Media Center 20 for Linux supports one copy and paste buffer system (cut buffers) and it can be challenging to use. For further information please read Bob's topic about this
here (I HIGHLY suggest you do!). The current downside is I've not found a working way to add these copy and paste commands to the X startup scripts for Ubuntu/Mint. I'll continue looking into this but for those who want copy and paste working only while Media Center 20 is open, this is the best way to do it.
Step 1: Close MC20 if its open and open a Terminal window and input the following (you *may* be prompted for your password);
sudo apt-get install autocutsel
Step 2: Once this is installed,
leave the Terminal open and input the following;
autocutsel -fork &
Again, make sure to
leave the Terminal open and input the following;
autocutsel -selection PRIMARY -fork &
Remember to leave the Terminal with the commands running open for as long as you need copy and paste functionality. If you close the Terminal you'll lose the ability to copy and paste!Step 3: Open MC20 and you should be able to successfully copy and paste.
Once you're done with copy and paste, close the Terminal window. To re-enable copy and paste, just follow step 2 again.
Tutorial changelog:3.2 (06-01-2015): Updated for the new build method MC uses - install process is now simplified!
3.1 (05-18-2015): Changed the wording and updated the tutorial.
3.0 (05-14-2015): Heavily updated all the tutorials - I also removed all the dependencies as they'll be installed alongside mediacenter20. 32-bit
may be supported, but needs testing!
2.2 (04-23-2015): Dropped Ubuntu 14.10 in favor of Ubuntu 15.04.
2.1 (04-16-2015): Added Ubuntu 15.04 support with a workaround to install the required libgcrypt11.
2.0 (03-15-2015): Tutorial has been rewritten and simplified. Lots of various changes!
1.8 (03-03-2015): Updated the tutorial specifying libgl1-mesa-glx:i386 and libgl1-mesa-glx as dependencies for Ubuntu 14.10 64-bit/32-bit. Also specified libgl1-mesa-glx-lts-utopic:i386 and libgl1-mesa-glx-lts-utopic as dependencies for Ubuntu 14.04.2 LTS 64-bit/32-bit (as they're apparently needed to avoid broken packages in Ubuntu 14.04.2).
1.7 (02-24-2015): Added APT repository tutorial and updated Media Center 20 links to the latest.
1.6 (02-24-2015): Added tutorial for removing Media Center 19 and Media Center 20.
1.5 (02-01-2015): Added tutorial for restoring a license, using copy and paste and updated the links
1.4 (11-10-2014): Added Linux Mint, updated links to the latest MC20 build and added a quick tutorial on updating Media Center 20 builds via the terminal
1.3 (10-23-2014): Updated for Ubuntu 14.10 and updated links
1.2 (08-12-2014): Updated for Media Center 20 + new requirements
1.1 (04-22-2014): Pulseaudio + pavucontrol information and screenshots added
1.0 (04-22-2014): Updated to reflect and require Ubuntu 14.04 LTS, updated dependencies and various fixes/changes
0.7 (03-15-2014): Updated stuff!
0.6 (02-04-2014): Updated Ubuntu 32-bit tutorial
0.5 (01-29-2014): Updated the kernel links to 3.13.1
0.4 (01-28-2014): Modified and cleaned up the formatting
0.3 (01-28-2014): Added AMD HDMI audio tutorial
0.2 (01-28-2014): Added Ubuntu 32-bit tutorial (still experimental, will need to check a couple more times)
0.1 (01-27-2014): Initial tutorial for Ubuntu 64-bit