From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sCtqABJNs2UThgEAe85BDQ:P1 (envelope-from ) for ; Fri, 26 Jan 2024 07:11:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sCtqABJNs2UThgEAe85BDQ (envelope-from ) for ; Fri, 26 Jan 2024 07:11:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=IWy8MR0B; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706249489; a=rsa-sha256; cv=none; b=LE0T4WREGyAit1Deoua1poFuOGOmu0hAiR4YXtvYD/RjCptY5esSJQhmZrxxERGxqvXC7z w+IF+AVUTeuUjE7rZ8jLxZqVdC3fzyqBDhx3VlHZO9+apaW/o9mMdyCIEI37qpXprb/fzK M+va+5JuwyP0IOpyo2kHcscv3qj6QY29puKoQY5uVb6QGN4pDbaYqWIQGj/PEZhe18FECd oZvaAewUmdx8ADludtG+kSt6If+LYWZNizsGNdaZwPvIYItwfKbbMz80RpgwuMyIRgBTAH AKyvWGMoNh2IpZoYqaZZas6LAKJO4O5VkUnA6EqBixl88d08YZRp6PnKR8k4Vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=sarg.org.ru header.s=google header.b=IWy8MR0B; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706249489; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=kDXX/q2qRyZc/LuGJB7Ru+KZRpUpEgZSsT6q76KHBq0=; b=TyYSHV9PHmJTJaWxGXRB+NtUvbD3Fhzp3agEV/fp2BVSv9lIKyiCNheSrSGdwOcdaZUJaj RhqhS4WHw/gtV5BohwXqn1m3We1ueH+sfqCxjO4UE5/v0YF5AmcfpmPsgR6nETJbvn1fCi toY4RXCfqTgepYn8JlNniCJUPElxDiswIANcb894IUuqVpiMb3ByblGMUaTfHdxuGZgQfa VE597dPaEh0rFDVrg7ZO9TKxeA6F18BfFUoUEClWH+QPX5e/14P48B1xsMv+pEY1Bqn9yM eU2UYdZ4WOQ/FfBsPQ+wQDdcFcwg0zhYMgmwYe3nPLMRxbTXpsMKuzAsOlXm7w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1646C74CD3 for ; Fri, 26 Jan 2024 07:11:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTFQc-0003kQ-B5; Fri, 26 Jan 2024 01:11:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTFQX-0003kC-0Y for bug-guix@gnu.org; Fri, 26 Jan 2024 01:10:58 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTFQW-0005r1-Al for bug-guix@gnu.org; Fri, 26 Jan 2024 01:10:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTFQc-0002a6-9y for bug-guix@gnu.org; Fri, 26 Jan 2024 01:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68512: Qutebrowser 3, no sound from pipewire-only system Resent-From: Sergey Trofimov Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 Jan 2024 06:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68512 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: chris Cc: 68512@debbugs.gnu.org Received: via spool by 68512-submit@debbugs.gnu.org id=B68512.17062494309881 (code B ref 68512); Fri, 26 Jan 2024 06:11:02 +0000 Received: (at 68512) by debbugs.gnu.org; 26 Jan 2024 06:10:30 +0000 Received: from localhost ([127.0.0.1]:49911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTFQ5-0002ZI-Kx for submit@debbugs.gnu.org; Fri, 26 Jan 2024 01:10:29 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:61448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTFQ2-0002Z3-F2 for 68512@debbugs.gnu.org; Fri, 26 Jan 2024 01:10:27 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-55a356f8440so25388a12.2 for <68512@debbugs.gnu.org>; Thu, 25 Jan 2024 22:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1706249414; x=1706854214; darn=debbugs.gnu.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=kDXX/q2qRyZc/LuGJB7Ru+KZRpUpEgZSsT6q76KHBq0=; b=IWy8MR0BJ06B/dnVx7tCWgM7rIf1GxgWX/qZ5ckvIXDOr0qbTI/roWcOopzvDFnbtO RWEreI69NknPUXuixRZSguBi7SXFOpTME5J0iGnHa0DxPElqUckDu1N8Y8P3xjklBcXo B/uthc60KG6HHES+MqhH3We3Rlm/Bpl7+0wKk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706249414; x=1706854214; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kDXX/q2qRyZc/LuGJB7Ru+KZRpUpEgZSsT6q76KHBq0=; b=TP5DBzk/uktolM4udCyTzNpymeeFDj7chhFK6B2PYVgpV3+ppoDjujElP0VsqkXPJO 1dlni6kS7euv4FCfSttBlui7jyNxUAs4hu2E/OZr6c0I0V0bKCkFBtnEanNPMUMyDsFX CLvIUHOXk65WakYmPgw1zwjYunkrhqjWv/luOZDnEDP8Zfbff+XpKXDWBcxKjzfiVUK6 n3Qgr96sxF7WumMHaFng71KK9bOWmedI4WGdla0NQCWefA1oMdJQl/zpoE+FL20l0ohy m35PUGvThD8wWVuDjxkNhjc3Ky2m+kL9EPgF4CYqRYQqf3XpugsMJac2JvnT3pL1OaB1 WKYg== X-Gm-Message-State: AOJu0YxbSejle5v1XGoRxZOkho17J54jqvXkr9y+WAS85zyZs2yW9oQc /oRaBb3zOi3wQqNlArrOeNFbM8C2KYX3AU0fd+U6qFUq1darSt/lToltU/Iz8l5RGGBM4bUX+eH QSDo= X-Google-Smtp-Source: AGHT+IHmhMSjsOBRrIQk6PpJSnqrHZCVkT7zEHeXKvlksx3P/ewUOF3tEj3pjLrUMI9JNXm8ihJgvA== X-Received: by 2002:a17:906:3bd3:b0:a2c:c4e5:65b with SMTP id v19-20020a1709063bd300b00a2cc4e5065bmr670775ejf.10.1706249414130; Thu, 25 Jan 2024 22:10:14 -0800 (PST) Received: from localhost ([2a02:2454:a09d:d000:3f1e:a87:ccd2:4aec]) by smtp.gmail.com with ESMTPSA id rf22-20020a1709076a1600b00a34a8ab0555sm254340ejc.133.2024.01.25.22.10.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 22:10:13 -0800 (PST) References: <87v87tt5tk.fsf@sarg.org.ru> <87r0igtp99.fsf@sarg.org.ru> <87o7d9utz9.fsf@sarg.org.ru> User-agent: mu4e 1.10.8; emacs 29.1 From: Sergey Trofimov Date: Fri, 26 Jan 2024 06:56:01 +0100 In-reply-to: Message-ID: <87jznwvd4q.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -4.16 X-Migadu-Queue-Id: 1646C74CD3 X-Migadu-Spam-Score: -4.16 X-TUID: pWxGifTdHb4z chris writes: > Sergey, > > Yesterday after reporting back here, I found that I was able to > change the commands used by sway from this > ``` > exec_always killall -wqr "(pipewire|wireplumber)" \ > || sleep 1 && ((pipewire &); sleep 2 && (wireplumber &)) > ``` > > To this > ``` > exec sleep 2 && pipewire > exec sleep 4 && wireplumber > ``` Ugh, why don't you use home-pipewire-service-type? > > In order to script-generate the asoundrc file, I wish to use > pipewire's store > directory path inside a scheme function. WOuld you teach me how > to do this? eg, > `$(guix build pipewire) # > /gnu/store/8572wxb5138hanhvn1lbfdm1kicxsd2k-pipewire-1.0.0` > > No success trying various things from this thread > https://www.mail-archive.com/help-guix@gnu.org/msg11871.html > Packages are file-like, i.e. replaced with their location when used in g-exp. 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---