Ncmpcpp Configuration

Table of Contents

1 Introduction

Ncmpcpp is a TUI front-end for MPD, with an UI very similar to Ncmpc. This is my main MPD front-end after my i3 shortcuts. You can find below some screenshots of how my current ncmpcpp configuration looks like.

ncmpcpp-queue.png

ncmpcpp-directory.png

ncmpcpp-visualizer.png

2 Core Ncmpcpp settings

2.1 Directories

Ncmpcpp has two vital directories: the lyrics directory, and its own configuration directory. The configuration for ncmpcpp is generally either in $HOME/.ncmpcpp/ or in $XDG_CONFIG_HOME/ncmpcpp/.

ncmpcpp_directory = ~/.config/ncmpcpp

When it comes to the lyrics, be sure to set the directory to the same directory pointed at by Mpd.

lyrics_directory = ~/.lyrics

2.2 MPD

These settings tell ncmpcpp how to communicate with Mpd. Once again, be sure to follow your own MPD settings. In my case, I am connecting to my local MPD server, hence the localhost value of the variable below, and I did not change the default port of MPD. My music is located at ~/Music, and ncmpcpp should connect pretty much immediately, although I allow a five seconds timeout before ncmpcpp treats it as an error. Also, no crossfade please.

mpd_host = localhost
mpd_port = 6600
mpd_music_dir = ~/Music
mpd_connection_timeout = 5
mpd_crossfade_time = 0

Author: Lucien Cartier-Tilet

Email: lucien@phundrak.com

Created: 2020-12-23 mer. 04:35