Arch Linux Speakers Headphones - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
Arch Linux Speakers and Headphones Guide
Complete beginner-friendly guide to speakers and headphones on Arch Linux, including audio device setup, configuration, and troubleshooting.
Table of Contents
Audio Device Setup
Check Audio Devices
List devices:
# List sinks
pactl list sinks short
# List sources
pactl list sources short
# Check ALSA
aplay -l
Speaker Configuration
Set Default Output
Configure speakers:
# List sinks
pactl list sinks short
# Set default sink
pactl set-default-sink sink-name
# Test sound
speaker-test -c 2
Headphone Configuration
Headphone Setup
Configure headphones:
# List sinks
pactl list sinks short
# Set default sink
pactl set-default-sink headphone-sink
# Or use GUI
pavucontrol
Auto-Switch
Auto-switch:
# Install auto-switch
yay -S pulseaudio-switcher
# Or configure manually
# Edit PulseAudio config
Troubleshooting
No Sound
Check audio:
# Check if muted
pactl list sinks | grep -i mute
# Unmute
pactl set-sink-mute sink-name false
# Increase volume
pactl set-sink-volume sink-name 100%
Device Not Detected
Check hardware:
# Check USB devices
lsusb | grep -i audio
# Check PCI devices
lspci | grep -i audio
# Check kernel messages
dmesg | grep -i audio
Summary
This guide covered audio device setup, speakers, headphones, and troubleshooting.
Next Steps
- Arch Linux Audio Configuration - Audio setup
- Arch Linux Hardware Detection - Hardware
- ArchWiki Audio: https://wiki.archlinux.org/title/PulseAudio
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.