GNU bug report logs -
#42175
"pulseaudio? #f" setting does not prevent pulseaudio from autostarting
Previous Next
Reported by: Nathan Dehnel <ncdehnel <at> gmail.com>
Date: Fri, 3 Jul 2020 09:01:02 UTC
Severity: normal
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42175 in the body.
You can then email your comments to 42175 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#42175
; Package
guix
.
(Fri, 03 Jul 2020 09:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nathan Dehnel <ncdehnel <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 03 Jul 2020 09:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
https://guix.gnu.org/manual/en/html_node/Sound-Services.html
(define %my-services
;; My very own list of services.
(modify-services %desktop-services
(alsa-service-type config =>
(alsa-configuration
(inherit config)
(pulseaudio? #f)))))
reconfigure, reboot, login to gnome, then
bash-5.0$ pgrep pulseaudio
517
1261
Information forwarded
to
bug-guix <at> gnu.org
:
bug#42175
; Package
guix
.
(Fri, 03 Jul 2020 10:21:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 42175 <at> debbugs.gnu.org (full text, mbox):
I don't think pulseaudio autostarting is governed by alsa. There are
two options you can try.
1. disable autospawning through configuration. For that, try setting
the client-conf field of the pulseaudio-configuration to
'((autospawn . no))
2. Removing the pulseaudio package from gnome and anywhere else it
might be propagated. (I don't think it is propagated in other
services).
Regards, Leo
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Tue, 01 Feb 2022 02:29:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nathan Dehnel <ncdehnel <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 01 Feb 2022 02:29:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 42175-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Leo Prikler <leo.prikler <at> student.tugraz.at> writes:
> I don't think pulseaudio autostarting is governed by alsa. There are
> two options you can try.
>
> 1. disable autospawning through configuration. For that, try setting
> the client-conf field of the pulseaudio-configuration to
> '((autospawn . no))
> 2. Removing the pulseaudio package from gnome and anywhere else it
> might be propagated. (I don't think it is propagated in other
> services).
Indeed, if you look at (gnu services sound), you'll see that what
pulseaudio? #t does (the default) is to add this to ALSA's asound.conf
file:
--8<---------------cut here---------------start------------->8---
`("# Use PulseAudio by default
pcm_type.pulse {
lib \"" ,#~(string-append #$alsa-plugins:pulseaudio
"/lib/alsa-lib/libasound_module_pcm_pulse.so") "\"
}
ctl_type.pulse {
lib \"" ,#~(string-append #$alsa-plugins:pulseaudio
"/lib/alsa-lib/libasound_module_ctl_pulse.so") "\"
}
pcm.!default {
type pulse
fallback \"sysdefault\"
hint {
show on
description \"Default ALSA Output (currently PulseAudio Sound Server)\"
}
}
ctl.!default {
type pulse
fallback \"sysdefault\"
}\n\n"
--8<---------------cut here---------------end--------------->8---
This configures ALSA applications to use pulseaudio as its default
output. Many non-ALSA applications will attempt to use pulseaudio and
the configuration of it being allowed to autostart or not is to be made
at the level of pulseaudio-service-type, as pointed out in Liliana's
reply (thanks!).
Closing,
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 01 Mar 2022 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 62 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.