How do I enable, disable the laptop's camera from terminal? And how will I know if it is on or of?


Press Ctrl+Alt+T on your keyboard to open terminal.

When it opens, run command to disable the camera until reboot:

sudo modprobe -r uvcvideo

You will be asked for your password, and after typing it, if there are no errors shown in the terminal, your webcam should be disabled.

To enable your webcam again, run:

sudo modprobe uvcvideo

  • Why any GUI is not appearing ? The command generates no error in terminal? – TechJhola Sep 25 '14 at 17:24
  • 2
    there is no GUI is direct on bash – Otto Sep 25 '14 at 17:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.