Linux offers a wide variety of terminal-based music players, but there are still many we haven’t covered on LinuxLinks. Or I should say that new entrants come thick and fast.
Trix Player (or Trix) is billed as a lightweight, high-performance music player written in Rust. Aimed at Linux users who favor the terminal, it delivers a clean, text-based user interface (TUI), efficient vim-style keyboard navigation, and minimal resource consumption.
Installation
I wanted to evaluate Trix with the Manjaro distribution. I often use Manjaro for testing software. As it’s Arch based it offers access to the Arch User Repository, a community-driven repository. There’s a package in the AUR which I installed using Pamac.

While the package installs fine, Trix fails to start. And I also compiled the source code manually. Still no joy.

As Trix is in an early stage of development, there are no reported issues about installation. But I noticed there’s a deb package in the project’s GitHub repository (link is in the Summary Section, there’s also a Fedora package too). Firing up an Ubuntu machine, I installed Trix with the deb package.
The package installs fine.

While the program now starts, I didn’t get any sound with my vanilla installation of Ubuntu. After a bit of digging the issue is resolved with the command:
$ sudo apt install --reinstall pipewire-audio-client-libraries libspa-0.2-bluetooth libspa-0.2-jack
In Operation
Here’s an image of Trix in action. I copied our default test CC-licensed music collection to ~/Music which Trix automatically checks. I’ve constrained the width of the terminal so the image fits in well with the website.

The interface has a hints section instructing you to press h for a cheatsheet. It’s really just a help page for the keyboard shortcuts. Trix provdes an nvim-like experience for managing and playing your local music library.

The UI is attractive and well laid out.
Gapless playback is the uninterrupted playback of consecutive audio tracks, such that relative time distances in the original audio source are preserved over track boundaries on playback. It’s essential if you listen to classical, electronic music, concept albums, and progressive rock. There are a few Linux music players that don’t offer gapless playback. Sadly Trix doesn’t have gapless playback.
Key Features
- Audio Format Support: MP3, FLAC, WAV, OGG, M4A, AAC, and Opus.
- TUI: A clean, streamlined interface powered by ratatui.
- Volume Adjustment: Native ALSA volume control with a software fallback option.
- Search Functionality: Quick, fuzzy-style filtering for instant track discovery.
- Playback Features: Shuffle, loop (single track or entire playlist), and seek controls.
- File Handling: Remove tracks directly within the player.
- Standards Compliance: Automatically locates your music library using XDG_MUSIC_DIR, or defaults to ~/Music.
Summary
Trix is in a very early stage of development seeing its first release only in late January this year. I am impressed with this music player save for the absence of gapless playback. If the developer decides to support gapless playback I’ll definitely dig deeper into the software.
One of the strengths of Trix is its user interface. Trix uses ratatui to good effect. ratatui is a sublime Rust crate for cooking up terminal user interfaces.
Trix lives up to its lightweight billing. ps_mem reports that memory usage is a mere 6.1MB. That’s a really tiny memory footprint.
Trix certainly wasn’t a smooth installation, but hopefully things will improve with future releases.
Linux has lots of highly polished terminal-based music players. Look at the Related Software section for our picks.
Website: github.com/RIZAmohammadkhan/TerminalMusicPlayer
Support:
Developer: Riza Mohammad
License: MIT License
Trix is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Terminal-Based Music Players | |
|---|---|
| musikcube | Sublime audio engine, library, player and server written in C++ |
| tap | The lightest music player with gapless playback |
| Tizonia | Powerful cloud music player based on OpenMAX IL 1.2 written in C and C++ |
| cmus | Great set of features including the essential gapless playback |
| termusic | Music Player TUI written in Rust |
| kew | Music player written in C |
| spectrum | Simple and intuitive music player for tech enthusiasts |
| ncmpc | Frugal Music Player Daemon client |
| ncmpy | Music Player Daemon client |
| MOC | Designed to be powerful and easy to use |
| RMuP | Simple music player lacking gapless playback |
| Siren | Extremely frugal with system resources |
| grump | CLI audio player written in Go |
| Gomu | Another Go music player |
| mpvc | mpc-like control interface for mpv |
| RustPlayer | Audio and radio player written in Rust |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

