Linux Speakers Headphones - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
Linux Speakers and Headphones Guide
Complete beginner-friendly guide to speakers and headphones on Linux, covering Arch Linux, CachyOS, and other distributions 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%
Wrong Device
Switch device:
# List sinks
pactl list sinks short
# Set default
pactl set-default-sink sink-name
Summary
This guide covered speakers and headphones for Arch Linux, CachyOS, and other distributions, including setup, configuration, and troubleshooting.
Next Steps
- Audio Configuration - Audio setup
- Microphone Configuration - Microphone setup
- Bluetooth Configuration - Bluetooth audio
- ArchWiki Audio: https://wiki.archlinux.org/title/PulseAudio
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.