I installed artix yesterday manually and i'm struggling with sound at first i got no sound so i searched the wiki the instructions were simple to download the pipewire packages and add the script, with the script pipewire was running but it is not automatic i have to start the script manually every time when i start the device. So i added pipewire media session in autologin application feature present in kde but how can i make the script work automated everytime i boot up the script runs
this was the script !/bin/sh
/usr/bin/pipewire & /usr/bin/pipewire-pulse & /usr/bin/wireplumber
RTFM:
https://www.baeldung.com/linux/desktop-entry-files
https://docs.kde.org/stable5/en/plasma-workspace/kcontrol/autostart/index.html
i added pipewire media session in autostart it works now thank you for the link
FYI Artix has this script to manage the entire pipewire in 1 command:
/usr/bin/artix-pipewire-launcher restart
Started by a desktop file called pipewire.desktop if you use those.
The usage of pipewire-media-session isn't very recommended.
sed -i "s/Categories=Audio,AudioVideo/Categories=Audio;AudioVideo;/g" /usr/share/applications/pipewire.desktop
I don't have /usr/share/applications/pipewire.desktop to begin with which might be the culprit (I also don't have libreoffice.desktop and Libreoffice isn't showing in my apps.