Artix Linux Forum

Artix Linux => System => Topic started by: /home/void on 07 December 2023, 04:37:12

Title: [SOLVED] no sound after fresh install
Post by: /home/void on 07 December 2023, 04:37:12
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
Title: Re: no sound after fresh install
Post by: lq on 07 December 2023, 09:28:20
...  but how can i make the script work automated everytime ...

RTFM:

https://www.baeldung.com/linux/desktop-entry-files
https://docs.kde.org/stable5/en/plasma-workspace/kcontrol/autostart/index.html
Title: Re: no sound after fresh install
Post by: /home/void on 07 December 2023, 10:10:18
i added pipewire media session in autostart it works now thank you for the link
Title: Re: no sound after fresh install
Post by: Hitman on 07 December 2023, 10:49:31
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.
Title: Re: [SOLVED] no sound after fresh install
Post by: lq on 08 December 2023, 09:47:05
Started by a desktop file called pipewire.desktop if you use those.

Code: [Select]
sed -i "s/Categories=Audio,AudioVideo/Categories=Audio;AudioVideo;/g" /usr/share/applications/pipewire.desktop
Title: Re: [SOLVED] no sound after fresh install
Post by: kopecky on 24 March 2025, 13:12:34
Started by a desktop file called pipewire.desktop if you use those.

Code: [Select]
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.