How to remove PulseAudio from Ubuntu 9.10
Disclaimer: This guide is not for ordinary Ubuntu users. It is for
Linux hackers, for freedom-fighters, for partisans of the freedom of
choice, for paranoids who want to reduce security risks by removing
PulseAudio, and, of course, for audiophiles, for Skype users, for
Audacity users who are concerned with the quality of audio recordings,
for owners of netbooks or old computers, and for those who want to
help the blind (this is, for Edgar and the like).
If you want to learn the art of hacking, you may better install
another Ubuntu (in dual/multiple boot) on the same computer and make
there any exotic experiments you want.
For multiple boot, you may need this manual with pictures:
Modify Your Partitions With GParted Without Losing Data
http://www.howtoforge.com/partitioning_with_gparted________________________________________________________________________________________
Popular Misconceptions
There are myths and rumours that many multimedia applications require
PulseAudio, for example:
"Myth: Skype now requires PulseAudio."
According to Skype developers, Skype does not require PulseAudio:
http://share.skype.com/sites/linux/2009/09/some_explanations.htmlQUOTE:
Myth: Skype now requires PulseAudio.
No, it does not. If you run ldd on skype binary you will not see any
references to libpulse, because we load it at run-time. This means two
things:
1) If you do not have pulse installed, skype will happily work with alsa.
2) If you have pulseaudio autospawn enabled (default on most distros),
even if you shut down pulseaudio manually or remove it from autostart
menu, it will be launched once skype attempts to play a sound.
End of QUOTE.
Notice that Skype is "closed source".
If an "open source" application does not work without PulseAudio, this
bug will be immediately reported to Debian, and it will be recompiled
in a proper way.
Currently, Gnome Volume Control does not work without PulseAudio on Ubuntu 9.10
But you can use "xfce4-mixer" instead of Gnome Volume Control.
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
How the Berlin Wall was built
The Ubuntu developers simply removed certain applications from Ubuntu
9.10 Repositories.
This was made, of course, unintentionally. It was a kind of mistake, no doubt.
To be exact, these applications were removed:
gnome-sound-properties
asoundconf
They are going to remove "asoundconf-gtk" as well. Why not? It does
not work without "asoundconf":
Please remove asoundconf-gtk from the archive (asoundconf script has
been removed)
https://bugs.launchpad.net/ubuntu/+source/asoundconf-gtk/+bug/378675You need "gnome-sound-properties" to configure your sound settings
after the removal of PulseAudio.
The script "asoundconf" is, of course, for ALSA users only. You do not
need it with OSS4.
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Part 1: Eradication of the evil
sudo killall pulseaudio
cp /etc/X11/Xsession.d/70pulseaudio ~/
sudo apt-get purge pulseaudio
sudo apt-get remove gstreamer0.10-pulseaudio
sudo reboot
---------------------------------------------------------------------------------------------
[optional] Since Gnome Volume Control does not work without
PulseAudio, you may want to install these mixers:
sudo apt-get install xfce4-mixer
sudo apt-get install aumix-gtk
After installation, you may find them in Ubuntu Menu:
Applications -> Sound & Video -> Mixer
Applications -> Sound & Video -> aumix
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Part 2: Installation of "gnome-sound-properties"
Step 1.OA: (optional) To make life more comfortable, you may want to
install these plugins for Nautilus:
sudo apt-get install nautilus-gksu nautilus-open-terminal
Step 2.OA: Borrow "gnome-sound-properties" from Ubuntu 9.04
Download Debian package "gnome-control-center" from Ubuntu 9.04 Repositories
http://packages.ubuntu.com/jaunty/gnome-control-centerOpen this Debian package with Archive Manager and extract this file:
gnome-sound-properties
Path in the deb-archive:
/gnome-control-center_2.26.0-0ubuntu3_i386/usr/bin/gnome-sound-properties
Step 3.OA: Borrow "sound-properties.glade" from Ubuntu 9.04
Download Debian package "capplets-data" from Ubuntu 9.04 Repositories
http://packages.ubuntu.com/jaunty/capplets-dataOpen this Debian package with Archive Manager and extract this file:
sound-properties.glade
Path in the deb-archive:
/capplets-data_2.26.0-0ubuntu3_all/data/usr/share/gnome-control-center/glade/sound-properties.glade
Step 4.OA: Install "gnome-sound-properties" into Ubuntu 9.10
sudo cp gnome-sound-properties /usr/bin/
sudo mkdir /usr/share/gnome-control-center/glade/
sudo cp sound-properties.glade /usr/share/gnome-control-center/glade/
Now you can run "gnome-sound-properties" and configure Gnome Sound
Settings how you want.
Just type on Terminal:
gnome-sound-properties
You can insert this command to Application Menu, or create a launcher
on the Gnome Panel.
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Part 3: (optional) Installation of Open Sound System (OSS4)
Now you can install OSS4, following the official guide:
https://help.ubuntu.com/community/OpenSound(optional) How to install Skype with OSS4 on Ubuntu 9.10
Download "skype-static-oss" here:
http://packages.medibuntu.org/jaunty/For i386, take these packages:
http://packages.medibuntu.org/pool/non-free/s/skype/skype-common_2.0.0.72-0medibuntu4_all.debhttp://packages.medibuntu.org/pool/non-free/s/skype/skype-static-oss_2.0.0.72-0medibuntu4_i386.debInstall them with this command:
sudo dpkg -i skype-static-oss_2.0.0.72-0medibuntu4_i386.deb
skype-common_2.0.0.72-0medibuntu4_all.deb
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Part 4: (optional) Installations of ALSA tools (this is for ALSA users only)
Step 1.A: Install "asoundconf-gtk"
sudo apt-get install asoundconf-gtk
Step 2.A: Borrow "asoundconf" from Ubuntu 9.04
Download Debian package "alsa-utils" from Ubuntu 9.04 Repositories
http://packages.ubuntu.com/jaunty/alsa-utilsExtract the script "asoundconf" from alsa-utils*.deb with Archive Manager
Step 3.A: Install "asoundconf" into Ubuntu 9.10
sudo cp asoundconf /usr/bin/
Now ALSA users can run "asoundconf-gtk" and configure their soundcards.
Type on Terminal:
asoundconf-gtk
You can insert this command to Application Menu, or create a launcher
on the Gnome Panel.
Step 4.A: (optional) To make life easier, some ALSA users may want to
install ESound
sudo apt-get install -y esound esound-clients esound-common libesd-alsa0
sudo reboot
Do not forget to reboot the system after the installation of ESound.
Now you can install multimedia applications and codecs, following these guides:
http://shibuvarkala.blogspot.com/2009/04/howto-make-ubuntu-904-jaunty-jackalope.htmlhttp://ubuntuforums.org/showthread.php?t=766683Enjoy!
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist