Warning: THE VOID WIKI IS DEPRECATED. It is no longer being maintained, contains outdated and incorrect information, and will eventually be shut down. Please refer to the Void Handbook, https://docs.voidlinux.org/, for the official documentation. If you can't find the information you're seeking, please raise an issue at https://github.com/void-linux/void-docs/issues


From Void Linux Wiki
Revision as of 16:44, 15 July 2017 by Tactica (talk | contribs) (Style guide, several fixups, replaced most red links with links to wikipedia or void packages, requested expansion.)
Jump to navigation Jump to search

Medic template.svgThis article or section needs expansion.

Reason: An introduction is required explaining exactly why one would want/need to follow the instructions in this page. (Discuss)

Related articles


Install alsa-utils, pulseaudio and ConsoleKit2 if you want to continue with the recommended setup below.

# xbps-install -S alsa-utils pulseaudio ConsoleKit2

Make sure your Wikipedia-logo.png alsa output device is not muted and then enable the alsa runit service to save and restore alsa levels and configuration between reboots:

# ln -s /etc/sv/alsa /var/service/

Recommended setup

In this setup PulseAudio needs dbus and ConsoleKit2 to change access permissions to the audio device; therefore, you don't need the audio group. For more info take a look at Ubuntu's Wiki page about TheAudioGroup.

Enable the required runit services:

# ln -s /etc/sv/dbus /var/service/
# ln -s /etc/sv/cgmanager /var/service/
# ln -s /etc/sv/consolekit /var/service/

In some cases you have to add start-pulseaudio-x11 & to your .xinitrc file.

System wide setup

PulseAudio supports a system wide daemon that can be used with Void Linux. However, for security and performance reasons the system wide setup should be avoided in most common cases. More information why you should not use the system wide mode is available in the PulseAudio documentation.

Enable the pulseaudio service:

# ln -s /etc/sv/pulseaudio /var/service/

Add all users that should have access to PulseAudio to the pulse-access group:

# usermod -a -G pulse-access $USER

Be sure to check out the PulseAudio documentation regarding system wide setup.

External links