[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:multimedia:pulseaudio_non-default [2016/03/19 13:52 (UTC)] – created lonestar | howtos:multimedia:pulseaudio_non-default [2016/05/02 22:26 (UTC)] – linuxrocks123 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | + | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> |
- | ====== | + | ====== |
With the release of the first beta of what will be version 14.2, PulseAudio has been introduced as default audio server in Slackware Linux. | With the release of the first beta of what will be version 14.2, PulseAudio has been introduced as default audio server in Slackware Linux. | ||
Line 21: | Line 21: | ||
Before this moment, there was no technical need for introducing PulseAudio as a basic component of the distribution, | Before this moment, there was no technical need for introducing PulseAudio as a basic component of the distribution, | ||
- | ====== | + | |
+ | ====== | ||
+ | |||
+ | It should be noted that, as PulseAudio is now a basic system component, with many applications directly linked to it, the following procedure for removing PulseAudio is unsupported. It did work for me, though. | ||
+ | |||
+ | In order to remove PulseAudio from your system completely, follow these steps: | ||
+ | |||
+ | < | ||
+ | su | ||
+ | mv / | ||
+ | removepkg pulseaudio | ||
+ | </ | ||
+ | |||
+ | However, after you do this, you will find many applications (mplayer etc) no longer work, because they are linked to libpulse.so.0. | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | cd apulse | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake -DCMAKE_INSTALL_PREFIX=/ | ||
+ | make | ||
+ | su | ||
+ | mv libpulse* /usr/lib64 #or /usr/lib if you are on a 32-bit machine | ||
+ | </ | ||
+ | |||
+ | <note tip> Tip: on a 64 bit machine you could change " | ||
+ | |||
+ | Now your pulseaudio-linked programs will find a fake libpulse.so.0 that nevertheless provides all the symbols they expect and everything that can use ALSA will use ALSA just like it used to. Additionally, | ||
+ | |||
+ | ====== | ||
PulseAudio has become the default audio manager in the distribution, | PulseAudio has become the default audio manager in the distribution, | ||
Line 70: | Line 101: | ||
remove or rename the file ''/ | remove or rename the file ''/ | ||
- | Create a script ''/ | + | Create a script ''/ |
<code bash># | <code bash># | ||
if [ " | if [ " | ||
Line 104: | Line 135: | ||
<code cmake> | <code cmake> | ||
[...] | [...] | ||
- | -DWITH_PulseAudio=BOOL: | + | -DWITH_PulseAudio=FALSE \ |
- | -DPHONON_PULSESUPPORT=FALSE \ | + | -DPHONON_PULSESUPPORT=OFF \ |
[...]</ | [...]</ | ||
Line 134: | Line 165: | ||
Here is an evolving list of common software and required actions: | Here is an evolving list of common software and required actions: | ||
+ | |||
==== mpg123 ==== | ==== mpg123 ==== | ||
+ | |||
This software has been compiled for using Pulseaudio as default output but you can change this by simply adding an option on command-line: | This software has been compiled for using Pulseaudio as default output but you can change this by simply adding an option on command-line: | ||
+ | |||
=== Clementine === | === Clementine === | ||
+ | |||
Clementine audio player requires being compiled with the following cmake options: | Clementine audio player requires being compiled with the following cmake options: | ||
<code cmake> | <code cmake> | ||
[...] | [...] | ||
- | DENABLE_LIBPULSE=NO | + | |
[...]</ | [...]</ | ||
+ | === Audacious === | ||
+ | |||
+ | Also Audacious can be configured to use ALSA even if it's been compiled with PA support. | ||
+ | |||
+ | In Settings-> | ||
====== Sources ====== | ====== Sources ====== |