Keyboard Controls:
When using alsamixer, you can control it with these keyboard shortcuts:
←
and →
: Select a channel (control)
↑
and ↓
: Adjust the volume level
M
: Toggle mute for the selected channel
Space
: Toggle recording for the selected input channel
Tab
: Switch between Playback, Capture, and All views
F1
through F6
: Select sound cards 1-6
Page Up/Page Down
: Move 10 steps at a time
End
: Set volume to 0%
Home
: Set volume to 100%
Q
or Esc
: Quit alsamixer
F
: Toggle between relative dB and absolute volume display
Views and Modes:
Alsamixer has different view modes that can be accessed with the -V option or by pressing Tab:
- Playback (F3): Shows only playback (output) controls
- Capture (F4): Shows only capture (input/recording) controls
- All (F5): Shows all controls
Sound Card Selection:
If you have multiple sound cards:
- Use
-c
or --card
to select a specific card by number
- Press F1-F6 to switch between cards while running alsamixer
- List available cards with
aplay -l
or cat /proc/asound/cards
Color Coding:
Alsamixer uses colors to represent different statuses:
- Green bar: Normal volume level
- Red bar (on top of green): Volume is above 0dB, which might cause clipping
- Blue/Cyan bar: Captured/Recording channels
- Gray/white with MM: Muted channel
- Gray/white with OO: Channel is unmuted
- Red with CAPTURE: Recording is active for this channel
Saving Settings:
Alsamixer itself doesn't save settings between reboots. To save your settings:
# Save the current mixer settings
sudo alsactl store
# Restore previously saved settings
sudo alsactl restore
Troubleshooting:
- If you don't see any controls, try changing the sound card with -c or F1-F6
- If a channel is muted, press M to unmute it
- If you can't increase the volume beyond a certain level, check for additional mixer controls like "Master" or "PCM"
- If changes aren't persistent across reboots, make sure to use
sudo alsactl store
- If alsamixer doesn't start, ensure ALSA is properly installed:
sudo apt install alsa-utils
Integration with Desktop Environments:
While alsamixer is a terminal-based application, many desktop environments provide graphical alternatives:
- GNOME: Use gnome-control-center sound
- KDE: Use KMix
- XFCE: Use xfce4-mixer
Important Notes:
- Alsamixer requires the alsa-utils package to be installed
- Some systems use PulseAudio or PipeWire on top of ALSA, which might limit direct ALSA volume control
- For systems using PulseAudio, consider using
pavucontrol
as an alternative
- Not all controls shown in alsamixer may affect the sound output, as some might be unused or unsupported by your hardware
- The interface might look different depending on your sound card capabilities and drivers