- At least macOS 10.8.
cmaketo 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. ;)
thefox/brewerytap to brew.
brew tap thefox/brewery
brew install cmus-control
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
- You need to install cmake:
brew install cmake
make installto compile Cmus Control Daemon and install
/usr/local/binpath. A launchd.plist file named
at.fox21.cmuscontrold.plistwill be created under
~/Library/LaunchAgentsto start Cmus Control Daemon automatically on login.
If you just want to compile Cmus Control Daemon without installing run
make. The binary will be created at
make uninstall. Doing so
cmuscontroldwill be unloaded via
~/Library/LaunchAgents/at.fox21.cmuscontrold.plistwill be removed;
/usr/local/bin/cmuscontroldwill be removed.
After a successful manual installation the
cmuscontrold is loaded/started automatically with
launchctl. You can unload the daemon manually:
Or load it manually:
After changing the source code you might want to re-build the binary and re-install it.
make unload make -C build/release make install
Copyright (C) 2015 Christian Mayer https://fox21.at
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.