FS#52798 - [pulseaudio] Insinuates itself into X11 sessions via /etc/xdg/autostart
Attached to Project:
Arch Linux
Opened by Jeremy (loserMcloser) - Tuesday, 31 January 2017, 20:55 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 19 June 2022, 10:04 GMT
Opened by Jeremy (loserMcloser) - Tuesday, 31 January 2017, 20:55 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 19 June 2022, 10:04 GMT
|
Details
Description:
Why does pulseaudio add a .desktop file to /etc/xdg/autostart ? Who says that just because some dependency caused pulseaudio to be installed, that I want pulseaudio running every time I start up an X session? This seems to run counter to the following principle in the Arch Linux entry of the wiki: "It does not add automation features such as enabling a service simply because the package was installed." Additional info: * package version(s): pulseaudio-10.0-2 Steps to reproduce: Start an X session in an XDG-compliant window manager or desktop environment. Open a terminal. > ps -u $USERNAME | grep pulseaudio |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Sunday, 19 June 2022, 10:04 GMT
Reason for closing: Won't fix
Additional comments about closing: This is the way pulseaudio's X11 plugins get loaded.
Sunday, 19 June 2022, 10:04 GMT
Reason for closing: Won't fix
Additional comments about closing: This is the way pulseaudio's X11 plugins get loaded.
(b) If there's a systemd socket set up, won't systemd then start up pulseaudio when some program that depends on it tries to connect to the socket? Sounds like the systemd socket is enough, why does there also need to be the .desktop file in /etc/xdg/autostart?
(c) By the same logic that put the .desktop file in /etc/xdg/autostart, is pulseaudio eventually going to be forced upon users in the console too? What if someone starts up a pulseaudio-dependent command-line audio program when pulseaudio is not running? The horror!
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/blob/master/src/daemon/systemd/user/pulseaudio-x11.service.in
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/4868fcf5f344af613172f61d9105c02f3f07e1ab