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
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.
Comment by Doug Newgard (Scimmia) - Thursday, 02 February 2017, 04:48 GMT
Things that depend on pulseaudio generally DO require that it's running. It's also set up with a systemd --user socket.
Comment by Jeremy (loserMcloser) - Thursday, 02 February 2017, 22:48 GMT
(a) Things that depend on pulseaudio are not necessarily going to be run in every X session.

(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!
Comment by lukpod (lukpod) - Sunday, 20 February 2022, 01:13 GMT

Loading...