From unknown Fri Jun 20 07:15:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39053 <39053@debbugs.gnu.org> To: bug#39053 <39053@debbugs.gnu.org> Subject: Status: [PATCH] Add pulseaudio configuration and fix volume bugs Reply-To: bug#39053 <39053@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:00 +0000 retitle 39053 [PATCH] Add pulseaudio configuration and fix volume bugs reassign 39053 guix-patches submitter 39053 Leo Prikler severity 39053 normal tag 39053 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 08:58:20 2020 Received: (at submit) by debbugs.gnu.org; 9 Jan 2020 13:58:20 +0000 Received: from localhost ([127.0.0.1]:51975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipYKJ-0005wl-Od for submit@debbugs.gnu.org; Thu, 09 Jan 2020 08:58:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:50066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipYKI-0005wd-Bi for submit@debbugs.gnu.org; Thu, 09 Jan 2020 08:58:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33112) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipYKD-0005MT-Co for guix-patches@gnu.org; Thu, 09 Jan 2020 08:58:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipYKB-00035C-Kk for guix-patches@gnu.org; Thu, 09 Jan 2020 08:58:12 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:5104) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipYKB-0002Y0-2m for guix-patches@gnu.org; Thu, 09 Jan 2020 08:58:11 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47tnkf0Zkkz1LBSW for ; Thu, 9 Jan 2020 14:58:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47tnkf0Zkkz1LBSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578578282; bh=QFVHkCCfMj1HLq4OQ9iDd75dc/V/vRnpvutU5DK0Kps=; h=From:To:Subject:Date:From; b=J0V72AOifxfJdpQ2+h9Yt0HB72PiaRsK+VeQS7yJ0f8O2zbqZxQaUCg8dTXgHNbZ1 aunNg4R9EHoR8qnIBPHqog7KwAEacho01+ASJ9nl6IgQEBkITvkxrUDiurBTE9TFvg s4eXjwwjlemliDc//qCOhyqSlz5+FYo3wzWpPaxo= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH] Add pulseaudio configuration and fix volume bugs Date: Thu, 9 Jan 2020 14:57:43 +0100 Message-Id: <20200109135746.1993-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 129.27.2.202 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This series of patches adds a configuration type for pulseaudio and also = fixes a bug, where various applications would inadvertently max out the system = volume (see e.g. #38172). The second patch of this series differs from the one proposed there, in t= hat it uses environment variables to achieve its goal rather than rebuilding pulseaudio. As a result, pulseaudio-service will very likely ignore user configuration in $XDG_CONFIG_DIR/pulse unless those variables are unset. Doing so in ~/.profile or an equivalent to it should suffice. Regards, Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 16:51:01 2020 Received: (at 39053) by debbugs.gnu.org; 9 Jan 2020 21:51:01 +0000 Received: from localhost ([127.0.0.1]:53184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipfhl-0003er-Eb for submit@debbugs.gnu.org; Thu, 09 Jan 2020 16:51:01 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:52211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipfhi-0003eU-RQ for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 16:51:00 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DA507770; Thu, 9 Jan 2020 16:50:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 09 Jan 2020 16:50:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=uM4dFWQcY3UwDsGCen5AeIm4Z8 /hH/OZ1luFZ6qnJjE=; b=WKVZfiSl3TwmrC5M/NokZtCxWqfIKspGWN3jPShvXs hnMktGw/3bvDEQUIz/kEb8kU8JyiIR33Bn+UehEeo8a7yH7dLpjx+NIaunpBBG4W o5DvbeIPlXUH3SWr5zDtwc0vEsTMh1s5q144FFfxMlZxbL6u8zhfC1ZpgGRAzvF1 8v5BRhyB30D9JYirCMqpU14RAZskHEJkDo35o534t7W3w6sztc9AUx/6POSeB7cv 0G6ImGtLz9b9GUX98eYIqeAUhaLto6laLgoqVG90yE4RtWvsu/2/9bKVE2dJSOtr XpF47uY6goCTRywlTLOTTiD6b32CwOBCixLHyQmI6C0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=uM4dFW QcY3UwDsGCen5AeIm4Z8/hH/OZ1luFZ6qnJjE=; b=sXlEKPTIt9fRm2Q+TqS41u ogFaU5SzUxS/iy8x2Mu6NaUuU4HlBXvJ3vFNH+mcIZTJanUCSWbZCiPbjfXUVzwF Mjf/v+FM3VCv10rwukyUQl94qyVbfALpiHktbbu/Wx9wnDWZeqkVifhTMbe9jYD9 eUN/CXH2+qCx90hXp/GOK148dQVca2asJRIzc+rAWgW7V4ExWUV70nZCC4CZV3hx WSeEePDrXaFeZ2ko3alXolK842/4kJqvCZbAuo4upX1yJbBpxPyZWDGI2wJn9beY 6Cy5sH8In/UKBNh56UkNSq9TwKIfpqR4oOTaxp3ODNptKPbmQ63XbeQ5rs7uQ8QA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeiuddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhi uhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppe ekgedrhedvrddvvdeirddutddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhk vgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 62FB730607B4; Thu, 9 Jan 2020 16:50:51 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39053@debbugs.gnu.org Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs In-Reply-To: <20200109135746.1993-1-leo.prikler@student.tugraz.at> References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 09 Jan 2020 22:50:49 +0100 Message-ID: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > This series of patches adds a configuration type for pulseaudio and also fixes > a bug, where various applications would inadvertently max out the system volume > (see e.g. #38172). Derp, I did not notice you had re-rolled the patches already :-) Please ignore the /etc/pulse related questions, this looks much better. > The second patch of this series differs from the one proposed there, in that > it uses environment variables to achieve its goal rather than rebuilding > pulseaudio. As a result, pulseaudio-service will very likely ignore user > configuration in $XDG_CONFIG_DIR/pulse unless those variables are unset. > Doing so in ~/.profile or an equivalent to it should suffice. Sounds reasonable. Users who wish to control pulseaudio outside of the configuration system can just exclude the service, or unset PULSE_CONFIG and PULSE_CLIENT_CONFIG in their profile. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4XoDkACgkQoqBt8qM6 VPpsOQgApO7EI+gxV5vL4vRNhf/2nN2bDyXYSjgyJhDKfw6TAieMSSVsHOz129IB p2yuU6r7aGrGpyCMIbpEz3a+g1CAzuSEc8REvs3TT8LObgJOcsT4WdYDw7gGHLAm eQFrgecuVbIedhNDpVB1Vs6nAYOqmsGctHq0PYeLfHhRL7g4JVGxSZojYaIHeAYl EUPdADPI3QsEaUFN+IEdLMImBKE5FB5CGG+0/5lRXPeBes7U8vmAcSAMktiFApOL f9Wh0yTvzL1HfWcL8PjnnP/6CVh5FD6l/M9s8zHzOrOciSg9IGCoXQgjcnKi5DG3 cR8AlK7YurSE/bO9IF0ruUAffBO01g== =/KgR -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 17:49:26 2020 Received: (at 39053) by debbugs.gnu.org; 9 Jan 2020 22:49:26 +0000 Received: from localhost ([127.0.0.1]:53296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipgcH-0007KQ-VI for submit@debbugs.gnu.org; Thu, 09 Jan 2020 17:49:26 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:20952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipgcE-0007K9-Pl; Thu, 09 Jan 2020 17:49:24 -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 47v1Wd51C9z1DHSW; Thu, 9 Jan 2020 23:49:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v1Wd51C9z1DHSW DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578610159; bh=ELSh8dPYpy+kYyf+u+drC6yE004BqDoqITSn0EiVW4c=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=IJ58JJHlZ+/5Ee7POMUeVMEbfz/TeLmXFKPvHCwyhrqHapcOFIRx4bs5h5qlXNkxf /6cisJo6TsRQLIbdovZYYBn9Uj9nfQlIlr3kK4H8upoiaPS6uwZZOyh7bMlA4cRFl9 jZopKbnfb4msU2TxgT/ENHtNpxoJke4xHBb8QMZs= Message-ID: Subject: Re: bug#38172: WebkitGTK-based browsers: System volume suddenly maxed out when playing audio or video From: Leo Prikler To: Marius Bakke , raingloom@riseup.net Date: Thu, 09 Jan 2020 23:49:17 +0100 In-Reply-To: <87eew81hmb.fsf@devup.no> References: <20191111220941.09cae111@riseup.net> <1e5ef8c196053fbeada65e8f525520fb6483530f.camel@student.tugraz.at> <87eew81hmb.fsf@devup.no> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: Oleg Pykhalov , 39053@debbugs.gnu.org, 38172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Donnerstag, den 09.01.2020, 21:48 +0100 schrieb Marius Bakke: > > I have a preference for making this field empty initially to have a > 1:1 > compatibility with the current PA client and daemon configuration > (i.e. nothing). Then a follow-up patch can add this new > configuration, > perhaps with an explaining comment. Fair enough. This would mean I'd have to split 0001 into two, but okay. > Does it make sense to have default-script and system-script default > to > (file-append pulseaudio "...") and avoid the conditional altogether? The idea behind it was to have the script itself in the code rather than asking users to construct a mixed-text-file, but I'm fine either way. > This means pulseaudio will start looking in /etc/pulse for > configuration > files on foreign distributions too, right? > > I wonder if there is better way to give it configuration > files. Perhaps > by patching the D-Bus service files? Not a blocker for this series, > but > something to consider in case /etc/pulse causes trouble. This is already addressed by the renewed series I sent to guix-patches. I know you already found that, but I'd like to repeat it for those who thus far have only read this thread. > End on #t. As above, but thanks for the hint, I missed the warning it seems. > [...] > > > From e24016f9a44a113847dd937ac47ab4bdb960236d Mon Sep 17 00:00:00 > > 2001 > > From: Leo Prikler > > Date: Thu, 9 Jan 2020 01:29:13 +0100 > > Subject: [PATCH 3/3] services: Add pulseaudio to %desktop-services. > > > > * gnu/services/desktop.scm (%desktop-services): Add pulseaudio > > service. > > This will pull in "swh-plugins" which was the original intention > behind > pulseaudio-service before this patch series. Before adding it to > %desktop-services, I would prefer if the pulseaudio environment > configuration could be made modular, so that there are no > configuration > differences for end users, i.e. they'd have to actively enable the > LADSPA plugin. I think adding a field ladspa-plugins, which accepts a list of packages and adds their "lib/ladspa" would be the right approach here, but I also feel, that this perhaps deserves its own service unrelated to pulseaudio. WDYT? Either way, I agree on the "having to actively enable" part. > As a final note, can you also update doc/guix.texi accordingly? I will once I've figured out how to best handle these fields. Regards, Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:29 2020 Received: (at 39053) by debbugs.gnu.org; 10 Jan 2020 01:49:29 +0000 Received: from localhost ([127.0.0.1]:53361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQX-0003fj-7O for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:29 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:7357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQU-0003fQ-Kf for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:27 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5WQ26Jbz1DWqb; Fri, 10 Jan 2020 02:49:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5WQ26Jbz1DWqb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620962; bh=/DtmfvupVTx3tDbTlfHDWJYEDPMn8ICkPGzhxR0s97A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ks/6FB0ERD5KioK8iOtTrT52bfhmalD6ddJcVgUhAueaW2JmHOJaaiRQQF1LZFBu7 hu+qvb5mx1BQq5YEJgzn5ytr2wJkzKwBmfSs8Mpq3eArquZ62FRuLm1bSaIenrIX3D fSTXLOtMkmHMmu69ENMqCl9qyIiVvErN3qtuRI/U= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 1/6] services: Add pulseaudio-configuration. Date: Fri, 10 Jan 2020 02:48:19 +0100 Message-Id: <20200110014823.10595-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/sound (): New record. (pulseaudio-etc): New procedure. (pulseaudio-service-type): Update accordingly. --- gnu/services/sound.scm | 43 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index aaca733729..307e62fd1b 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -34,6 +34,7 @@ #:export (alsa-configuration alsa-service-type + pulseaudio-configuration pulseaudio-service-type)) ;;; Commentary: @@ -106,19 +107,57 @@ ctl.!default { ;;; PulseAudio ;;; +(define-record-type* + pulseaudio-configuration make-pulseaudio-configuration + pulseaudio-configuration? + (client-conf pulseaudio-client-conf + (default '())) + (daemon-conf pulseaudio-daemon-conf + (default '())) + (script-file pulseaudio-script-file + (default (file-append pulseaudio "/etc/pulse/default.pa"))) + (system-script-file pulseaudio-system-script-file + (default + (file-append pulseaudio "/etc/pulse/system.pa")))) + (define (pulseaudio-environment config) ;; Define this variable in the global environment such that ;; pulseaudio swh-plugins works. `(("LADSPA_PATH" . ,(file-append swh-plugins "/lib/ladspa")))) +(define (pulseaudio-conf-entry arg) + (match arg + ((key . value) + (format #f "~a = ~s~%" key value)) + ((? string? _) + (string-append arg "\n")))) + +(define pulseaudio-etc + (match-lambda + (($ client-conf daemon-conf + default-script-file system-script-file) + `(("pulse" + ,(file-union + "pulse" + `(("client.conf" + ,(apply mixed-text-file "client.conf" + (map pulseaudio-conf-entry client-conf))) + ("daemon.conf" + ,(apply mixed-text-file "daemon.conf" + "default-script-file = " default-script-file "\n" + (map pulseaudio-conf-entry daemon-conf))) + ("default.pa" ,default-script-file) + ("system.pa" ,system-script-file)))))))) + (define pulseaudio-service-type (service-type (name 'pulseaudio) (extensions (list (service-extension session-environment-service-type - pulseaudio-environment))) - (default-value #f) + pulseaudio-environment) + (service-extension etc-service-type pulseaudio-etc))) + (default-value (pulseaudio-configuration)) (description "Configure PulseAudio sound support."))) ;;; sound.scm ends here -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:31 2020 Received: (at 39053) by debbugs.gnu.org; 10 Jan 2020 01:49:31 +0000 Received: from localhost ([127.0.0.1]:53366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQZ-0003gD-Fk for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:31 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:24058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQV-0003fV-Q1 for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:28 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5WS5XKLz1DWqd; Fri, 10 Jan 2020 02:49:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5WS5XKLz1DWqd DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620964; bh=ahAiGZkcp3tHEIkzNu+iYaDKmNJ30Ogn5IT4Cl4dAuY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uShZXCl0V/okur+WtYjRJWmy1kiXZfePKS3yf5BsK5gL0vDxSqbL8mbA6pROuoJRr i9WIeTIvSEOdhVnKv3xZ7HzpHpvLAXM6rVmWYXWNMcG2WYabSp8WYSitw6Y7fLwVjk eC5BkgdnU1jiciqJAqcI8bdqQ7Dzu14Pg8QP4VFE= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 2/6] services: pulseaudio-service-type: Honor /etc. Date: Fri, 10 Jan 2020 02:48:20 +0100 Message-Id: <20200110014823.10595-2-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/sound (pulseaudio-environment): Add PULSE_CONFIG and PULSE_CLIENTCONFIG. --- gnu/services/sound.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index 307e62fd1b..6b2b345a44 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -123,8 +123,10 @@ ctl.!default { (define (pulseaudio-environment config) ;; Define this variable in the global environment such that ;; pulseaudio swh-plugins works. - `(("LADSPA_PATH" - . ,(file-append swh-plugins "/lib/ladspa")))) + `(("LADSPA_PATH" . ,(file-append swh-plugins "/lib/ladspa")) + ;; Define these variables, so that pulseaudio honors /etc. + ("PULSE_CONFIG" . "/etc/pulse/daemon.conf") + ("PULSE_CLIENTCONFIG" . "/etc/pulse/client.conf"))) (define (pulseaudio-conf-entry arg) (match arg -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:32 2020 Received: (at 39053) by debbugs.gnu.org; 10 Jan 2020 01:49:32 +0000 Received: from localhost ([127.0.0.1]:53368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQZ-0003gF-Mn for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:31 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:22965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQX-0003ft-UM for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:30 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5WW0lHfz1DWqf; Fri, 10 Jan 2020 02:49:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5WW0lHfz1DWqf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620967; bh=iY801Is3uK6jNdzGW6FRDfKuJoZMUAcjbX/mOc73t8E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eyh5E/uvus2B69KSSH8ORiKGi156ACPYy+xU8htWB1qaWJcG5d4nla0WJMSwlA3JW 40sPuQXg1sNDJLqqNLGLQ1VI5qjEpZ1deJPDX5rGgxh61eRJZ0SMQL+19+CgaSQmLo mT6t6w6K/OwWNpwN/qKS3vqX2TLDqogfpb0jeBdk= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 3/6] services: pulseaudio-configuration: Set flat-volumes to no. Date: Fri, 10 Jan 2020 02:48:21 +0100 Message-Id: <20200110014823.10595-3-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/sound (pulseaudio-configuration) [daemon-conf]: Disable flat-volumes. Enabling flat-volumes, as is the upstream default, causes unpleasant experiences to users when applications inadvertently max out the system volume (e.g. as in #38172). --- gnu/services/sound.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index 6b2b345a44..5d72b3ada2 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -113,7 +113,7 @@ ctl.!default { (client-conf pulseaudio-client-conf (default '())) (daemon-conf pulseaudio-daemon-conf - (default '())) + (default '((flat-volumes . no)))) (script-file pulseaudio-script-file (default (file-append pulseaudio "/etc/pulse/default.pa"))) (system-script-file pulseaudio-system-script-file -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:35 2020 Received: (at 39053) by debbugs.gnu.org; 10 Jan 2020 01:49:35 +0000 Received: from localhost ([127.0.0.1]:53379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQd-0003h5-48 for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:35 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:6175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQa-0003gN-9v for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:33 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5WY2krNz1LgFk; Fri, 10 Jan 2020 02:49:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5WY2krNz1LgFk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620969; bh=BnEThEQMcSDQ0f63IG1lTCBZiczaMuJVwVXoj28Sdw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZIa/6afxIQvmlXwfL3HkWw6CGsJjV7niIR19NitXXxPSWMtBI1xZmijfMFEzwA3qj N+0+PRb0UO9MnBfGzok5O3VICxi2MwlA8ynnO7yupQPFauMb/f/DnLZz8qUWffkH0p ifS0sCGRyW+yNDeGOT14minrobRwfBiSYpicd/4U= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 4/6] services: Split ladspa-service-type from pulseaudio-service-type. Date: Fri, 10 Jan 2020 02:48:22 +0100 Message-Id: <20200110014823.10595-4-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/sound.scm (ladspa-configuration): New record. (ladspa-environment): New procedure. (ladspa-service-type): New service type. (pulseaudio-environment): Remove LADSPA_PATH. * doc/guix.texi: Adjust documentation. --- doc/guix.texi | 20 +++++++++++--------- gnu/services/sound.scm | 33 ++++++++++++++++++++++++++++++++- 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 60491af4d4..431895aa7d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15951,19 +15951,21 @@ pcm.!default @{ See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details. -@deffn {Scheme Variable} pulseaudio-service-type -This is the type for the @uref{http://www.pulseaudio.org/, PulseAudio -sound server}, which sets the @var{LADSPA_PATH} environment variable to -allow PulseAudio load modules from @code{swh-plugins} package. +@deffn {Scheme Variable} ladspa-service-type +This service sets the @var{LADSPA_PATH} variable, so that programs, which +respect it, e.g. PulseAudio, can load LADSPA plugins. -See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the -details. - -The following example will setup the service: +The following example will setup the service to enable modules from the +@code{swh-plugins} package: @lisp -(service pulseaudio-service-type) +(service ladspa-service-type + (ladspa-configuration (plugins (list swh-plugins)))) @end lisp + +See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the +details. + @end deffn @node Database Services diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm index 5d72b3ada2..64b45f585f 100644 --- a/gnu/services/sound.scm +++ b/gnu/services/sound.scm @@ -35,7 +35,10 @@ alsa-service-type pulseaudio-configuration - pulseaudio-service-type)) + pulseaudio-service-type + + ladspa-configuration + ladspa-service-type)) ;;; Commentary: ;;; @@ -162,4 +165,32 @@ ctl.!default { (default-value (pulseaudio-configuration)) (description "Configure PulseAudio sound support."))) + +;;; +;;; LADSPA +;;; + +(define-record-type* + ladspa-configuration make-ladspa-configuration + ladspa-configuration? + (plugins ladspa-plugins (default '()))) + +(define (ladspa-environment config) + ;; Define this variable in the global environment such that + ;; pulseaudio swh-plugins (and similar LADSPA plugins) work. + `(("LADSPA_PATH" . + (string-join + ',(map (lambda (package) (file-append package "/lib/ladspa")) + (ladspa-plugins config)) + ":")))) + +(define ladspa-service-type + (service-type + (name 'ladspa) + (extensions + (list (service-extension session-environment-service-type + ladspa-environment))) + (default-value (ladspa-configuration)) + (description "Configure LADSPA plugins."))) + ;;; sound.scm ends here -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:38 2020 Received: (at 39053) by debbugs.gnu.org; 10 Jan 2020 01:49:38 +0000 Received: from localhost ([127.0.0.1]:53384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQg-0003hb-Kg for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:38 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:28078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQe-0003hL-S5 for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:37 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5Wf1kDPz1LgHB; Fri, 10 Jan 2020 02:49:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5Wf1kDPz1LgHB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620974; bh=BmbFX/TMQsnyuHIIhBFJSl6NIBuK+m+WL3HSFR+hOdM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JdRxQ1QRkI3/NInWqS/E808cwv+fRtkIWx3IDpCBllGkxRUfscGLcSThizcbrIksr /VHPiz1TmEOpwUH1SvRKUdObluYi2uKBhYeyl8GUTWn8lc56UYD9fqeYsOgYPfETdl r6jfT3gJugxqeA2VAFLvskAOJVUeC4rFdVQTOiWU= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 6/6] services: Add pulseaudio to %desktop-services. Date: Fri, 10 Jan 2020 02:48:24 +0100 Message-Id: <20200110014823.10595-6-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/services/desktop.scm (%desktop-services): Add pulseaudio service. --- gnu/services/desktop.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index b40622a637..1be05fda4e 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1183,6 +1183,7 @@ or setting its password with passwd."))) x11-socket-directory-service + (service pulseaudio-service-type) (service alsa-service-type) %base-services)) -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 09 20:49:46 2020 Received: (at 39053) by debbugs.gnu.org; 10 Jan 2020 01:49:46 +0000 Received: from localhost ([127.0.0.1]:53389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQo-0003iF-3A for submit@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:46 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:27263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ipjQc-0003gu-N1 for 39053@debbugs.gnu.org; Thu, 09 Jan 2020 20:49:38 -0500 Received: from localhost.localdomain (193-80-82-122.hdsl.highway.telekom.at [193.80.82.122]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 47v5Wb5cb3z1LgH5; Fri, 10 Jan 2020 02:49:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47v5Wb5cb3z1LgH5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578620971; bh=vHBTS+izA4VcvcH17hUm1G7Qu78lR4cbg5h+3x843eU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KsGIyY9bu0LshNjh2/6AHZe0bJk0FF4n+bQA1ApwVKX2Sa8alkO+BQnnXN5iSVF1R H65p7OM6+kn3kneYe5XvCJAeP6ZrHl3u+LvPlI3Rw53T69S3LSo3Niwo+UMeE0DkFr lAlaJjoLgMjw3j2FeHpWAsuQIteCPYRp04bqfUrs= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH 5/6] doc: Add pulseaudio documentation. Date: Fri, 10 Jan 2020 02:48:23 +0100 Message-Id: <20200110014823.10595-5-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.24.1 In-Reply-To: <87blrc1epy.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * doc/guile.texi: Add documentation for pulseaudio-service-type and pulseaudio-configuration. --- doc/guix.texi | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 431895aa7d..05d826f6d8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15951,6 +15951,48 @@ pcm.!default @{ See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details. +@deffn {Scheme Variable} pulseaudio-service-type +This is the type for the @uref{http://www.pulseaudio.org/, PulseAudio} +sound server. It exists to allow system overrides of the default settings +via @code{pulseaudio-configuration}, see below. + +@quotation Warning +This service on its own does not ensure, that the @code{pulseaudio} package +exists on your machine. It merely adds configuration files for it, as +detailed below. In the (admittedly unlikely) case, that you find yourself +without a @code{pulseaudio} package, consider enabling it through the +@code{alsa-service-type} above. +@end quotation +@end deffn + +@deftp {Data Type} pulseaudio-configuration +Data type representing the configuration for @code{pulseaudio-service}. + +@table @asis +@item @code{client-conf} (default: @var{()}) +List of settings to set in @file{client.conf}. +Accepts a list of strings or a symbol-value pairs. A string will be +inserted as-is with a newline added. A pair will be formatted as +``key = value'', again with a newline added. + +@item @code{daemon-conf} (default: @var{((flat-volumes . no))}) +List of settings to set in @file{daemon.conf}, formatted just like +@code{client-conf}. + +In addition to the above, @code{default-script-file} will be set to the +value of @code{script-file}. By default, @var{flat-volumes} is set to +``no'', so as to avoid bugs related to this feature. + +@item @code{script-file} +Script file to use as as @file{default.pa}. Defaults to the one included by +the @code{pulseaudio} package. + +@item @code{system-script-file} +Script file to use as as @file{system.pa}. Defaults to the one included by +the @code{pulseaudio} package. +@end table +@end deftp + @deffn {Scheme Variable} ladspa-service-type This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins. -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 11:48:13 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 16:48:13 +0000 Received: from localhost ([127.0.0.1]:56516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqJvp-00029y-9c for submit@debbugs.gnu.org; Sat, 11 Jan 2020 11:48:13 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43891) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqJvm-00029g-Pc; Sat, 11 Jan 2020 11:48:11 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4A01121F15; Sat, 11 Jan 2020 11:48:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 11:48:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=y0F3erPm74rVADlzbe3zW+Lz6u gwUgeGfMRGnIc1EM8=; b=t5Y/+RyaeMZJJVrwxwcx9Ed0FQgKS9g8HcGz8a0dL4 6ANwC4WHIGniGavMOdfcDNocAgKOBFPGtr+p++8jSAkugyBeUO8/lfBguugSM74z xtZGv0ayz1I87lzmKqXh11nTZ4cRXSBKLCdcIHFMF1LCduFHY8O+2swyCCF71j/+ 8GeV2OnBX7rGVFKd3/eDofiYyTxaBs6wXB+hbRvdZFCGeD2aown8mU3oXtLfa8eB C2NjKEW4+LwM/ep1jr3NXfB9rOSSEJ12W67T83tcWoVAr/+UQGyyNhaVBA2qUT4O 2fzPU1+d+A8Lqj8zZDlBJmK7p88bIOHi3Dqbtz1zjQjQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=y0F3er Pm74rVADlzbe3zW+Lz6ugwUgeGfMRGnIc1EM8=; b=Xk0kE2CP1LUWCmOYsKcoSB 3UhQh8C3SlmOUs7V68wCWeFjR8AilS2jc1zZR9np+QnL7HzB7q4gt/Ml1IhM5aED gUz1iDzv3naqh06oocuAb0tBwA7nnLjaXUkUVEGsQ2CM576P97M4pgAQGZZGdQO/ EY1B9KLxm+TdS6LchG8oPYcVkLQH5/NG7Ael0tR4Vp7tOlZNhH0XSCGXLkvaoGcr 7EEEZSp5UUtYu4vfaaIb7LZT02JdHh0T2mZuKACHo3X8WWHWqAnWnKSj99jOTnpE aElK9RX3vKuAez70CCMXEvf79NemaSMDpIvoY5w8tgzSb7TJyEPe8SE6Ws2E9i0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 815B530607BE; Sat, 11 Jan 2020 11:48:04 -0500 (EST) From: Marius Bakke To: Leo Prikler , raingloom@riseup.net Subject: Re: bug#38172: WebkitGTK-based browsers: System volume suddenly maxed out when playing audio or video In-Reply-To: References: <20191111220941.09cae111@riseup.net> <1e5ef8c196053fbeada65e8f525520fb6483530f.camel@student.tugraz.at> <87eew81hmb.fsf@devup.no> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 17:48:01 +0100 Message-ID: <87zheuym66.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 Cc: Oleg Pykhalov , 39053@debbugs.gnu.org, 38172@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Prikler writes: > Am Donnerstag, den 09.01.2020, 21:48 +0100 schrieb Marius Bakke: >>=20 >> I have a preference for making this field empty initially to have a >> 1:1 >> compatibility with the current PA client and daemon configuration >> (i.e. nothing). Then a follow-up patch can add this new >> configuration, >> perhaps with an explaining comment. > Fair enough. This would mean I'd have to split 0001 into two, but > okay. Excellent. :-) >> Does it make sense to have default-script and system-script default >> to >> (file-append pulseaudio "...") and avoid the conditional altogether? > The idea behind it was to have the script itself in the code rather > than asking users to construct a mixed-text-file, but I'm fine either > way. Right. I just have a preference for the default being "up-front", instead of magic hiding behind an #f. :-) There's also LOCAL-FILE and PLAIN-FILE, which are more "obvious" than MIXED-TEXT-FILE. It could be useful to support plain strings for users who don't wish to much about with G-expressions though, hopefully users will send a bug report if they find it limiting. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4Z/EIACgkQoqBt8qM6 VPrpuwgAndmxjxcRd/XSMcazQbXIS4/1YqiayLEzn5WkmYxOJlTZFJEp7XApoLcw JWNQ65SYbQ0QPoDE6DSs/YVa+fzHYk33aqhSwOF1GZrR0DyYMyv+281q0a27QBNn QG/nHq+HXjf4tpraYf9Xe6+oYp1kFIy7vYlQu+DxGaELvzVrUYNveC/uzPpz+Bdz keK/tw4n8Q/RT5IzTCMF8+HaUai/jOKsR/+i1KYx5IHAdx5DDnm6bTGejtqGUP0x J5Pibe12khiu9IQN3Y8CQweEbNG0F94GAaRxzb8OixehGUSZTyHlrcM0t8XqZtpp +WDPxy1V9xtekHrmksDexTl+ISpd0g== =RHYI -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 11:54:55 2020 Received: (at control) by debbugs.gnu.org; 11 Jan 2020 16:54:55 +0000 Received: from localhost ([127.0.0.1]:56524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK2J-0002JR-6A for submit@debbugs.gnu.org; Sat, 11 Jan 2020 11:54:55 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK2I-0002JD-KW for control@debbugs.gnu.org; Sat, 11 Jan 2020 11:54:54 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E10C921B2F for ; Sat, 11 Jan 2020 11:54:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 11:54:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=bjJkn4CA38Sr57sdJ6kw/P5N/WyKHvaNzlI35UGrSH4=; b=bje0MXIE 4Xb+6a7xWH3whCM4Cp5UmyG+3a+bYZdicovi6iCz7Ss51mi6J4rITvGt2sbgMPUF gxWEFIYDsDWn2DShqPdD5tXjMikhj5p6qrvvN9/LKE3n9/xq4r2cN/f99eSVc+SL rxNC/LRfPNFamKGJRSKMsvjG/tR+5OOmOJ9JLKfNthE0wqE96Is1mVEXw+rDHAIl cJY4r3zo7L7Pv6Fgmvmvs7Sd2e+nH3jmVG+pOs14MHT/SOJ9VPZXnxsdSsio1OSP cUpKkOiAbUmkLP3rPZt1qDnoz8HVt/iI52eIt1mTqAlavEBLkxQ4zYx/kdJN3I1f ybhSZmrpZzw/SQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=bjJkn4CA38Sr57sdJ6kw/P5N/WyKH vaNzlI35UGrSH4=; b=P76XbLRwmvQicqiwz8vjZ/2oQQKi6PVMA19v7Sm0oPPqV a3gRnXsY3n4T5O+HeKZgCBx6nH35Tgo0EwjaRFZ/Lc4AmSf2siAFHzPBlYfYFL5Z CMFXVCyJwVcxuVhOoVnilS+vMuLbt101fgHrYOPNfXvoCwXFbQ8KK/7OTXEAvc4I yjBpD4lzf+Vu8ViXQ0KksRVcp9ryAl0ueX38SQu9vP/fvQsJa1laQQ+XkKr0lkfc N0sGH8YR0PHUVIvvUAxdpr3n0OlWnlG3TbBtzCVZyVn5k6zw3f7m7teBhlArH4tf X6GRTdNSVF9vvRfm4AcgkaU1gUt6ibJg/zixLabmQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpeforghrihhushcuuegr khhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepkeegrdehvd drvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghs thhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 3717A8005A for ; Sat, 11 Jan 2020 11:54:47 -0500 (EST) From: Marius Bakke To: control@debbugs.gnu.org Subject: Date: Sat, 11 Jan 2020 17:54:45 +0100 Message-ID: <87v9piyluy.fsf@devup.no> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 39053 39052 39054 39055 39062 39061 39063 39065 39064 thanks Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: fastmail.com] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.25 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mbakke[at]fastmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [66.111.4.25 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) merge 39053 39052 39054 39055 39062 39061 39063 39065 39064 thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 11:58:04 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 16:58:05 +0000 Received: from localhost ([127.0.0.1]:56533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK5M-0002Oq-LA for submit@debbugs.gnu.org; Sat, 11 Jan 2020 11:58:04 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK5L-0002OL-Cb; Sat, 11 Jan 2020 11:58:03 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2DB4E21E5B; Sat, 11 Jan 2020 11:57:58 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 11:57:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=ex1//q3VNCpmsQaGT5MjAUwp0N SaK0jjhTuxwxLz1Ms=; b=kTrQlTsEE7P6qVJSN7jqFBFzkARD2+m63Dj8l6fNlz DpwyDHZy1JzYnFbAMlzCoJYo9FjkxagKhUKR2Pwie9ynNSBTlg6vi9gy+ZOXQJER WCUQwDRM1WQ0VaIOVOWW35/MtJm47KIMv8V8l2Rs+5jOxEGxwSHK3Y2ed+8t1IFQ kTAFwnbQ8vp0wAVZ5YfpeQOEQZ657UQ1V4tKCd0j1erCgUdQwUzS8qcejtHfl0h+ tmSBZwi17C//7TfCm8qM/xZ5uGo5CAgPKkTyMlpjKVv9xypF1pjXcWibrEWGSfN6 HlSHRNmS4vaeXzta0sJ4n3rF/do24qFO/93G524NGUGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ex1//q 3VNCpmsQaGT5MjAUwp0NSaK0jjhTuxwxLz1Ms=; b=u30fsYcEdwYqVvPjf5ell4 eqBldR9ruR87YgNzQTZSPZWyhHE3Mr+njk5LgDrNlSTvGycErA2y4Fev+AFsHjls G5E1k0c11Ea2Tg1zCi1IB+UCaQAzCM/LrbWsNkwG3NbGaqszTSMxlL0NglM05Htm PS8QVv/xvOr0/UaZ+8NcRFOCRC2XjY9HetySMWIytfteQFGjoM3OjvEVua9iRCYD PVICNtNxpF+fo5yn+p57zdoB8yLLo7NwVSkE8ESdAsAUMkQGXZlH+liGOetYD/GQ bvQER8/pzg185RiI0IdseDw60hGUU+7LSnMClDWcQGRdERZOLrqPnZMeun9PIc5Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 6EAB930602DB; Sat, 11 Jan 2020 11:57:57 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39061@debbugs.gnu.org Subject: Re: [bug#39061] [PATCH 2/6] services: pulseaudio-service-type: Honor /etc. In-Reply-To: <20200110014823.10595-2-leo.prikler@student.tugraz.at> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-2-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 17:57:56 +0100 Message-ID: <87tv52ylpn.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > * gnu/services/sound (pulseaudio-environment): Add PULSE_CONFIG and > PULSE_CLIENTCONFIG. > --- > gnu/services/sound.scm | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm > index 307e62fd1b..6b2b345a44 100644 > --- a/gnu/services/sound.scm > +++ b/gnu/services/sound.scm > @@ -123,8 +123,10 @@ ctl.!default { > (define (pulseaudio-environment config) > ;; Define this variable in the global environment such that > ;; pulseaudio swh-plugins works. > - `(("LADSPA_PATH" > - . ,(file-append swh-plugins "/lib/ladspa")))) > + `(("LADSPA_PATH" . ,(file-append swh-plugins "/lib/ladspa")) > + ;; Define these variables, so that pulseaudio honors /etc. > + ("PULSE_CONFIG" . "/etc/pulse/daemon.conf") > + ("PULSE_CLIENTCONFIG" . "/etc/pulse/client.conf"))) I squashed this with the first patch. By the way, for future merge request, please open a single bug report and send all patches to NNNNN@debbugs.gnu.org. I've merged the bugs opened by this series. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4Z/pQACgkQoqBt8qM6 VPr65QgAibs8txfpQzOe7wBwdBG0otBy8u5wjlt9uRd+OJXYHbHmBN7b0LvCT8Sr 7v1h8sQIeqygaqBwsFBoBl90ZzKzrdDIrExaGXVnn3T287Pjrk2FYd/Yi1uWRU15 vHDG3DlLT3ep5VCAKkBnQplqx0o6OUvS1/Tp+W/iKhvn9yAxv61LcEEIcYg3Ve3r PWNpzJHNoNGd/u/HJWa3qdozT+MBk0aFhfMTWA2drwifhkxUjBJ52cgyGW+z5R5L m7Q5ftKLiox54fQSsNFuuNUGd4/IVkSgO5w02+orEAmRtedO/jajNlVLuqAFvhbu sh+LfOz6XC9dDGdS7H60aoikH+8wBA== =7qYN -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 11:59:32 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 16:59:32 +0000 Received: from localhost ([127.0.0.1]:56542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK6m-0002RG-AY for submit@debbugs.gnu.org; Sat, 11 Jan 2020 11:59:32 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK6k-0002R1-4Z; Sat, 11 Jan 2020 11:59:30 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DB3B421F18; Sat, 11 Jan 2020 11:59:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 11:59:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=9GP7l4Y64FsSvjs8Kxf/BkJzcQ W4rnlFQI/0zEC2eG4=; b=gqdj/ZsJGM7wT+8KFMvhGbAuO8f9SkONbBZQ4NdwwL 5G9a8SANslUYgy0ruRFhoevw00TyCpqKSkW0Ss5GEfhLyKuXynZA2BAH+kIxuR0b JvCDPaytrAYcGka6d55q1TYcnyC3dKEhVFbiTDNr+lPpJdsUSdjLP24Cv/kghnhQ dKaQ//kokaDVFBavpCxxyN1Lx/+dNC9qJd0G+ugR+i0kFz2mS4Zxhs6de3i7w7n3 0KYOeRl+QAh6xPt0UpObWqRvDDt7x/8IBwEu94ZQzfrc/zY7lgqo5Th61FHDxzRG TlYKtIkX9SUX8GNLcwQzgFflxdKGJ9keioT031IBVYXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9GP7l4 Y64FsSvjs8Kxf/BkJzcQW4rnlFQI/0zEC2eG4=; b=qQJHc5lFZFy5+NNsy+Kbje kcRszzQhlXm0rWuWCH2986pZr/gPkjaB5enA+oPlk2N+JqgoqCL9LGMUV87MteVC rU3cHbzTonuE97j1HrmN/BhrhNJWVwDZzF53WHW2NYKco6Xm4PN5pNm5n/QH3rlx vEYivkG9IsMJ0CIbHk65BN6bF3esxA8QBd66x050wSGM+0kjSAOQPxtjjlFaM+2w 97FAh0pjUANBtlZ+IZat/ia6Uexfq/74HELChMT/lL4Uj0FekyUr+lp567uAqN/y MLkIL6SHn8EIQ/q4j+xLD+8tcNUctnuGkH1LIKPn3Qsjq1odJoquNTIITCCnThjw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 746B330607B0; Sat, 11 Jan 2020 11:59:24 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39063@debbugs.gnu.org Subject: Re: [bug#39063] [PATCH 3/6] services: pulseaudio-configuration: Set flat-volumes to no. In-Reply-To: <20200110014823.10595-3-leo.prikler@student.tugraz.at> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-3-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 17:59:23 +0100 Message-ID: <87r206yln8.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > * gnu/services/sound (pulseaudio-configuration) [daemon-conf]: > Disable flat-volumes. Enabling flat-volumes, as is the upstream default, > causes unpleasant experiences to users when applications inadvertently max > out the system volume (e.g. as in #38172). I moved this comment inside the service definition code so that we don't have to reach for 'git blame' when we forget why it was added. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4Z/usACgkQoqBt8qM6 VPp9GQf/RnyCLb7b/Voc6gEI+SJXKOIibzpQTDoRa94/CE+XxmaNs/NwiiAOt0i7 xCf2DfQiVH2T+jAQsO38HfG7nWp8XhjYqVXuTMdtaf4LABW6/gmTNrl+xVOTe2au hGNq26yzLvdlSBZMdw/OZllqQ+UEezIKHnCwnrI3czNbx5AspdygI3CiTpIB0883 aMatJvb5D08eKyNCJxoJEBvwG0htq6e+Rzu0bzBrjRMYvSpD3B0hSehdQvOgBPPH Y/ZnCtCrTm90MYFI3dRS7QpRgIDMtxBm5G2dGzMuEvc28sddPMFWveeYt5TwSzeD O1K9zd9fjH6jHhIJlYdvYD/94QbZeg== =m7/s -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 12:00:43 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 17:00:43 +0000 Received: from localhost ([127.0.0.1]:56551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK7v-00032t-0P for submit@debbugs.gnu.org; Sat, 11 Jan 2020 12:00:43 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqK7t-0002xH-G7; Sat, 11 Jan 2020 12:00:41 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4ACB521EBC; Sat, 11 Jan 2020 12:00:36 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 12:00:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=1CAoowc+1N0YkAlBWCrO9fizDl FN1q31dxNdvAPglow=; b=PHbyXawmOppiCssJQDRLmEyL+Y/qbMU3zY68kgxGuI Prww4LfnaFmazNftKp2ooWcvC3vEWlahNEhVjkYS788GgdmYI9+Pf56XGhfDqPOy lb04YRPTyjJ/Z7f8BMgctYNXY68S5U8zhZVfw8TumFbmfqyPKhAJYe6DqMwb/WvY 4mm+5cwHSQJ0e7W6qRQvH53S8AmAjGDcKspZnAmgYZ9lHYDyK6NH8EwWwkTjPh/0 ire3/Pml+YAWapY2bVGOg4Tvk673aJFZ+auxoeCI/mzV43ow7xb9G2hDpvDYEsCL zOFYZ68xUev4dOFg0D0WpYTyXin0mSvRSQ0fGUsSq3jA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1CAoow c+1N0YkAlBWCrO9fizDlFN1q31dxNdvAPglow=; b=cdW39o8TCAABSw2npH0Fso krGSGUUiz/2Sv94EquIHAt37KeW3vccPWHhzbHK1hZmMglNZI4Oja0m7PK1JORE6 UjvKJW6ZhRLcsvug/8BkB5TFFTuepkNhPO7PU/tPkITWwWL6QwQoOdUIXmNOKkvP nTkt6S5aUyEmjzkBjLNlLNp3CtKJQnPLPlptOijidr36X1X0waqyd9qkIBJcJtjL 3uoDtwvaNQaS/1P/Fj6SYmX6ou3Omm1ouC0USU/bgk1Z2jRPr+moFAf4uLLx0OGu mt5TS1E9gufDgRvY+rW4BOzzp5L3/n34rSP+rmiGS/Runt/AZ7UWpX3OviQL6/rQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedv X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id A1A6430607B0; Sat, 11 Jan 2020 12:00:35 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39065@debbugs.gnu.org Subject: Re: [bug#39065] [PATCH 4/6] services: Split ladspa-service-type from pulseaudio-service-type. In-Reply-To: <20200110014823.10595-4-leo.prikler@student.tugraz.at> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-4-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 18:00:34 +0100 Message-ID: <87o8vayll9.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > * gnu/services/sound.scm (ladspa-configuration): New record. > (ladspa-environment): New procedure. > (ladspa-service-type): New service type. > (pulseaudio-environment): Remove LADSPA_PATH. > * doc/guix.texi: Adjust documentation. This forgot to actually remove LADSPA_PATH from PULSEAUDIO-ENVIRONMENT; fixed! The previous pulseaudio-service-type is so recent that I don't think a deprecation notice is necessary. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4Z/zIACgkQoqBt8qM6 VPorxwf/fzQVqYCtE2l+9oO1DJ8ojWz2pjs2Tgh93UGTSkEZs6RA+g37PwYIBdr5 aYn/RXEWRSurDRGVMxyyY3aMftdiEfDt7LTzML24PLBjPhpKwXPpASDCMfWFz4s0 S2nHHm9I1j7D2IwBgyl5q1F87dFP1sRFP2vhuGxBKTVFcYgrAaZL8+bPshMvcAX1 fY4vmjrEfsHNpwclxioZA/9/aN1q3OWk/HPb3qdyLlV5NZ8c8nshkUwsCvTwJ5l/ EUhwi012iAA/O9QiwCkfonQ1f86TEVWtvBKE+EPytCFS/7iKAFbcNXfoiLRvOOAN HM47ptVk8g7kXsCCA7uqBik27YLDAw== =r1jm -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 12:09:18 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 17:09:18 +0000 Received: from localhost ([127.0.0.1]:56567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKGA-0004fE-M9 for submit@debbugs.gnu.org; Sat, 11 Jan 2020 12:09:18 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:46199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKG8-0004ex-Pu; Sat, 11 Jan 2020 12:09:13 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 69E3F21EEB; Sat, 11 Jan 2020 12:09:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 12:09:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=kjO+uMeZFcJGbYRlPww1s5xzF9 uaU9EZZT6agFatzNE=; b=NEKue0gAhuycnU/PJKatFwH7jpTSp2ICzH94eTkMzr ljEGxGSdbFC1e9p9TXDkB5WM8Jz/wiZcxgsgCfI4epbe/k66mJ/DhKklLRHJZn7l Ylca7GfSTY51z1gvhG369FARUg3+nXAl8SrKe52dSq2Mn0N+OX8AY99PxvWr8gNh fG0qklQ79s0bRyaR8tyn3/5EdqFdsSazz3XhLruBDL8M9YEUejBtkgNREluK6WhQ mb1SOWdYMHVBI7072Z6VSV3KdvDQPjvqVieZKxQymOewIwUwNR9gpw8mm/fQob6Z RUcvPFlpqjVLcp7LBYnLu8xsUR7Bzw7iYgLwqd+Y+q2A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kjO+uM eZFcJGbYRlPww1s5xzF9uaU9EZZT6agFatzNE=; b=VaaqC1khUUNVFJgKNkjcuN RDAlLZ45Pe7/E1AnFIRLz2TYcC+/77V+YutacXH1jg5hsKjYQc0MrA5037soEMt8 w/2JBfvK96tlyrihaRlGI5Z+SbzP7ttppgokwR+MFi/grUgWKhZNdyTUkVuUkZYG aZHVoW7o9AgbbL+YR99+HeSTQ25rMq7FxrmytXS5zmI7IYAV5ObVIRPfAtVLASdN vjMyNNuPFtqPccwhYZBoxvhi6ecp5QbOOhJAPRBF5suyHNL5GmlewBKAnZUBk7tP Vq+WvELnZO0g5HqW1nHrkgSd7Ghf7zezdZWHbOvAGA2AerLkD4PfuDfdSwGgvsWQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 849C48005B; Sat, 11 Jan 2020 12:09:06 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39064@debbugs.gnu.org Subject: Re: [bug#39064] [PATCH 5/6] doc: Add pulseaudio documentation. In-Reply-To: <20200110014823.10595-5-leo.prikler@student.tugraz.at> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-5-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 18:09:04 +0100 Message-ID: <87lfqdzzrj.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Prikler writes: > * doc/guile.texi: Add documentation for pulseaudio-service-type and > pulseaudio-configuration. Ideally this would have been squashed with the first commit, but then we'd have to move ladspa-service-type first, so I kept it as a standalone commit. I also added a copyright notice for you. [...] =20=20 > +@deftp {Data Type} pulseaudio-configuration > +Data type representing the configuration for @code{pulseaudio-service}. > + > +@table @asis > +@item @code{client-conf} (default: @var{()}) > +List of settings to set in @file{client.conf}. > +Accepts a list of strings or a symbol-value pairs. A string will be > +inserted as-is with a newline added. A pair will be formatted as > +``key =3D value'', again with a newline added. > + > +@item @code{daemon-conf} (default: @var{((flat-volumes . no))}) > +List of settings to set in @file{daemon.conf}, formatted just like > +@code{client-conf}. > + > +In addition to the above, @code{default-script-file} will be set to the > +value of @code{script-file}. By default, @var{flat-volumes} is set to > +``no'', so as to avoid bugs related to this feature. The first sentence of this paragraph is obsolete, no? The second is rather vague, so I opted to remove the whole thing. Let me know if you think something should be added! > +@item @code{script-file} > +Script file to use as as @file{default.pa}. Defaults to the one include= d by > +the @code{pulseaudio} package. > + > +@item @code{system-script-file} > +Script file to use as as @file{system.pa}. Defaults to the one included= by > +the @code{pulseaudio} package. > +@end table > +@end deftp I added a (default: ...) on these two and removed the related sentences. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4aATAACgkQoqBt8qM6 VPoQTQgAn8DBF84APhAhp61pIepSX7k5zqpjrI5O6jUmOEo+JpBTxZLRIqrooliX mDnOEqtTri6HWaRfbAkPqgQY7fwHEDHVoZ2lYgfudV5YbIdJl7xCrJFgubSNZLwg jXqNIJyNWfxaNpD2nN3IEcZytdvfMuXgRS62Xa/CDDDIpBMa9YRMHWmj0YejnX3U tLMhi8ev0/BF7ZwEpkH2LpToySyC4G4xFdJkaF1ZGowUJn10wC5kUCJH30sy9s1/ VE8SXj8BQzZvLBLpN/qY2psFpUNMBr/E+jxfoG/eJRVbILyOExT918ciCbtDPXOB /SBOgPkU0YkUsylHbbbNLMTi0M2ywQ== =r81Q -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 12:10:40 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 17:10:40 +0000 Received: from localhost ([127.0.0.1]:56578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKHY-0004hs-5E for submit@debbugs.gnu.org; Sat, 11 Jan 2020 12:10:40 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKHX-0004hf-3G for 39053@debbugs.gnu.org; Sat, 11 Jan 2020 12:10:39 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0966421B81; Sat, 11 Jan 2020 12:10:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 12:10:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=9BJJibLEBsJpY33w6pzDKMmat1 twkxa7Ylu2jiC08Yc=; b=FDje45aEPgxIMoLN0N3FGKCmtBOczXqI0ac3lXF5D8 XixJDeAKwrvQNqOYPhvufhabZi7Kjr3Q86fHtsfWvDCb3VF/l2pjYjggr2Q0BXvB ujPUx38K4bmB+fmzgEf/NpyOh4U3DB1xplCltp/FWjHug6vRHsLAKmgjsE15BWyM DC9MJr/G9dFK219ZLc8W6vS4BPyO4ne8C3H1CP7GAHjwpCjxhbnErPKyUg0/N/4W /f5VylcFhrBc0I/ZvnM0iPts7bHdUnZO1c2Jxm5Fdj7perWoW7CRNwdz635atrEz rk+U6SVPLa5AhGtyHLZSiHwL4XKDhwVHjODON/IbmrQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9BJJib LEBsJpY33w6pzDKMmat1twkxa7Ylu2jiC08Yc=; b=xNMzUpbZpVno1MdqmYKqgM bv0xV1CcC//aR5y8hSxz3LuCDpUZIJp+owsZKQo6nxoVPL1wkrngqjyxnOMrwVYt S7gL6gA0PqezaiOilORZK22JqSr9sHB9zfBtGSo1Be9oLmwUHfcscCcELDkYsyMN dAfbGi1idoc8xEeqSBX4PO0i1cJ2s7tevhXiIMv8TeJEP/6jo47dfA/Bb5GmwI7x QXyIabuARvnV4JuXL5wARAEpq6WTvUSVDqc9NsxoZesj9JfZxRiQkthhaPQ5O/JF M4j4XnrAEhbtuBw8wr678qhGOkaemSeSKL9i6scqD+vyQAnvTfn4HkDG15yJi+xQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 28D408005C; Sat, 11 Jan 2020 12:10:33 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39053@debbugs.gnu.org Subject: Re: [bug#39053] [PATCH 6/6] services: Add pulseaudio to %desktop-services. In-Reply-To: <20200110014823.10595-6-leo.prikler@student.tugraz.at> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-6-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 18:10:31 +0100 Message-ID: <87imlhzzp4.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > * gnu/services/desktop.scm (%desktop-services): Add pulseaudio service. I added a "Fixes: " line to the commit message pointing to the bug report that inspired this series. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4aAYcACgkQoqBt8qM6 VPqwTQgAzF0jjppnn3djVPQ31DIlfhcbRoP++b7QoRzV6A2Q7upc1nSuBsP2GkB4 68/MZidOl4SM3oiAcL3REzgNQyjXS7F+DftUTh2WEaNuQBRJMoZOwJ29lwDw52nA fFbk7rv9DOiJmntifHZc0HnqXmJprJURdrn3QtI6hp32et4m9VjIf3V/v4MEDyFG ENeq1djuF9n+5VOCeCcQ1p5W3LyvgCs3ocBBh9tjco7n4luE3p0mypKKQv6K1I5N z6SExjxtwsFSNyijbddFlnbZHpuvjULRqNa8RwxF9qxjbI32ACxrgB9waL/RppwN IersiewKyS4u6FL3QLuDK0x+ES5TcA== =N7ep -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 12:23:37 2020 Received: (at 39053-done) by debbugs.gnu.org; 11 Jan 2020 17:23:37 +0000 Received: from localhost ([127.0.0.1]:56587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKU4-00051N-Ka for submit@debbugs.gnu.org; Sat, 11 Jan 2020 12:23:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKU2-000514-5C; Sat, 11 Jan 2020 12:23:34 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0C5C8209AB; Sat, 11 Jan 2020 12:23:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 12:23:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=ThZb2xo3s4jiuSgSTkviZspX2X q4KYZ3nyOZowHIZnc=; b=ax4E7PTWCDqWJpPEzkT1oidmZPJLxXUDmnx5NCxbRm 6NfvMCvTnS9zIlrZnnUgaxx1j7XRU9Uhshu7/NvAStWMywolrZtqrk8cRZpJTTUb /FxOcSKjhZWYQ1poiKau2AhjmlQIlDyqeVO6Jv+qpqEpt90FeZ5WzA7MG8W2ObGC s9S5nKYxDjMVxWXadGKaiMHO5UBmqwS4ru+ohZn12wPgzO+2kMmoAvpuPxTpJjwF jFkvejDbR9377dJu8Zbsd4ewHveLMcXf369ikpWI2KFyNd97YXa1xdTcAe9g1nQf Yz3PLjfb04ry17rqW0QJPMe3Tv29MNxncEsyW6eCKNcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ThZb2x o3s4jiuSgSTkviZspX2Xq4KYZ3nyOZowHIZnc=; b=vTnJ/5CA9dr3WSloJu7Nsv FYsS6LmrOea/y/DU7ISdOd4YLFR9qPUW3dxSj0riXNM9pXv1lNKY/1OiYAgj5DGO IqNtvn/9N/Fq2phep0QPxcfWLiogFQqy8fSdjTi131nkqTsuyiHVhBplks7G2LqB 1xJDBUQjQTnD8SqDN4LdkdSlzBMlvJvya3plszhFitCN3fZhjeqLK/jWRlb9lcpN bsNSH4CPu9wCBY8HpAupgXSaB8dLqqu7I3TV1Mhog4XmN33GnWlu+486PIoBUdIm JuvAYwDZAEuHLAGBne2s6KGm31yqUDTfIqG4O4uYlggVhJH/8mHkA99CcOABBByA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 406D43060783; Sat, 11 Jan 2020 12:23:28 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39053-done@debbugs.gnu.org Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs In-Reply-To: <20200109135746.1993-1-leo.prikler@student.tugraz.at> References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 18:23:26 +0100 Message-ID: <87ftglzz3l.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053-done Cc: 38172-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Leo Prikler writes: > This series of patches adds a configuration type for pulseaudio and also fixes > a bug, where various applications would inadvertently max out the system volume > (see e.g. #38172). Thanks! I've pushed the patches with mentioned tweaks in 2c7511fb6..71e33e32f. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4aBI4ACgkQoqBt8qM6 VPoSbgf+KsPlYkYTZ1jwXDq7hDv5QpbEnbcvKR8tHjb1EX3NSZPIfMrogNj28IAc amPXpxMDc+fMrpBpREnSQ4sNvq9Ii5tKcZt2Rw9X+8ZqmGIIhKKopEMC/DknrhaB wtKSL0VuL/s5sXqBrJme3njLhXo0PSp3Ka0fyfg7NgoQW/hDt7+4cQ86wTrfkHKV I0su/St6SHYkf7GsSUVrtd+5SQQ/HDhPhjXo6r6l9nI+KMzaycoDklrU+nS64YoK HGiglS0r9U3zJNjJmREXFS8yh+0gfJIwVY3KncvjdRPN09OZkO2oGXA2wDWoDnvh Hj2YcjWeVpOj3a5628L7AKChtHVACA== =SXCg -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 12:25:55 2020 Received: (at 39053) by debbugs.gnu.org; 11 Jan 2020 17:25:55 +0000 Received: from localhost ([127.0.0.1]:56633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKWJ-00057Z-H7 for submit@debbugs.gnu.org; Sat, 11 Jan 2020 12:25:55 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqKWH-00057J-NV; Sat, 11 Jan 2020 12:25:54 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 98D1021F34; Sat, 11 Jan 2020 12:25:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 12:25:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=JnnXtdg98Slpu2zN+gr0KdxHuJ Kt1xrj0Jhn2U33Fow=; b=tBPiQRfAHYkTvMApAwuLFmJoHOHyutUXJ8R4TeVaUE Cdjx+ekPyxH3MLSrJR9jz9TFA7Vyo8BKzvndZUPMej2xQzE5VOApCxLh/cl1xCLh Bdc9QIiGEObO+Zo+RE4Tq9Rsl5dtug/PODaeysza3QIo+haUZYPVJ8iIqtv8lPvY 3dyYodpVDfG75WwyYE6o91TKe71mJBFQxYnMtWBzjiF6kk9v8Ok+zoIKh3wDS+9X x8KM/V5lO2XvVZpm+onbARKmEjjj+z8JEdeavBrzZumWT5GfnAbfbKVrHOmpe1ZZ 5PomiFU9JToO/jzrY+C/eRdIb3+qaHFMQh7yGOtNx0iw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=JnnXtd g98Slpu2zN+gr0KdxHuJKt1xrj0Jhn2U33Fow=; b=ne9R+QbPiYrxhLaqQCKfyM bqMbiGLp2F/v5NChly7TXGNgZgYSdN4KuJ7+FBA98etFzAbjBJHiD2cWCA9jqtHi 5Gwte51p+CufGCOhls6e3CA2iKep0f09ll4uddon+D8PkZnyAB+81KSnmZMxPXAA PRnKxuhoSGb/O0lCt8LdPPEWSk6HKho1b1i4I93x8kvaDtDXZEuv+ZkbaRMWu2wA +2/vQbUrKSjb/8Aib40eKIxw8nkA7PV9BI9uO5tHSUZy+PCZKgVDQfBeHNEgT6Yy rb1N2M+C8RV73n2IjxLPJr88vy3kqaXbugZi5MM/5XqiEVg8/4f9I+huDCTtTidw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeihedgleelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedu X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 91B5B30607B4; Sat, 11 Jan 2020 12:25:47 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39064@debbugs.gnu.org Subject: Re: [bug#39064] [PATCH 5/6] doc: Add pulseaudio documentation. In-Reply-To: <87lfqdzzrj.fsf@devup.no> References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-5-leo.prikler@student.tugraz.at> <87lfqdzzrj.fsf@devup.no> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 11 Jan 2020 18:25:46 +0100 Message-ID: <87d0bpzyzp.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053 Cc: 39053@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Marius Bakke writes: >> +@item @code{script-file} >> +Script file to use as as @file{default.pa}. Defaults to the one included by >> +the @code{pulseaudio} package. >> + >> +@item @code{system-script-file} >> +Script file to use as as @file{system.pa}. Defaults to the one included by >> +the @code{pulseaudio} package. >> +@end table >> +@end deftp > > I added a (default: ...) on these two and removed the related sentences. I also changed to @var{...} instead of @code{...} for the options; and used @code{...} instead of @var{...} on the defaults after reading the generated HTML. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4aBRoACgkQoqBt8qM6 VPrvjQgAvzpkKm7WDZ8LV3iRnUMljRWSdsNmHSlHTRDLt0NU95qFU/OhjfiQ2PHy dVcipb/+0H7RgZRbHSh20a5xWx4oMuoPH8BVoTeglyHc7kCZbLcNCCkYVWfb8kdS ly2axHGqakUU5QsAczy7tmCnZFj4xjgfC4xkYxH6FwLVMa2Fel74fqOADc9dVeTW RpDVxyYfMjkmaym5XNNFlMox3O7qMVZaF/XSY5oKUiFUoBB9DfgkRabbP9+k013m jklPRg8b7I6gTKvOYpObDhNq8TKBXdFki5NoSFPGxh22lpnAxDPWAsfZ2fqVeuEP OsFpixv5WeRkSKVekQ9dnng8H7UxHA== =HhJZ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 13:37:58 2020 Received: (at 39053-done) by debbugs.gnu.org; 11 Jan 2020 18:37:58 +0000 Received: from localhost ([127.0.0.1]:56675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqLe1-0007TK-QV for submit@debbugs.gnu.org; Sat, 11 Jan 2020 13:37:58 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:25779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqLdy-0007T1-QR; Sat, 11 Jan 2020 13:37:55 -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 47w7rZ2cm4z3wHK; Sat, 11 Jan 2020 19:37:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578767870; bh=tzFW1tqYdT5BfSVQoTJ1LIaGVMoSZdC43k8kPWoDL6k=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ddF2DE/h3qGwG9MOCx1dJrcMoETqQFuRHw2i0AyxLm8pxtrHcmZ63DeKTQYKbcEll oDfxtZYOck9mVkl4LW+pISIAsFkxZsFR6Jbx1Eszj44Lo8ohdiWlbEHIWa6vConPkb npr+myTr5hCxEvf7Y849fW/o+JpxUMlreOlJVF38= Message-ID: Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs From: Leo Prikler To: Marius Bakke , 39053-done@debbugs.gnu.org Date: Sat, 11 Jan 2020 19:37:54 +0100 In-Reply-To: <87ftglzz3l.fsf@devup.no> References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> <87ftglzz3l.fsf@devup.no> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053-done Cc: 38172-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Samstag, den 11.01.2020, 18:23 +0100 schrieb Marius Bakke: > Leo Prikler writes: > > > This series of patches adds a configuration type for pulseaudio and > > also fixes > > a bug, where various applications would inadvertently max out the > > system volume > > (see e.g. #38172). > > Thanks! I've pushed the patches with mentioned tweaks in > 2c7511fb6..71e33e32f. Thanks! Also, I'm sorry about accidentally opening like 10 bugs due to my misconfiguration there. I only noticed after the fact, that merely CC'ing the original bug does nothing, when the mail is still sent to guix-patches as well. I've learned my lesson and will be more careful in the future. I do still have some open questions, though. > > +In addition to the above, @code{default-script-file} will be set to > > the > > +value of @code{script-file}. By default, @var{flat-volumes} is > > set > > to > > +``no'', so as to avoid bugs related to this feature. > > > The first sentence of this paragraph is obsolete, no? The second is > rather vague, so I opted to remove the whole thing. Let me know if > you > think something should be added! I'm not quite sure about the first sentence. While everyone can read the code and the output files produced from it, I think we should document, that we actually always insert this line into @file{daemon.conf}. For instance, if you don't supply your own @file{default.pa}, the first line of @file{daemon.conf} will be --8<---------------cut here---------------start------------->8--- default-script-file = /gnu/store/-pulseaudio- /etc/pulse/default.pa --8<---------------cut here---------------end--------------->8--- What are your thoughts on this? > I added a (default: ...) on these two and removed the related > sentences. I was hesitant to do that due to the line limits. Do those not count for documentation or are such exceptions allowed? Thanks again for your help and also thanks for your feedback. Regards, Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 18:49:13 2020 Received: (at 39053-done) by debbugs.gnu.org; 11 Jan 2020 23:49:13 +0000 Received: from localhost ([127.0.0.1]:56866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqQVF-0008W3-3s for submit@debbugs.gnu.org; Sat, 11 Jan 2020 18:49:13 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:40137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqQVC-0008Vo-Q6 for 39053-done@debbugs.gnu.org; Sat, 11 Jan 2020 18:49:11 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D47B94B7; Sat, 11 Jan 2020 18:49:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 11 Jan 2020 18:49:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=ABU/RrUQW31H6Vl+w3AKeuNZA+ ruVhrVeD+LnAzjcOc=; b=JWVdImLz+iExLp6SHv80buEWTFQP31+FoFreYQDdID jR8jBNGeavQqhRlS4HjhrA04YRKhQ/b8s4DlyEzW525puch3B0Hn8wAxJMjDDySh OXxg+XqRAe88womkZHmYW5U10WFo+PNgIzXBrV/kymDSIWQliGBIcLBjTXmCo0zv 7y9MBe1LSn+eDWblWe0cYJOb08RT/esMQqjOyflLMSMIiUnfL0jnJ+IAy/b3s0/x GmKH2GLFHuXNv59EsN+1LaHyB+2GofxXAJ1s79VKLIwHN5eBNyDu7vSoy0h1JZOR 6bfecLJE0cr45si5hMVcEqFK2RywKtiR09J4ExG3gs1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ABU/Rr UQW31H6Vl+w3AKeuNZA+ruVhrVeD+LnAzjcOc=; b=WF8Wuqq5cvNNtl6CXVPBX4 sNg3VSahcrPscjCmrxlUotOzMEnKE/8fs+BR4dbfNzrvc7hN8/iu8cF3s7iILAgi H/QxuhSD3ALfhP0OItwTLFvBK3m/crspMkttkR/SOchwqu5S3NLh92ND4A+umuKZ G+0dUhd0AKb5xVL3ZD+yzVTnBQF5oa15htpHDNiANIEYVXbHEBtlZHI80sp2sAUY R13INP9JZ3nrvun0tYbgPBY26qF3oeB88EkmdVuR3F7U4EAZP+yFSu7SmwIvngD6 Zb9l+e6734txpJV33oY1cc1Hgz37u/yI1/U5tW3TlC2aQaSl1+Om6NOFU0jPjRnQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeiiedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrdehvddrvddviedruddtvdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id D099430602DB; Sat, 11 Jan 2020 18:49:03 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39053-done@debbugs.gnu.org Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs In-Reply-To: References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> <87ftglzz3l.fsf@devup.no> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sun, 12 Jan 2020 00:49:00 +0100 Message-ID: <87r205y2oj.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Prikler writes: > Am Samstag, den 11.01.2020, 18:23 +0100 schrieb Marius Bakke: >> Leo Prikler writes: >>=20 >> > This series of patches adds a configuration type for pulseaudio and >> > also fixes >> > a bug, where various applications would inadvertently max out the >> > system volume >> > (see e.g. #38172). >>=20 >> Thanks! I've pushed the patches with mentioned tweaks in >> 2c7511fb6..71e33e32f. > Thanks! Also, I'm sorry about accidentally opening like 10 bugs due to > my misconfiguration there. I only noticed after the fact, that merely > CC'ing the original bug does nothing, when the mail is still sent to > guix-patches as well. I've learned my lesson and will be more careful > in the future. Right, no worries! > I do still have some open questions, though. >> > +In addition to the above, @code{default-script-file} will be set to >> > the >> > +value of @code{script-file}. By default, @var{flat-volumes} is >> > set >> > to >> > +``no'', so as to avoid bugs related to this feature. >> >=20 >> The first sentence of this paragraph is obsolete, no? The second is >> rather vague, so I opted to remove the whole thing. Let me know if >> you >> think something should be added! > I'm not quite sure about the first sentence. While everyone can read > the code and the output files produced from it, I think we should > document, that we actually always insert this line into > @file{daemon.conf}. > For instance, if you don't supply your own @file{default.pa}, the first > line of @file{daemon.conf} will be > --8<---------------cut here---------------start------------->8--- > default-script-file =3D /gnu/store/-pulseaudio- > /etc/pulse/default.pa > --8<---------------cut here---------------end--------------->8--- > What are your thoughts on this? Oh, right. I suppose that can be surprising. Would you like to resubmit a documentation update? 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. :-) >> I added a (default: ...) on these two and removed the related >> sentences. > I was hesitant to do that due to the line limits. Do those not count > for documentation or are such exceptions allowed? 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. > Thanks again for your help and also thanks for your feedback. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4aXu0ACgkQoqBt8qM6 VPpavQgAyWJU6ushGNQ+c70cK74zPQXpMlFCGINPAwzp7/0lXoMZbncygM+Jq6Qj 1/3lX+BJP3P9cHKBjRVV2PcgPLNuAQdkqeHLUBJjicbXNl48tIs3bsHr/pGMfq8/ gUArrzuW/99aOitcv8MpeCYJ25B8eU3ymER1XVoCBroKacnHi1upCC34C40wl6Os mAY0KeUWtyLapIHFStlERgPY+21FVMyPCS2t77nEzq9ag0B+sMbjfUHvD4W2vrVE +bsQUg1zV4gHX42b8AB0y3E39JnUOTJKYRyzPZW0MlyH8blrYzGZsegp4791p/lN MxojRaJCWkSoZomiqVtzpr1wGWaK+g== =0ZM+ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 11 19:32:15 2020 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: Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs From: Leo Prikler To: Marius Bakke , 39053-done@debbugs.gnu.org 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> Content-Type: multipart/mixed; boundary="=-T2An09oBIf7OvK/HGpBl" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-T2An09oBIf7OvK/HGpBl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --=-T2An09oBIf7OvK/HGpBl Content-Disposition: attachment; filename="0001-doc-Fully-document-pulseaudio-daemon-conf.patch" Content-Type: text/x-patch; name="0001-doc-Fully-document-pulseaudio-daemon-conf.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBjMWYzNzU3ZDUzNDIzY2M1MWYxZjkwMTdlZGQ0NDI3YzIwZTcwMjVjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMZW8gUHJpa2xlciA8bGVvLnByaWtsZXJAc3R1ZGVudC50dWdy YXouYXQ+CkRhdGU6IFN1biwgMTIgSmFuIDIwMjAgMDE6MjA6MjcgKzAxMDAKU3ViamVjdDogW1BB VENIXSBkb2M6IEZ1bGx5IGRvY3VtZW50IHB1bHNlYXVkaW8gZGFlbW9uLWNvbmYuCgoqIGRvYy9n dWl4LnRleGk6IEFkZCBub3RlIGFib3V0IHRoZSBkZWZhdWx0LXNjcmlwdC1maWxlIGxpbmUgYW5k IHRoZSBpbnRlbnRpb24KYmVoaW5kIGl0LgotLS0KIGRvYy9ndWl4LnRleGkgfCAxMSArKysrKysr KysrKwogMSBmaWxlIGNoYW5nZWQsIDExIGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9kb2Mv Z3VpeC50ZXhpIGIvZG9jL2d1aXgudGV4aQppbmRleCBkMjAzOGQxOGUxLi4wYjg1NjliNTRhIDEw MDY0NAotLS0gYS9kb2MvZ3VpeC50ZXhpCisrKyBiL2RvYy9ndWl4LnRleGkKQEAgLTE1OTc5LDYg KzE1OTc5LDE3IEBAIGluc2VydGVkIGFzLWlzIHdpdGggYSBuZXdsaW5lIGFkZGVkLiAgQSBwYWly IHdpbGwgYmUgZm9ybWF0dGVkIGFzCiBAaXRlbSBAdmFye2RhZW1vbi1jb25mfSAoZGVmYXVsdDog QGNvZGV7JygoZmxhdC12b2x1bWVzIC4gbm8pKX0pCiBMaXN0IG9mIHNldHRpbmdzIHRvIHNldCBp biBAZmlsZXtkYWVtb24uY29uZn0sIGZvcm1hdHRlZCBqdXN0IGxpa2UKIEB2YXJ7Y2xpZW50LWNv bmZ9LgorQHF1b3RhdGlvbiBOb3RlCitJbiBhZGRpdGlvbiB0byB0aGUgYWJvdmUgc2V0dGluZ3Mg YmVpbmcgYXBwbGllZCwgdGhlIGZpcnN0IGxpbmUgb2YgdGhlCitnZW5lcmF0ZWQgQGZpbGV7ZGFl bW9uLmNvbmZ9IHdpbGwgYWx3YXlzIHJlYWQKK0Bjb2Rle2RlZmF1bHQtc2NyaXB0LWZpbGUgPSBG SUxFfSB3aXRoIEB2YXJ7RklMRX0gYmVpbmcgdGhlIHBhdGggdG8gdGhlCitzdXBwbGllZCBAdmFy e3NjcmlwdC1maWxlfS4KK1RoaXMgbWFrZXMgcHVsc2VhdWRpbyByZWFkIHRoZSBjb3JyZWN0IEBm aWxle2RlZmF1bHQucGF9IHdoZW4gc3RhcnRlZCBpbgordXNlci1tb2RlICh0aGUgZGVmYXVsdCBi ZWhhdmlvdXIpLgorU3VjaCBhIGxpbmUgZG9lcyBub3QgZXhpc3QgZm9yIEBmaWxle3N5c3RlbS5w YX0uICBJZiB5b3UgbmVlZCB0byBsb2FkIHRoaXMKK2ZpbGUgZm9yIHNvbWUgcmVhc29uLCB5b3Un bGwgaGF2ZSB0byB1c2UgZW52aXJvbm1lbnQgdmFyaWFibGVzIGFzIGRldGFpbGVkCitpbiB0aGUg UHVsc2VBdWRpbyBkb2N1bWVudGF0aW9uLgorQGVuZCBxdW90YXRpb24KIAogQGl0ZW0gQHZhcntz Y3JpcHQtZmlsZX0gKGRlZmF1bHQ6IEBjb2RleyhmaWxlLWFwcGVuZCBwdWxzZWF1ZGlvICIvZXRj L3B1bHNlL2RlZmF1bHQucGEiKX0pCiBTY3JpcHQgZmlsZSB0byB1c2UgYXMgYXMgQGZpbGV7ZGVm YXVsdC5wYX0uCi0tIAoyLjI0LjEKCg== --=-T2An09oBIf7OvK/HGpBl-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 14:55:27 2020 Received: (at 39053-done) by debbugs.gnu.org; 12 Jan 2020 19:55:27 +0000 Received: from localhost ([127.0.0.1]:58040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqjKV-0006Ft-Qm for submit@debbugs.gnu.org; Sun, 12 Jan 2020 14:55:27 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:35773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqjKU-0006Fg-LK for 39053-done@debbugs.gnu.org; Sun, 12 Jan 2020 14:55:23 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 75C1E22025; Sun, 12 Jan 2020 14:55:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 12 Jan 2020 14:55:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=T6XzWKaI87j5nMQGC098ZSHnr3 hDA8ds5haodiSPlOk=; b=qCjYbRR5Lj+ow49t0t34z2wpOsMg3+YTsOa/IU4ahA EzJ2RFRfAqVa2Q4uObbJI/gnj47X8xGcBlGOAB7fok3WynQNgZo6mUDQiYDDMpIX B2bwoJD/eAoZaTvDEAtCxPUBg6ZEEOCCxMsG9ZQ87zEhdGdoJpEcJWnqD02QpipH SNJRj1ZI+Z+x+QPErWevTCpKZK0Gto9MHtmQAy1h+eQVm/CA0IUtBhWDlx6mTZUx da0x4G/+qGqF0YV59/rHlCHkRRfB1B7V2Z8rVnhZbBTLG9dGEGRwyz2cgBpzdSAG QuvnoCGLJ0f5K1sotwkBx8cG0+XxbP+HkgZ4I4C9m8Yg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=T6XzWK aI87j5nMQGC098ZSHnr3hDA8ds5haodiSPlOk=; b=iZE3oObfBgdcCtz5Hu7bEn oFgif03vvwBRCSX0DaFmglnnScbfj9cqw8MJSTT/OHhBsIq/LzQZVhN1q+9nMr3b 0nM/3GiyDISGib/G6+ARKTsVdcVg9a1cLQ/sM19gKwbXJYOYtQ0xmpt6YhuOou1b qaJpnKncirVg7EpZDqqMvgAyU6COavnNUK5Y/dtyx3xAv8V3qdk9HxhTbCC06eAS wwJFJL34JqRrKTYgckbp/syE433R/liI+fXwnaNKljhWZ6Y1yWJEA9SehggBOhYg dGPX7MvA8vQyVL+HGwdTX0/vKgvxQFEE0t1gBF5TDdBNUAv0yBaXav11SVz6bP5Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdeikedgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhi uhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppe ekgedrhedvrddvvdeirddutddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhk vgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (84-52-226.102.3p.ntebredband.no [84.52.226.102]) by mail.messagingengine.com (Postfix) with ESMTPA id 8A52A30607BE; Sun, 12 Jan 2020 14:55:16 -0500 (EST) From: Marius Bakke To: Leo Prikler , 39053-done@debbugs.gnu.org Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs In-Reply-To: References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> <87ftglzz3l.fsf@devup.no> <87r205y2oj.fsf@devup.no> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sun, 12 Jan 2020 20:55:14 +0100 Message-ID: <87ftgkxxel.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39053-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo Prikler writes: > 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.) Looks good. [...] > 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 wil= l 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 =3D 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 th= is > +file for some reason, you'll have to use environment variables as detail= ed > +in the PulseAudio documentation. > +@end quotation I tried finding documentation for system.pa to no avail. Do you have a link at hand? Perhaps it's better to remove the system.pa sentences from here, and add a note below "system-script-file" how to make it effective, preferably with an @url{...} pointing to PA documentation. WDYT? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4beaIACgkQoqBt8qM6 VPqImQf/S1t165LfKW+/2VDvgr7xVoS/ejWQIh50vLsC9tJsgmQK8f2xo4RHoq59 s96gMz1pjZ6p1CdCk2iil6HxndjKpn6NYOsdB0JYvH0mgd/0m+FPEfSKB5WHeu4s wN11Nj8UOG2peHVwjyxhg/Ms80mExizUqqPwIitMt42CIg0BDOZXRegOkAGGGpg2 xi4vJborcEBFtRY4xgZoydSwheXabrTkX4thHpfkpsKzyQethdghtGgt/UMxG6XD Cs8kji128g2N1p8fr4u353E0+PQE4dN3Eq3yQpfcqznGNqBwe7lihLalubmxYp8N 4muxlMnc4qgDGmqClUfsblVExnpdCQ== =qpLQ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 15:22:29 2020 Received: (at 39053-done) by debbugs.gnu.org; 12 Jan 2020 20:22:29 +0000 Received: from localhost ([127.0.0.1]:58053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqjkj-0006u2-0Y for submit@debbugs.gnu.org; Sun, 12 Jan 2020 15:22:29 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:18679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqjkg-0006ts-1l for 39053-done@debbugs.gnu.org; Sun, 12 Jan 2020 15:22:27 -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 47wp6l19JCz1LLyX; Sun, 12 Jan 2020 21:22:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 47wp6l19JCz1LLyX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1578860543; bh=fUTards5Paju08dkUk11JrjuYB+CHmrTPO9o0ReV5VU=; h=Subject:From:To:Date:In-Reply-To:References:From; b=RQ/ddGxNQ92KxtCd91Mpiv8Kg18lThf5VPDUOpP0ohh2/Vefa103wddWbpsi0jnpA C4gXUcKUjCgiA1izlCDpSeB4EcwsCA+8Xr+MJMTkYsiOIMMj9IJSmpz9uByVEIKYKM uGDHp2gJfX47f1InJ0Zdr4w9w/XLMW7X24AXltuc= Message-ID: <79745f2b1534d7562f4384df6fd7bd0b3294a91d.camel@student.tugraz.at> Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs From: Leo Prikler To: Marius Bakke , 39053-done@debbugs.gnu.org Date: Sun, 12 Jan 2020 21:22:23 +0100 In-Reply-To: <87ftgkxxel.fsf@devup.no> References: <20200109135746.1993-1-leo.prikler@student.tugraz.at> <87ftglzz3l.fsf@devup.no> <87r205y2oj.fsf@devup.no> <87ftgkxxel.fsf@devup.no> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Sonntag, den 12.01.2020, 20:55 +0100 schrieb Marius Bakke: > Leo Prikler writes: > > > 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.) > > Looks good. > > [...] > > > > 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 > > I tried finding documentation for system.pa to no avail. Do you have > a > link at hand? Perhaps it's better to remove the system.pa sentences > from here, and add a note below "system-script-file" how to make it > effective, preferably with an @url{...} pointing to PA documentation. That's not surprising, given that the format for default.pa and system.pa is the same. The convention in PulseAudio is, that the former be loaded when it is started in "user mode", and the latter be loaded when it is started in "system mode". However, there exists but one environment variable (PULSE_SCRIPT now that I recall its name), that overrides BOTH settings. Upon closer inspection, it seems however, that this environment variable is not the only way to to supply a script to load. Reading the output of `pulseaudio --help` also contains a few lines on that. --8<---------------cut here---------------start------------->8--- STARTUP SCRIPT: -L, --load="MODULE ARGUMENTS" Load the specified plugin module with the specified argument -F, --file=FILENAME Run the specified script -C Open a command line on the running TTY after startup -n Don't load default script file --8<---------------cut here---------------end--------------->8--- > WDYT? It should be worded in a way, that does not cause such a misunderstanding. What I meant to convey (but failed at doing so) was something along the lines of "consult the PulseAudio documentation on how to load scripts", not "consult the PulseAudio documentation on system.pa". Not loading system.pa unless being told to do so is a Guix-specific feature ;) Can you patch this documentation in a way that people, who are not me, also understand it? I fully admit that I'm weak at explaining. Regards, Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 17 11:31:01 2020 Received: (at 39053-done) by debbugs.gnu.org; 17 Jan 2020 16:31:02 +0000 Received: from localhost ([127.0.0.1]:40007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isUWT-0002UZ-PS for submit@debbugs.gnu.org; Fri, 17 Jan 2020 11:31:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isUWQ-0002UG-Tf; Fri, 17 Jan 2020 11:31:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1isUWK-0002SK-MB; Fri, 17 Jan 2020 11:30:52 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=51328 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1isUWE-00061z-54; Fri, 17 Jan 2020 11:30:50 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Prikler Subject: Re: [bug#39066] [PATCH 6/6] services: Add pulseaudio to %desktop-services. References: <87blrc1epy.fsf@devup.no> <20200110014823.10595-6-leo.prikler@student.tugraz.at> Date: Fri, 17 Jan 2020 17:30:44 +0100 In-Reply-To: <20200110014823.10595-6-leo.prikler@student.tugraz.at> (Leo Prikler's message of "Fri, 10 Jan 2020 02:48:24 +0100") Message-ID: <8736ce11vv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39053-done Cc: 39066-done@debbugs.gnu.org, 39053-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Leo Prikler skribis: > * gnu/services/desktop.scm (%desktop-services): Add pulseaudio service. This was done in 71e33e32fcedbd0aaafda4fd548fb8443064253c. Closing! Ludo'. From unknown Fri Jun 20 07:15:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Feb 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator