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

share|improve this question
up vote 12 down vote accepted

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

share|improve this answer
    
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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