In gentoo-pipewire-launcher script the following line: CONF="${XDG_CONFIG_HOME}/gentoo-pipewire-launcher.conf" will never find a config file if XDG_CONFIG_HOME is unset, which can often be the case (unless you put the config at /gentoo-pipewire-launcher.conf). I suggest changing to: CONF="${XDG_CONFIG_HOME-${HOME}/.config}/gentoo-pipewire-launcher.conf" Which will fallback to $HOME/.config as per the XDG spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Reproducible: Always
Thanks for the report! i'm happy to put together the patch for this. Will try to get to it as soon as i can.
Created attachment 867561 [details, diff] Fall back to using ~/.config if XDG_CONFIG_HOME isn't set.
Created attachment 867598 [details, diff] Fall back to using ${HOME}/.config if XDG_CONFIG_HOME isn't set.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e0cc9215766a8fc6c13bce085910ba564a4e87 commit c1e0cc9215766a8fc6c13bce085910ba564a4e87 Author: Alexis <flexibeast@gmail.com> AuthorDate: 2023-08-10 09:30:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-24 19:42:15 +0000 media-video/pipewire: gentoo-pipewire-launcher configuration. Fall back to using ${HOME}/.config if XDG_CONFIG_HOME isn't set. Closes: https://bugs.gentoo.org/911883 Signed-off-by: Alexis <flexibeast@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-video/pipewire/files/gentoo-pipewire-launcher.1 | 9 +++++++++ media-video/pipewire/files/gentoo-pipewire-launcher.in-r2 | 2 +- .../{pipewire-0.3.75-r2.ebuild => pipewire-0.3.75-r3.ebuild} | 0 .../{pipewire-0.3.77-r1.ebuild => pipewire-0.3.77-r2.ebuild} | 0 .../{pipewire-0.3.78.ebuild => pipewire-0.3.78-r1.ebuild} | 0 5 files changed, 10 insertions(+), 1 deletion(-)