
Ncmpcpp: The Ultimate Arch Linux Terminal Audio Player & Visualizer
A complete walk-through to configuring MPD (Music Player Daemon) and ncmpcpp with a real-time audio visualizer on Arch Linux.
If you spend your day in the terminal, switching to a web browser or a heavy electron app just to play local music is a waste of resources.
ncmpcpp (NCurses Music Player Client Plus Plus) combined with MPD (Music Player Daemon) is the industry standard for terminal audio. It is lightweight, controllable via keyboard bindings, and features an ultra-smooth ASCII audio visualizer.
1. The Architecture: MPD + ncmpcpp
Unlike regular media players, this setup splits audio handling into two processes:
- —MPD (Music Player Daemon) — a background system service that manages your music library, outputs audio, and maintains playback states.
- —ncmpcpp — the terminal user interface client that connects to MPD and lets you browse, queue, and control playback.
This means you can close the terminal or log out, and your music keeps playing uninterrupted in the background.
2. Installation
On Arch Linux, install the packages along with mpc (a simple CLI helper for controlling MPD from scripts):
3. Configuring MPD
Create the configuration directories and files in your user home config:
Now open ~/.config/mpd/mpd.conf and populate it:
Start and enable the user-level MPD service:
4. Configuring ncmpcpp & Visualizer
Create the configuration file at ~/.config/ncmpcpp/config:
5. Playback & Visualizer Controls
Launch ncmpcpp by typing:
Use these numeric keys to switch layouts:
- —
1— Help menu - —
2— Current playlist queue - —
3— File browser (navigate folders in~/Music) - —
4— Search database - —
5— Media library (grouped by Artist, Album, etc.) - —
8— Audio Visualizer screen (pressspaceto toggle visualizer types: wave, spectrum, columns)
Basic Keybindings
- —
u— Update MPD music library database - —
enter— Play selected song - —
s— Stop - —
p— Pause / Resume - —
>— Next song - —
<— Previous song - —
r— Toggle repeat mode - —
y— Toggle single play mode
This terminal setup gives you total command of your local audio library with near-zero resource consumption.