Home > CMUS

CMUS

Navigation #

:open <path>: Opens a directory or file.
Arrow keys or j/k: Navigate through the interface.
Tab: Switch between panes.
space: Expand selection.
Enter: Play selected song.

Views #

Switch between different views in cmus to focus on specific tasks:

1: Library View
2: Playlist View
3: Library List View
4: Playlist View
5: Play Queue View
6: File Browser View
7: Library Filters View
8: Settings View

Playback #

p: Pause/resume playback.
n: Play the next track.
b: Play the previous track.
c: Pause playback.
x: Resume playback/ play track from start.
z: Play previous track.
v: Stop playback.
B: Start playing next album.
Z: Start playing previous album.
,: Seek in track -1m
.: Seek in track +1m
h: Seek in track -5s
l: Seek in track +5s
left: Seek in track -5s
right: Seek in track +5s

Volume control #

+: Raise volume +10%
-: Lower volume -10%

Search #

Search commands are basically Vim commands:

/: Start a search.
n: Go to next occurrence of search term.
N: Go to previous occurrence of search term.
:: Enter command mode for advanced operations.

Filtering #

cmus provides powerful filtering capabilities to manage large music libraries. Use the :filter command to narrow down the visible tracks.:

These commands may only work in certain views.

Filter tracks by criteria:

:filter artist=Radiohead

This displays only tracks where the artist is “Radiohead.”
Combine multiple filters:

:filter artist="Radiohead" & album="OK Computer"

Shows only tracks by “Radiohead” from the album “OK Computer.”

:filter genre="Hip Hop" & date=2024

Show only tracks from the “Hip Hop” genre from the year “2024”.
Clear filters:

:filter clear

Filter artists/albums/titles

:live-filter sleepwalking

Shows all artists/albums/titles containing “sleepwalking”.

For more tips on filtering, see cmus temporary filters and cmus permanent filters. Managing playlists #

Learn how to create a cmus playlist.

Save the current playlist:

:save ~/my_playlist.m3u

Saves the current playlist to a file.
Load a playlist:

:load ~/my_playlist.m3u

Add Files to the Playlist:

:add ~/Music/album/

Shuffle playlist:

:shuffle

For more information see how to create a playlist in cmus. Settings #

Synopsis:

:set

You can save preferences as permanent settings in a configuration file ~/.config/cmus/rc.

In that file, save settings like that:

… set output_plugin=alsa set replaygain=0 set softvol=true set auto_reshuffle=true …

ReplayGain #

ReplayGain automatically adjusts the playback volume of audio tracks based on their loudness metadata. This helps maintain consistent volume levels across different tracks or albums, avoiding sudden volume changes during playback.

replaygain=0 (disabled):
ReplayGain is turned off (default setting). Tracks play at their original recorded volume.
replaygain=1 (track mode):
Volume is adjusted based on each track’s loudness. This mode is ideal for shuffle play since it keeps all tracks at a consistent volume, regardless of the album they belong to.
replaygain=2 (album mode):
Volume is adjusted based on the average loudness of an entire album. This is useful for listening to full albums, preserving track-to-track volume dynamics as intended by the album’s producer.

To can check the current configuration by going to the settings view by pressing 7. There, search for replaygain, e.g. /replaygain. Audio output #

cmus supports various audio output plugins (output_plugin) depending on your system setup:

alsa: Advanced Linux Sound Architecture (common on Linux).
pulse: PulseAudio (used in many modern Linux distributions).
jack: JACK Audio Connection Kit (for professional audio production).
ao: Libao, a cross-platform audio output library.
oss: OSS (Open Sound System) backend (used when ALSA, PulseAudio, or other modern backends are not available).

To can check the current configuration by going to the settings view by pressing 7. There, search for output_plugin, e.g. /output_plugin. Auto reshuffle #

The auto_reshuffle setting in cmus controls whether the current playlist is automatically reshuffled when all tracks have been played.

auto_reshuffle=false (default):
When disabled, cmus stops playing after all tracks have been played, even if shuffle mode is active.
auto_reshuffle=true
When enabled, cmus reshuffles the playlist automatically after playing all tracks. This ensures continuous playback with a fresh random order.

To can check the current configuration by going to the settings view by pressing 7. There, search for auto_reshuffle, e.g. /auto_reshuffle. Shuffle #

The shuffle setting enables (true) or disables (false) random track playback in the current playlist or music library.

shuffle=false (default)
Tracks are played in the order they appear in the playlist or library.
shuffle=true
When playing a playlist, cmus selects tracks randomly.

If shuffle=true and auto_reshuffle=true, cmus reshuffles the playlist when it reaches the end, ensuring continuous random playback.

To can check the current configuration by going to the settings view by pressing 7. There, search for shuffle, e.g. /shuffle. Softvol #

By configuring softvol you can manage playback volume even when hardware volume control is not available or does not work as expected.

softvol=true
May slightly reduce audio quality due to the nature of software volume scaling (depending on your output plugin and system configuration).
softvol=false
cmus attempts to adjust the volume using the system’s audio backend if supported.

To can check the current configuration by going to the settings view by pressing 7. There, search for softvol, e.g. /softvol.