Skip to content

Instantly share code, notes, and snippets.

@eliotsykes
Last active August 1, 2021 02:06
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eliotsykes/6c53c7e252487adcf20e to your computer and use it in GitHub Desktop.
Save eliotsykes/6c53c7e252487adcf20e to your computer and use it in GitHub Desktop.
camfix - Terminal command to fix Mac OS X built-in webcam
#!/bin/bash
# Add to your .bashrc on Mac OSX, then run camfix in Terminal
# if the Mac's built-in camera stops working.
# Thanks to: http://osxdaily.com/2013/12/27/fix-there-is-no-connected-camera-error-mac/
alias camfix='sudo killall VDCAssistant; sudo killall AppleCameraAssistant'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment