Hey guys it looks like I have a final solution for this problem. My both ubuntu computers are working without this **** called pulseaudio also icon in notification area works and volume bar too.
Also my friend help me resolve volume keys problem. SO :
My ubuntu is 9.10 on big computer and 10.04 on notebook.
Zoot7 wrote a great article in this formum how to recompile panel applets to include volume applet, just one o two improvements, so step by step:
At first say goodbye to pulseaudio:
Code:
sudo apt-get purge pulseaudio
... now reboot the computer to let changes take effect and after reboot we can continue with game.
... ALSA should take control over the soundsystem after this reboot, my experiences are that sound works (also sound from multiple sources at one time) you do not need to install anything and can continue to next steps ... if no, lot of posts are i this thread describing how to get sound working using ALSA, after that you can come back and continue
Open console:
satisfi depencies:
Code:
sudo apt-get install devscripts build-essential fakeroot
Code:
sudo apt-get build-dep gnome-applets
CD to your home directory:
Make directory called for example "build":
CD to this directory:
get source code
Code:
apt-get source gnome-applets
Then you're going to have to specify the configure options to enable the mixer applet. To do that:
... Look for the line that starts with
Code:
DEB_CONFIGURE_EXTRA_FLAGS +=
(in my case there were two lines with this, but I edited only the first and it was enough) and add another option to this line:
Code:
--enable-mixer-applet
OK now trick from me... When you klick sound icon in tray (!! I mean notification area NOT indicator applet, maybe icon will appear in indicator applet too but I haven't tried it ...) the widnow with volume bar will appear. Also there is button called "Volume control" and here is the point of joke.
By clicking this button your system want to open "gnome-volume-control" ("system >> preferences >> sound" for better imagine) which is not working because you purged pulseaudio.
But it is possible to resolve this by editing this source file:
Code:
gedit mixer/applet.c
search for:
Code:
gnome-volume-control
(it is only expression in file like this, in my case line number 707) and rewrite it to any command you like, I used:
which is program - mixer from repos and can be installed by:
Code:
sudo apt-get install gnome-alsamixer
... now save and close and follow to next steps ...
now we are going to build .deb packages
first install this (i get error first time, something about gstreamer inproper version i dont remember)
Code:
sudo apt-get install libgstreamer-plugins-base0.10-dev
now build debs
Code:
dpkg-buildpackage -b -j4 -D
compiling takes me about 10 minutes, after that finish CD one directory up
leave console (terminal) opened and just for sure open file browser (nautilus) in your build directory and check if there are three .deb packases named gnome-applets-"something", but no reason why shouldnt ... so continue ...
Now we can go for beer, we are close to finish ...instal this debs by
...restart GDM after this (logout/login will be enough to do it)
...now FINALLY right click on panel >> add to panel >> you should see volume control somewhere ... that's it
... oops I forgot ... It's good to not allow update-manager or something another to overwrite this packages so go to system >> administration >> synaptic and search for this packages:
gnome-applets
gnome-applets-data
gnome-applets-dbg
... and lock them (mark package, from upper menu: package >> lock version, apply for all three packages)
In next post I want to explain using multimedia keys / function keys and notifications
Bookmarks