All Projects → TheFox → cmus-control

TheFox / cmus-control

Licence: MIT license
Control cmus with Media Keys ⏪ ▶️ ⏩ under OS X.

Programming Languages

CMake
9771 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language
shell
77523 projects
Makefile
30231 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to cmus-control

Subethaedit
General purpose plain text editor for macOS. Widely known for its live collaboration feature.
Stars: ✭ 1,183 (+2219.61%)
Mutual labels:  macosx, mit-license
Jdupes
A powerful duplicate file finder and an enhanced fork of 'fdupes'.
Stars: ✭ 790 (+1449.02%)
Mutual labels:  macosx, mit-license
newrelic-unix-monitor
Monitoring service for Unix (AIX, Linux, HP-UX, MacOS, Solaris) systems
Stars: ✭ 26 (-49.02%)
Mutual labels:  macosx
CDDN-Change-DNS-Dynamically-with-your-Network
This script allows you to have the best configuration of your DNS when switching from one Wi-Fi to another.
Stars: ✭ 22 (-56.86%)
Mutual labels:  macosx
comic-sans-everything
Chrome Extension | Changes All Text to Comic Sans
Stars: ✭ 32 (-37.25%)
Mutual labels:  mit-license
Hackintosh-OpenCore-EFI-Dell-Inspiron-5559
Hackintosh (OpenCore) Dell Inspiron 15 5559 i7 6500u | Tested on Bigsur, Catalina
Stars: ✭ 18 (-64.71%)
Mutual labels:  macosx
JustAnotherVoiceChat-Server
Server for the JustAnotherVoiceChat TeamSpeak 3 plugin
Stars: ✭ 17 (-66.67%)
Mutual labels:  mit-license
dot-elvish
My configuration files for elvish - mirrored from GitLab
Stars: ✭ 43 (-15.69%)
Mutual labels:  macosx
OutlineViewDiffableDataSource
Stop looking for NSOutlineViewDiffableDataSource, it’s here 👌
Stars: ✭ 96 (+88.24%)
Mutual labels:  macosx
Entia
Entia is a free, open-source, data-oriented, highly performant, parallelizable and extensible Entity-Component-System (ECS) framework written in C# especially for game development.
Stars: ✭ 28 (-45.1%)
Mutual labels:  mit-license
svut
SVUT is a simple framework to create Verilog/SystemVerilog unit tests. Just focus on your tests!
Stars: ✭ 48 (-5.88%)
Mutual labels:  mit-license
koa-mongoDB
😊😊Koa and mongoose build services
Stars: ✭ 24 (-52.94%)
Mutual labels:  mit-license
Poetic-License
Limerick Open License in the spirit of OpenBSD, ISC, BSD0, and MIT Licenses
Stars: ✭ 36 (-29.41%)
Mutual labels:  mit-license
dumbmutate
Simple mutation-testing
Stars: ✭ 32 (-37.25%)
Mutual labels:  macosx
hypseus-singe
Hypseus is a SDL2 version of Daphne and Singe. Laserdisc game emulation.
Stars: ✭ 86 (+68.63%)
Mutual labels:  macosx
restaurant-hugo
The restaurant is a creative and responsive restaurant website theme in Hugo environment. It is very well decorated theme which will make your website building easier.
Stars: ✭ 50 (-1.96%)
Mutual labels:  mit-license
sublime
Repository for the Tandem Sublime Plugin
Stars: ✭ 22 (-56.86%)
Mutual labels:  macosx
Mathematical-Mesh
The Mesh is an infrastructure that makes the Internet easier to use by making it more secure.
Stars: ✭ 39 (-23.53%)
Mutual labels:  mit-license
ble
Bluetooth Low Energy for Linux / macOS
Stars: ✭ 264 (+417.65%)
Mutual labels:  macosx
dwarlixir
A dwarf-fortress clone / MUD / side project in Elixir
Stars: ✭ 46 (-9.8%)
Mutual labels:  mit-license

Cmus Control

Control cmus with Media Keys ▶️ under macOS.

Project Outlines

The project outlines as described in my blog post about Open Source Software Collaboration.

  • The main purpose of this software is to provide support for cmus under macOS. Cmus can be controlled by the Media Keys of your Apple Keyboard.
  • The feature-set is restricted because this software already provides the features what it was made of. But still, feel free to request features.

Requirements

  • At least macOS 10.8.
  • cmake to build it.
  • Since Cmus Control doesn't have the behavior of changing any foreign processes it's highly recommended to deactivate the Remote Control Daemon.
  • cmus installed. ;)

Install

You can either install Cmus Control via Homebrew or manually. The preferred method of installation is via Homebrew.

Homebrew installation

  1. Add the thefox/brewery tap to brew.

    $ brew tap thefox/brewery
  2. Actual installation

    $ brew install cmus-control
  3. After a successful installation follow the Caveats output, start the service:

    $ brew services start thefox/brewery/cmus-control

    Or, if you don't want/need a background service you can just run

    $ cmuscontrold

Manual installation

  1. You need to install cmake: brew install cmake
  2. Run ./bin/install.sh to compile Cmus Control Daemon and install cmuscontrold under /usr/local/bin path. A launchd.plist file named at.fox21.cmuscontrold.plist will be created under ~/Library/LaunchAgents to start Cmus Control Daemon automatically on login.

If you just want to compile Cmus Control Daemon without installing run ./bin/build_release.sh. The binary will be created at build/release/bin/cmuscontrold.

For a debugging version you can run ./bin/build_debug.sh. The binary will be created at build/debug/bin/cmuscontrold.

Uninstall

Just run ./bin/uninstall.sh. Doing so

  • cmuscontrold will be unloaded via launchctl;
  • ~/Library/LaunchAgents/at.fox21.cmuscontrold.plist will be removed;
  • /usr/local/bin/cmuscontrold will be removed.

Load/Unload

After a successful manual installation the cmuscontrold is loaded/started automatically with launchctl. You can unload the daemon manually:

$ ./bin/lctl_unload.sh

Or load it manually:

$ ./bin/lctl_load.sh

Re-build

After changing the source code you might want to re-build the binary and re-install it.

./bin/lctl_unload.sh
./bin/cleanup.sh
./bin/install.sh
./bin/lctl_load.sh
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].