Random Linux

Linux, video games and web hosting

Sometimes after installing XFCE/Xubuntu along side Ubuntu LightDM the configuration for your present and active sound devices will get overwritten or removed. The first thing you should do is go to “Application Menu -> Multimedia -> Pulse Volume Control” Click the “Configuration” tab and check what audio devices it is listing. If it doesn’t display any skip to the section titled “Update”.





Output Devices

Output Devices


If it shows your sound devices click the “Output Devices” tab and make sure the sound device which should be outputting sound is not muted and that it has “Speakers” or “Headphones” in the “port” dropdown box which ever the case may be. Your sound should be functional now



If the “Configuration” tab doesn’t show any of your audio devices run the following commands from a terminal window.

killall pulseaudio; rm -r ~/.config/pulse/* ; rm -r ~/.pulse*
If it says it couldn't remove the files in question it means pulse never created them when it was loaded. 

Now run the following commands from terminal, once they have completed reboot your computer, once you are back in XFCE open “Pulse Volume Control” and  follow the directions from the section titled Check.

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop  linux-image-`uname -r` libasound2; sudo apt-get -y –reinstall install linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop  linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e ‘^pulse:’ -e ‘^audio:’ -e ‘^pulse-access:’ -e ‘^pulse-rt:’ -e ‘^video:’ | awk -F: ‘{print $1}’ | tr ‘\n’ ‘,’ | sed ‘s:,$::g’` `whoami`


October 28th, 2013

Posted In: General, How To

Tags: , , , , , , , , , , , , , , ,

Leave a Comment

Having trouble with sound not playing properly (sounding garbled or staticy) or have no sound at all when using wine? There are two  solutions which should resolve this issue for you quickly.

The first is using winetricks to change your sound driver to ASLA rather than using the default pulse audio drivers.

winetricksFrom the application launcher open winetricks, if you do not have winetricks installed you can do so quickly using the ubuntu software center or the SynapticPackage Manager.





defaultOnce you have opened winetricks select the default prefix or the prefix of whichever virtual instance you are having sound issues with.





changesettingsOnce you have selected the prefix you need to change select “change settings” from the menu and a list of configurable settings will be displayed.





alsaOnce the settings menu comes up you are going to scroll down until you find the setting “sound=alsa” select this and click “Ok”. Your sound should now be working and clear.





Another way to resolve this sound issue is to install ia32-libs and ia32-libs-multiarch through synaptic package manager. These two packages will also update a number of packages relating to pulse sound. Once you have installed these packages you will need to reboot to load the new libraries. It is important that you reboot and not just log out. Logging out will not load the updated libraries.

Once rebooted your sound should be working properly in wine.

October 9th, 2013

Posted In: How To

Tags: , , , , ,

Leave a Comment