Linux music on console
Jump to navigation
Jump to search
MOC - Music On Console
One of favourite music player in terminal is MOC - Music On Console feature rich, easy to use and solid stable. So, follow the steps below for a of minimum configuration and quick way to start listening your most favourite notes.
Install
apt-get install moc moc-ffmpeg-plugin
Shortcuts
mocp #start MOC
- T - theme selection
- o - open URL
- ^u - add URL to a playlist
- A - add a folder recursively to playlist
- d - remove track from playlist
- V - save playlist current location at a given file name, can override
- C - clear playlist
- < or > - master volume down or up
- q - quit MOC
- Q - shutdown the mocp service
Custom shortcuts configuration
The package includes a sample configuration file at /usr/share/doc/moc/config.example
. To configure moc, copy this file to ~/.moc/config
and edit it.
For instructions about customizing the keybindings, read /usr/share/doc/moc/keymap.example
.
cd ~/.moc && cp /usr/share/doc/moc/examples/config.example.gz ./ && gunzip config.example.gz && mv config.example config
Audio Mixer on console
ALSA sound control system is one of most popular way to manipulate your sound card settings. It runs in a console.
Install
sudo apt-get install alsa alsa-tools # installs alsa-base, alsa-utils, alsa-tools and libasound2 sudo adduser yourusername audio # add yourself to the group audio sudo init 6 # reboot to take effect
Use
alsamixer # start
Use arrows up and down to change volume, left and right to change source. To mute/unmute press M. To quit press Q.