How to completely remove pulseaudio from system

Today is my lucky day. I am not a fan of pulseaudio or systemd and finally I found out how to completely remove pulseaudio from systems Debian/Ubuntu and variants. To get sound working I did as follows.

$ sudo killall pulseaudio
$ sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio paman pavumeter pavucontrol
$ sudo mv /etc/asound.conf /etc/asound.conf-bak
$ rm ~/.pulse-cookie
$ rm -r ~/.pulse

Reboot. Then install:

$ sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0
$ sudo apt-get install gstreamer1.0-alsa

To clean the system files then run:

$ sudo apt-get autoremove

After next reboot you will get normal sound without distortion, cracking noises and wasted CPU. And I ran alsamixer to unmute the audio controls.

Even skype started working properly.

Additionally - replace Volume Control Command in PNMixer with:

$ xfce4-mixer

or any other mixer you like.

To get xfce4-volumed working, you should start xfce4-mixer and add all audio channels you wish to manipulate. Then you should run:

$ xfconf-query -c xfce4-mixer -p /active-track --create -t string -s "Master"

You may replace “Master” with any other auido channel. Command shows xfce4-volumed which channel you are interested in. After restart volume control works as expected.

Be excellent to each other!

*English post

0 comentarios:

Publicar un comentario