LinuxQuestions.org
Help answer threads with 0 replies.
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 05-18-2023, 07:40 AM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
slack current pipewire script and what is missing


I found this post when researching this pipewire sound thing
https://www.linuxquestions.org/quest...02#post6328502

in it it states slack has a script (post #2) that does this switch for the user so I ran it; rebooted then got this
[[ /usr/sbin/pipewire-enable.sh ]]
Code:
$ pipewire
[W][00057.564067] mod.rt       | [     module-rt.c:  270 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][00057.564120] mod.rt       | [     module-rt.c:  637 set_nice()] could not set nice-level to -11: No such file or directory
[E][00057.564912] mod.protocol-native | [module-protocol-:  711 lock_socket()] server 0x563656ef6bb0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00057.564992] pw.conf      | [          conf.c:  574 load_module()] 0x563656ea9600: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00057.565240] default      | [      pipewire.c:  105 main()] failed to create context: Resource temporarily unavailable
what did I miss, right now I am in Plasma but I use FB, xfce4 etc so it needs to be working or everything, which it should but just stating that for the record.

( as I just found this I have not checked if it is on slack15 too which it prob is)

i got sound, bluetooth but who is running it, pulseaudio? so that script is leaving me to undoing all autostarts starting pulseaudio ijn every desktop/ WM on slack?
Code:
$ pulseaudio
W: [pulseaudio] pid.c: Stale PID file, overwriting.
E: [pulseaudio] socket-server.c: bind(): Address already in use
E: [pulseaudio] module.c: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
W: [pulseaudio] cli-command.c: stat('/etc/pulse/default.pa.d'): No such file or directory
E: [pulseaudio] main.c: D-Bus name org.pulseaudio.Server already taken.
N: [pulseaudio] bluez5-util.c: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
E: [pulseaudio] backend-native.c: org.bluez.ProfileManager1.RegisterProfile() failed: org.bluez.Error.NotPermitted: UUID already registered
^Cuserx@slack-curr.org:~

Last edited by BW-userx; 05-18-2023 at 07:47 AM.
 
Old 05-18-2023, 08:12 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Please note that the solution chosen (by users and) by Slackware for handling the PipeWire daemons is via XDG autostart, with the use an one of its kind daemon supervisor, which knows to stop those daemons when the user logouts - that's it, the PipeWire daemons was made as systemd services and special care is required.

However, please note that Slackware treats the this XDG autostart feature rather with superficiality, and the single DE which have full support for it is Plasma5.

Also XFCE has support for XDG autostart, BUT inexplicably, the XFCE developers chosen to permit to user to chose what "services" are executed (as they put the things) so IF the user like a Boss chose to execute on startup only the XFCE "services" - in fact the desktop files marked as "XFCE-only", the PipeWire daemons will NOT be started, unless they are manually edited.

Finally, believe it or NOT, any other WM shipped by Slackware has NO support for XDG autostart, BUT there's a solution as described in this post of mine:

https://www.linuxquestions.org/quest...ml#post6430055

It's about a little program named fbautostart (and already present on SBo) which can instructed to run on WM startup scripts for executing the XDG autostart files on any WM.

Yeah, I know, I know, it's complicated, but it's not the PipeWire's fault. It's just that Slackware as usual strives to complicate the users life. For the sake of simplicity, of course.

RE: who runs the Bluetooth stack? It's PipeWire, and you probably interact with it via a special daemon of PipeWire, which is is on-site replacement of the PulseAudio daemon and talks that API.

Last edited by LuckyCyborg; 05-18-2023 at 08:17 AM.
 
2 members found this post helpful.
Old 05-18-2023, 09:32 AM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
Finally, believe it or NOT, any other WM shipped by Slackware has NO support for XDG autostart, BUT there's a solution as described in this post of mine:
So in my WindowMaker (first released in 1997) setup, I should be using a third party tool to implement a draft specification (from 2006) to automatically launch an application during startup of the user's desktop environment from information provided by a (hopefully properly formatted) .desktop file placed in an accessible directory in $XDG_CONFIG_DIRS.

Spare me, despite the complication, I will just keep editing ~/GNUstep/Library/WindowMaker/autostart
 
1 members found this post helpful.
Old 05-18-2023, 10:02 AM   #4
chemfire
Member
 
Registered: Sep 2012
Posts: 422

Rep: Reputation: Disabled
KDE and XFCE are "environments", so one would expect them to manage aspects of the environment. The other things are "window managers" one would expect them to uh manage windows and to provide the rest of the environment themselves by other means be that some combination .profile, .xintric, rc.scripts, and/or custom stuff.

Expecting some Window Manager (at least one not part of a larger environment) to fully implement FreeDesktop.org specs is like being surprised vim does have "IntelliSense"TM support for your favorite language / framework.
 
  


Reply



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
upgrade pipewire in 15.0 with -current SlackBuild Daedra Slackware 8 01-25-2023 03:50 PM
LXer: OBS Studio 27 Released With Wayland And PipeWire support, Browser Docks On Linux And macOS LXer Syndicated Linux News 0 06-07-2021 06:13 AM
[SOLVED] [current] slackpkg-15.0.2-noarch-1 has /etc/pipewire/pipewire.conf.new j12i Slackware 3 04-27-2021 01:08 AM
Daemon - a small and powerful daemon supervisor, with (e)logind support, for babysitting our PipeWire's user target daemons - Testing Wanted ZhaoLin1457 Slackware 58 03-06-2021 11:16 AM
slack-current of dropline ? Hi all :-) slack-current of dropline ? frochet Slackware 2 06-11-2004 11:57 AM

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

All times are GMT -5. The time now is 10:59 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