unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Nathan Dehnel <ncdehnel@gmail.com>
Cc: 42118@debbugs.gnu.org
Subject: bug#42118: Editing pulseaudio config file fails with "No such file or directory"
Date: Wed, 01 Jul 2020 10:15:01 +0200	[thread overview]
Message-ID: <346a83e1452455cbcf58c97cd260f571cd4af278.camel@student.tugraz.at> (raw)
In-Reply-To: <CAEEhgEttgmXiegOkxptmPDGPSmuXJRDPpvmDkJPgUWzkn_-kXA@mail.gmail.com>

Am Mittwoch, den 01.07.2020, 01:58 -0500 schrieb Nathan Dehnel:
> There is a file 86cvvgnb03cc11li0m0s3nrl73zf68fm-default.pa with my
> changes in it in /gnu/store.
> 
> load-module module-jack-sink
> load-module module-jack-source
> 
> Maybe pulse wasn't compiled with support for this feature enabled?
> 
> This setting in /etc/pulse/daemon.conf points somewhere else:
> ; default-script-file =
> /gnu/store/y0lbm4qcxm3i8i7q1msp0ng1pysg8pb9-pulseaudio-
> 13.0/etc/pulse/default.pa
> I assume guix overrides this somehow?
I don't think so.  The relevant code portions are in
gnu/services/sound.scm and read among others:

  (define pulseaudio-environment
    (match-lambda
      (($ <pulseaudio-configuration> client-conf daemon-conf 
                                     default-script-file)
     `(("PULSE_CONFIG" . ,(apply mixed-text-file "daemon.conf"
                                 "default-script-file = " 
                                 default-script-file "\n"
                                 (map pulseaudio-conf-entry 
                                      daemon-conf)))
       ("PULSE_CLIENTCONFIG" . ,(apply mixed-text-file "client.conf"
                                       (map pulseaudio-conf-entry 
                                            client-conf)))))))

Due to a bug with webkit sandboxing, we no longer put daemon.conf into
/etc/pulse (my bad), but rather set PULSE_CONFIG to directly point to
it.  As you can see, `default-script-file' should be set to the file
you're supplying.  I am currently unsure, at which point this variable
gets updated (I still think you need to reboot), but I'm pretty
convinced, this would work with a custom script file.

Regards, 
Leo.






  parent reply	other threads:[~2020-07-01  8:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29  7:34 bug#42118: Editing pulseaudio config file fails with "No such file or directory" Nathan Dehnel
2020-06-29 10:27 ` Leo Prikler
     [not found]   ` <CAEEhgEsW4VTRPXMkspfE9vcP5DNZCBV-7h2cxcbJFgEoY7pk6Q@mail.gmail.com>
2020-06-30 10:43     ` Leo Prikler
     [not found]       ` <CAEEhgEttgmXiegOkxptmPDGPSmuXJRDPpvmDkJPgUWzkn_-kXA@mail.gmail.com>
2020-07-01  8:15         ` Leo Prikler [this message]
     [not found]           ` <CAEEhgEvV5CFpE6aG9fnKopDd1MeXCMHZ_0bt_3DevNfNA4eJiQ@mail.gmail.com>
2020-07-01 10:57             ` Leo Prikler
2020-07-01 11:52               ` Nathan Dehnel
2020-07-01 12:01               ` Ricardo Wurmus
2020-07-07  2:59                 ` Nathan Dehnel
2022-09-29  0:39                   ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=346a83e1452455cbcf58c97cd260f571cd4af278.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=42118@debbugs.gnu.org \
    --cc=ncdehnel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).