Skip to content

Instantly share code, notes, and snippets.

@4lun
Last active February 20, 2016 14:57
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4lun/e9ac8b5fe921b1f434c1 to your computer and use it in GitHub Desktop.
Save 4lun/e9ac8b5fe921b1f434c1 to your computer and use it in GitHub Desktop.
cmus on OSX (inc. mediakeys and lastfm integration)

cmus

Install

brew install cmus

cmusfm

Install

git clone git@github.com:Arkq/cmusfm.git
cd cmusfm
autoreconf --install # Try `brew install automake pkg-config` if this fails
mkdir build && cd build
../configure # For errors involving openssl, try `brew install openssl` then `brew link openssl --force`
make && make install

Enable

  • Create a blank file at ~/.config/cmus/cmusfm.conf
  • Run cmusfm init and follow instructions to authorize with lastfm
  • Run cmus and type :set status_display_program=cmusfm

cmus-mediakeys

Install

git clone git@github.com:nogizhopaboroda/cmus-mediakeys.git
cd cmus-mediakeys
npm install

Enable

  • Add bin directory to your .bash_profile/bashrc file export PATH=$PATH:/path/to/cmus-mediakeys/bin
  • Run cmus-mediakeys to monitor for keystrokes and relay to cmus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment