From patchwork Sun Jan 12 00:32:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 19756 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4488D17A80; Sun, 12 Jan 2020 00:33:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id F30A817A7E for ; Sun, 12 Jan 2020 00:33:09 +0000 (GMT) Received: from localhost ([::1]:33966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqRBl-00056R-GM for patchwork@mira.cbaines.net; Sat, 11 Jan 2020 19:33:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48350) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqRBf-00056I-ED for guix-patches@gnu.org; Sat, 11 Jan 2020 19:33:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqRBe-0002iv-9n for guix-patches@gnu.org; Sat, 11 Jan 2020 19:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqRBd-0002hW-Qy for guix-patches@gnu.org; Sat, 11 Jan 2020 19:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqRBd-00017i-Mm for guix-patches@gnu.org; Sat, 11 Jan 2020 19:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jan 2020 00:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39053 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke , 39053-done@debbugs.gnu.org Received: via spool by 39053-done@debbugs.gnu.org id=D39053.15787891354262 (code D ref 39053); Sun, 12 Jan 2020 00:33:01 +0000 Received: (at 39053-done) by debbugs.gnu.org; 12 Jan 2020 00:32:15 +0000 Received: from localhost ([127.0.0.1]:56877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqRAt-00016g-JO for submit@debbugs.gnu.org; Sat, 11 Jan 2020 19:32:15 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:6332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqRAr-00016X-JY for 39053-done@debbugs.gnu.org; Sat, 11 Jan 2020 19:32:14 -0500 Received: from nijino.local (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47wHjP5dn1z1LLyX; Sun, 12 Jan 2020 01:32:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47wHjP5dn1z1LLyX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578789130; bh=dF0Lz8ltbwvgk4mI52YfbeFfnr5MXiZ17gin3fDmylo=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Be1RJ3IAG0gsmsm2m/mttuDtLHf1ySz/qKSoA+DPysFKgYAC+fzrdHurEN9QYk89F m95ZMHIZ8wXaZBRbRGLffndf9GJCj24prvtFvxGFVzEhuNM4GXM63lwIkmlv5PcZs4 GK/i/eK3ZcEeePo2W51Cecw/Ywt4u248FPgXEJXY= Message-ID: From: Leo Prikler Date: Sun, 12 Jan 2020 01:32:08 +0100 In-Reply-To: <87r205y2oj.fsf@devup.no> References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> <87ftglzz3l.fsf@devup.no> <87r205y2oj.fsf@devup.no> User-Agent: Evolution 3.32.4 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Am Sonntag, den 12.01.2020, 00:49 +0100 schrieb Marius Bakke: > Oh, right. I suppose that can be surprising. Would you like to > resubmit a documentation update? Sure, see the attachment. (Not sure if that's overkill.) > I wonder if we could use the flunking new 'this-record', and refer to > the SCRIPT-FILE directly in the default parameter list. But that's > probably overkill for this instance. :-) Well, actually, that might not be /that/ bad, were it not for the fact that defaults have to be documented. Using 'this-record' would allow people to use the system-script-file there as well, although I don't know if the value will be read when PA starts in system mode. That said, we would also force people to copypasta this into their own configuration. Is that still acceptable? > Not sure what/if there are line length limits on guix.texi, but 95 > characters should be okay for one-off instances like these. I > suppose > we could escape a line break if it breaks someones workflow. I personally would not notice a line limit either way safe for perhaps some very short lines, due to having olivetti enabled in all text modes. Regards, Leo From c1f3757d53423cc51f1f9017edd4427c20e7025c Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Sun, 12 Jan 2020 01:20:27 +0100 Subject: [PATCH] doc: Fully document pulseaudio daemon-conf. * doc/guix.texi: Add note about the default-script-file line and the intention behind it. --- doc/guix.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index d2038d18e1..0b8569b54a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15979,6 +15979,17 @@ inserted as-is with a newline added. A pair will be formatted as @item @var{daemon-conf} (default: @code{'((flat-volumes . no))}) List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}. +@quotation Note +In addition to the above settings being applied, the first line of the +generated @file{daemon.conf} will always read +@code{default-script-file = FILE} with @var{FILE} being the path to the +supplied @var{script-file}. +This makes pulseaudio read the correct @file{default.pa} when started in +user-mode (the default behaviour). +Such a line does not exist for @file{system.pa}. If you need to load this +file for some reason, you'll have to use environment variables as detailed +in the PulseAudio documentation. +@end quotation @item @var{script-file} (default: @code{(file-append pulseaudio "/etc/pulse/default.pa")}) Script file to use as as @file{default.pa}. -- 2.24.1