Subject: bug#68512: Qutebrowser 3, no sound from pipewire-only system

From: chris <[email-masked]>
Date: Fri, 26 Jan 2024 00:18:20 -0800

On  1月26日 金, Sergey Trofimov wrote:
> 
> Ugh, why don't you use home-pipewire-service-type?

`home-pipewire-service-type` has no option to skip dbus and thus far this system does not use dbus, ibus, elogind and systemd etc.

> Packages are file-like, i.e. replaced with their location when used in
> g-exp.

Interesting. Thanks for teaching me this.

> Here is an example how to define the configuration, I've adapted it from
> gnu/home/services/home.scm
> 
> --8<---------------cut here---------------start------------->8---
> (simple-service 'pipewire-configs home-xdg-configuration-files-service-type
>  `(("alsa/asoundrc")
>    ,(mixed-text-file
>        "asoundrc"
>        "<" pipewire "/share/alsa/alsa.conf.d/50-pipewire.conf>\n"
>        "<" pipewire
> "/share/alsa/alsa.conf.d/99-pipewire-default.conf>\n"
>        "pcm_type.pipewire {\n"
>        "  lib \"" pipewire
> "/lib/alsa-lib/libasound_module_pcm_pipewire.so\"\n"
>        "}\n"
>        "ctl_type.pipewire {\n"
>        "  lib \"" pipewire
> "/lib/alsa-lib/libasound_module_ctl_pipewire.so\"\n"
>        "}\n")))
> --8<---------------cut here---------------end--------------->8---

The above does work :) thank you. I'm interested to explore writing a function that wraps g-exp behaviour to return a package as store path string and might do that outside of this ticket.

Thank you for your kind help and correspondence,

Chris