https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio#Desktop_Environment Mentions a .sh script, however .sh does not seem to be supported by KDE, not according to the linked https://wiki.archlinux.org/title/Autostarting#On_desktop_environment_startup or according to the latter's linked https://docs.kde.org/stable5/en/plasma-workspace/kcontrol/autostart/index.html official documentation, it all mentions .desktop and not .sh. I'm mentioning this mainly as an issue to be fixed, I (hopefully) will get pipewire to start with KDE somehow
(dinit services would not enabled after I installed them and running sudo dinitctl enable [], although that I might post in a separate issue, maybe something I missed)
.
System info:
' logz@Artix_Zetetik
'o' ------------------
'ooo' OS: Artix Linux x86_64
'ooxoo' Host: 20Q6S8JY00 (ThinkPad L490)
'ooxxxoo' Kernel: Linux 6.16.1-artix1-1
'oookkxxoo' Uptime: 35 mins
'oiioxkkxxoo' Packages: 1120 (pacman)
':;:iiiioxxxoo' Shell: bash 5.3.3
`'.;::ioxxoo' Display (CMN14C3): 1366x768 @ 60 Hz in 14"
'-. `':;jiooo' DE: KDE Plasma 6.4.4
'oooio-.. `'i:io' WM: KWin (X11)
'ooooxxxxoio:,. `'-;' WM Theme: Breeze
'ooooxxxxxkkxoooIi:-. `' Theme: Breeze (ArtixDark) [Qt], Artix-dark [GTK2/3/4]
'ooooxxxxxkkkkxoiiiiiji' Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
'ooooxxxxxkxxoiiii:'` .i' Font: Roboto (11pt, Regular) [Qt], Roboto (11pt) [GTK2/3/4]
'ooooxxxxxoi:::'` .;ioxo' Cursor: Premium (24px)
'ooooxooi::'` .:iiixkxxo' Terminal: konsole 25.8.0
'ooooi:'` `'';ioxxo' CPU: Intel(R) Core(TM) i3-8145U (4) @ 3.90 GHz
'i:'` '':io' GPU: Intel UHD Graphics 620 @ 1.00 GHz [Integrated]
'` `' Memory: 3.27 GiB / 7.56 GiB (43%)
Swap: 0 B / 8.80 GiB (0%)
Disk (/): 59.03 GiB / 224.72 GiB (26%) - ext4
Local IP (eth0): 192.168.1.238/24
Battery (5B10W138): 99% [AC Connected]
Locale: en_US.UTF-8
Seems the .sh script allowed for start-pipewire.sh.desktop to be created in the same directory, but it seems to do nothing, its contents are:
[Desktop Entry]
Exec=/home/logz/.config/autostart/start-pipewire.sh
Icon=application-x-shellscript
Name=start-pipewire.sh
Type=Application
X-KDE-AutostartScript=true
Run it manually in a terminal
/home/logz/.config/autostart/start-pipewire.sh
and post the output.
For my usecase, disabling ssdm and using startx with .xinitrc instead solved it.
On openrc or dinit, you can just enable the user services without adding scripts.
I re-enabled ssdm and, yes that did work!
I use OpenRC.
There it is as simple as
sudo pacman -S wireplumber-openrc pipewire-pulse-openrc
rc-update add pipewire --user
rc-service pipewire start --user
rc-update add pipewire-pulse --user
rc-service pipewire-pulse start --user
rc-update add wireplumber --user
rc-service wireplumber start --user
wireplumber-dinit and pipewire-pulse-dinit exists too (wireplumber-dinit also pulls in pipewire-dinit as wireplumber-openrc pulls in pipewire-openrc)
But I don't know the commands to enable/start them there