default.pa(5)

πŸŽ€ default.pa(5) β€” the PulseAudio glow-up script bestie πŸ’–

okay so real quick, before anything: this whole page lives in the File Formats Manual section, and it's literally just called default.pa. That's the name. That's the assignment. We move. ✨


🌸 SYNOPSIS 🌸

~/.config/pulse/default.pa

/etc/pulse/default.pa

/etc/pulse/system.pa

three paths, three vibes, one of them is gonna be the one. πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

So here's the tea. The PulseAudio sound server, when it starts up, reads a configuration script β€” and that script is mostly there to say which modules to load. That's its whole job. Iconic, honestly. πŸ‘‘

Which script does it pick? Depends, bestie, and it's very much a vibe check situation:

  • When PulseAudio is running in the per-user mode and ~/.config/pulse/default.pa exists β€” that file wins. Yours. Your personal script. Main character energy. πŸ’–
  • When PulseAudio is running in the per-user mode and that file doesn't exist β€” it falls back to /etc/pulse/default.pa. The group-chat default. 🫢
  • When PulseAudio is running as a system service β€” it uses /etc/pulse/system.pa. Whole different lane. πŸ›οΈ

And ngl, the script itself? It's supposed to contain directives in the PulseAudio CLI language. Not vibes, not freestyle β€” actual CLI language, and it's documented over in pulse-cli-syntax(5). Go read that one, iykyk. πŸ“–βœ¨


πŸ‘‘ AUTHORS πŸ‘‘

The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org> πŸ’Œ

and PulseAudio is available from http://pulseaudio.org/ β€” yes, fr fr, that's the spot. 🌈


πŸ”₯ SEE ALSO πŸ”₯


lowkey a warning but also just facts: if you drop a ~/.config/pulse/default.pa in there, it will override /etc/pulse/default.pa for your user. No takesies backsies. That's just how it works. 😭

and that's the whole page, bestie!! filed under Manuals β†’ User, for default.pa(5) β€” go forth and slay your modules. periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹