2016-04-19 15:51:03 +00:00
|
|
|
<!-- vim: set tw=120: -->
|
|
|
|
|
|
|
|
# Manual Uninstall
|
|
|
|
|
|
|
|
- Delete `Background Music.app` from `/Applications`.
|
|
|
|
- Delete `Background Music Device.driver` from `/Library/Audio/Plug-Ins/HAL`.
|
|
|
|
- Pause apps that are playing audio, if you can.
|
2016-04-19 16:35:58 +00:00
|
|
|
- Restart `coreaudiod`:<br>
|
2016-04-19 15:51:03 +00:00
|
|
|
<sup>(Open `/Applications/Utilities/Terminal.app` and paste the following at the prompt.)</sup>
|
|
|
|
|
|
|
|
```shell
|
2024-04-23 05:46:05 +00:00
|
|
|
sudo killall coreaudiod
|
2016-04-23 04:21:02 +00:00
|
|
|
```
|
|
|
|
or, if that fails
|
|
|
|
|
|
|
|
```shell
|
2024-04-23 05:46:05 +00:00
|
|
|
sudo launchctl kickstart -kp system/com.apple.audio.coreaudiod
|
2016-04-19 15:51:03 +00:00
|
|
|
```
|
2022-11-26 01:52:44 +00:00
|
|
|
- Go to the Sound section in System Settings and change your default output device at least once. (If you only have
|
2016-04-19 15:51:03 +00:00
|
|
|
one device now, either use `Audio MIDI Setup.app` to create a temporary aggregate device, restart any audio apps that
|
|
|
|
have stopped working or just restart your system.)
|
2021-01-25 23:20:04 +00:00
|
|
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
|
|
|
If you still have the Background Music audio device, try using `Terminal.app` to make sure you've deleted its files:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo ls /Library/Audio/Plug-Ins/HAL
|
|
|
|
```
|
|
|
|
|
|
|
|
If you see `Background Music Device.driver` in the output of that command, use this command to actually delete it:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo rm -rf "/Library/Audio/Plug-Ins/HAL/Background Music Device.driver"
|
|
|
|
```
|
|
|
|
|
|
|
|
Then restart `coreaudiod` again. If that still doesn't work, restart your computer. If that doesn't work, feel free to
|
|
|
|
open an issue. Include the output of `sudo ls /Library/Audio/Plug-Ins/HAL`.
|
2016-04-19 15:51:03 +00:00
|
|
|
|
|
|
|
## Optional
|
|
|
|
|
|
|
|
- Delete `BGMXPCHelper.xpc` from `/usr/local/libexec` or possibly `/Library/Application Support/Background Music`.
|
2016-04-20 15:48:14 +00:00
|
|
|
- Unregister BGMXPCHelper.
|
2021-01-25 23:20:04 +00:00
|
|
|
- If you're using OS X 10.11 or later:
|
2016-04-20 15:48:14 +00:00
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo launchctl bootout system /Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist
|
|
|
|
```
|
|
|
|
- If you're using an earlier version of OS X:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo launchctl unload /Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist
|
|
|
|
```
|
|
|
|
- Delete BGMXPCHelper's launchd.plist.
|
2016-04-19 15:51:03 +00:00
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo rm /Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist
|
2016-04-20 15:48:14 +00:00
|
|
|
```
|
|
|
|
- Delete BGMXPCHelper's user and group.
|
|
|
|
|
|
|
|
```shell
|
2016-04-19 15:51:03 +00:00
|
|
|
sudo dscl . -delete /Users/_BGMXPCHelper
|
|
|
|
sudo dscl . -delete /Groups/_BGMXPCHelper
|
|
|
|
```
|
|
|
|
|
|
|
|
|