First Open a text editor and enter the following:
- Code: Select all
# Author: Aduka
# Date: 9/28/09
# Contact: firstname.lastname@example.org
# Created to apply a fix for audio errors on bootup.
gksu 'killall pulseaudio'
gksu 'alsa force-reload'
What this is going is basically entering sudo killall pulseaudio and sudo alsa force-reload for you. You should have something like this:
Once you have that, save it as anything you want. For Example: SoundFIX.sh. I keep mine on my desktop, but you can save it anywhere you like. Just remember where you put it.
Once you have that done, right click it and select Properties -> Permissions -> tick allow executing file as program -> close.
Should look something like this:
Once you have that done, simply click on the file and select run. When prompted enter your password and you're done.
This is not a permanent fix for this sound error. It is only a quick fix for the time being until something better can be found.
You have to do this at each boot up. It isn't automatic from this point on. Example: You reboot, you log in to no sound. Click on the script and run it.
Couple of pointers:
I've noticed at times my sound will be muted after doing this. Make sure you un-mute your sound as you normally would and turn up your volume. I'm looking to see what I can find to remedy this, but for the time being that will have to be manual. Also, you could more than likely put this file in another directory and run it from a launcher on your bar for ease of access and removing clutter from your desktop. I'll post that information shortly.