Using Pipewire instead of Pulseaudio in Slackware 15
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now this whole procedure is included in Slackware
So it is not necessary anymore
The only thing you need to do, to activate pipewire, is (as root):
Code:
# pipewire-enable.sh
And, if you want pulseaudio back
Code:
# pipewire-disable.sh
That's it
Code:
Tue Jan 4 22:51:41 UTC 2022
l/pipewire-0.3.42-x86_64-2.txz: Rebuilt.
Added sample startup files in /etc/xdg/autostart. Thanks to stormtracknole.
Added scripts (pipewire-enable.sh, pipewire-disable.sh) to setup pipewire as
the default multimedia server, or to disable it and return to pulseaudio as
the default. Thanks to stormtracknole and LuckyCyborg for many useful tips.
i ran pipewire-enable.sh also before but it doesn't start
Yes i know but something isn't working and i don't know why
For pipewire.desktop
cat /etc/xdg/autostart/pipewire.desktop
Code:
[Desktop Entry]
Version=1.0
Name=PipeWire Media System
Comment=Start the PipeWire Media System
Exec=/usr/bin/daemon -frB --pidfiles=~/.run --name=pipewire /usr/bin/pipewire
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
So, you must have:
A process named pipewire
Like that:
[Desktop Entry]
Version=1.0
Name=PipeWire Media System
Comment=Start the PipeWire Media System
Exec=/usr/bin/daemon -frB --pidfiles=~/.run --name=pipewire /usr/bin/pipewire
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1
So, you must have:
A process named pipewire
Like that:
And, the same for pipewire-pulse & pipewire-media-session
A pipewire.pid in $HOME/.run ( home run .... sorry )
That is exactly what i have but there no .run file or folder in my homedir, is there a logfile sowhere from this? Ijust tried to run it from xterm and here is what i get
[W][05001.009147] mod.rt | [ module-rt.c: 224 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][05001.009213] mod.rt | [ module-rt.c: 526 set_nice()] could not set nice-level to -11: No such file or directory
[W][05001.009508] mod.rt | [ module-rt.c: 224 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][05001.066387] mod.rt | [ module-rt.c: 224 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][05001.066718] mod.rt | [ module-rt.c: 224 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][05001.066743] mod.rt | [ module-rt.c: 716 impl_acquire_rt()] could not make thread 4980 realtime using RTKit: No such file or directory
Master Obi wan-Kolargol, arguing that the Pipewire daemons does not start, without specifying in full detail what Desktops Environment you use, is as useful as a massage at a wood leg. Because is quite possible that your DE to ignore the XDG autostart at all.
For example, even the wise XFCE runs by default only the XDG entries with only-show-in=XFCE . Honestly, I believe that's a brain fart, BUT there we are...
PS. Did you really want to have the username: Kolargol ? From what I know, it's the commercial name for some strong sleeping pills.
Last edited by LuckyCyborg; 03-28-2022 at 07:39 PM.
Master Obi wan-Kolargol, arguing that the Pipewire daemons does not start, without specifying in full detail what Desktops Environment you use, is as useful as a massage at a wood leg. Because is quite possible that your DE to ignore the XDG autostart at all.
For example, even the wise XFCE runs by default only the XDG entries with only-show-in=XFCE . Honestly, I believe that's a brain fart, BUT there we are...
PS. Did you really want to have the username Kolargol ? It's the commercial name for some strong sleeping pills.
Sorry, i use fvwm2 and kolargol was the name of a character in a kid show when i was young lol
so iguess i will have to put them in my .xinitrc then
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.