LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2022, 06:57 PM   #256
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3

Quote:
Originally Posted by marav View Post
Hi kolargol

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
 
1 members found this post helpful.
Old 03-28-2022, 07:00 PM   #257
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,480

Rep: Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231
Quote:
Originally Posted by kolargol View Post
i ran pipewire-enable.sh also before but it doesn't start
even after logout / login ?

This is not a really a "startup" script.
It is just a script that modifies some .desktop files and the pulseaudio configuration.

You have to leave your session, and login again so that the files:
/etc/xdg/autostart/pipewire*.desktop can be loaded

Last edited by marav; 03-28-2022 at 07:05 PM.
 
Old 03-28-2022, 07:08 PM   #258
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3
Quote:
Originally Posted by marav View Post
even after logout / login ?

This is not a really a "startup" script.
It is just a script that modifies some .desktop files and the pulseaudio configuration.

You have to leave your session, and login again so that the files:
/etc/xdg/autostart/pipewire*.desktop can be loaded
Iknow but it doesn't work, i am looking into pipewire.conf now to see if there is something to change
 
Old 03-28-2022, 07:09 PM   #259
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,480

Rep: Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231
Quote:
Originally Posted by kolargol View Post
Iknow but it doesn't work, i am looking into pipewire.conf now to see if there is something to change
not that I know

The default configuration should work out-of-the-box
 
Old 03-28-2022, 07:11 PM   #260
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3
Quote:
Originally Posted by marav View Post
not that I know

The default configuration should work out-of-the-box
Yes i know but something isn't working and i don't know why
 
Old 03-28-2022, 07:18 PM   #261
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,480

Rep: Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231
Quote:
Originally Posted by kolargol View Post
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:
Code:
$ ps ax | grep pipewire
 2120 tty8     S+     0:00 /usr/bin/daemon -frB --pidfiles=~/.run --name=pipewire /usr/bin/pipewire
 2123 tty8     Sl+    0:00 pipewire: /usr/bin/pipewire
And, the same for pipewire-pulse & pipewire-media-session

A pipewire.pid in $HOME/.run ( home run .... sorry )

Last edited by marav; 03-28-2022 at 07:22 PM.
 
Old 03-28-2022, 07:24 PM   #262
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3
Quote:
Originally Posted by marav View Post
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:
Code:
$ ps ax | grep pipewire
 2120 tty8     S+     0:00 /usr/bin/daemon -frB --pidfiles=~/.run --name=pipewire /usr/bin/pipewire
 2123 tty8     Sl+    0:00 pipewire: /usr/bin/pipewire
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

Last edited by kolargol; 03-28-2022 at 07:34 PM.
 
Old 03-28-2022, 07:33 PM   #263
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,655

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
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.
 
1 members found this post helpful.
Old 03-28-2022, 07:39 PM   #264
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3
Quote:
Originally Posted by LuckyCyborg View Post
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

Last edited by kolargol; 03-28-2022 at 07:43 PM.
 
Old 03-28-2022, 07:43 PM   #265
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,655

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by kolargol View Post
Sorry, i use fvwm2
The FvMM2 has no idea to run the XDG autostart entries, like the ones required by Pipewire daemons.

Please consider the noble art of fbautostart. It have even an entry on SBo. Could be useful.
 
2 members found this post helpful.
Old 03-28-2022, 07:45 PM   #266
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3
Quote:
Originally Posted by LuckyCyborg View Post
The FvMM2 has no idea to run the XDG autostart entries, like the ones required by Pipewire daemons.

Please consider the noble art of fbautostart. It have even an entry on SBo. Could be useful.
Ok i will check that, thank you.

Last edited by kolargol; 03-28-2022 at 08:00 PM.
 
Old 03-28-2022, 08:01 PM   #267
kolargol
Member
 
Registered: Jan 2003
Posts: 56

Rep: Reputation: 3
I added them to the Start function in .fvwm/config, everything seems to work now
 
1 members found this post helpful.
Old 03-29-2022, 02:27 PM   #268
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,408
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by LuckyCyborg View Post
PS. Did you really want to have the username: Kolargol ? From what I know, it's the commercial name for some strong sleeping pills.
Let me introduce Colargol :
https://www.youtube.com/watch?v=OIR-AcgfB4k
 
1 members found this post helpful.
Old 03-29-2022, 02:47 PM   #269
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
Quote:
Originally Posted by Tonus View Post
Blast from the past
 
Old 04-09-2022, 04:20 AM   #270
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,480

Rep: Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231Reputation: 4231
Wireplumber slackbuild 0.4.7 for Slackware 15.0 has been officially released:

https://slackbuilds.org/repository/1...o/wireplumber/

Last edited by marav; 04-09-2022 at 04:23 AM.
 
1 members found this post helpful.
  


Reply

Tags
pipewire, pulseaudio



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pipewire pulseaudio emulation without pulseaudio installed (works) adcdam Slackware 18 04-02-2021 01:34 AM
Plasma 5.20 Beta? It is rock solid, excluding the taskbar thumbnails on Wayland - or rather because Pipewire needs "per user" init scripts LuckyCyborg Slackware 3 09-21-2020 02:50 PM
LXer: This Week in Linux 94: Mesa 20, PipeWire, Linux Be Scary, MyPaint, GTK, Microsoft Defender LXer Syndicated Linux News 0 02-26-2020 07:23 PM
LXer: Improved multimedia support with Pipewire in Fedora 27 LXer Syndicated Linux News 0 09-20-2017 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration