Disable Laptop’s Webcam in Ubuntu 18.04

disable laptop's webcam in ubuntu

Insight: How to disable laptop’s webcam in Ubuntu 18.04

In this tutorial, we will show you the easy way to disable laptop’s webcam in Ubuntu 18.04. It is always good to disable webcam if you are not using it regularly or want to be safe from spying or else.

 

Disable laptop’s webcam in ubuntu in Ubuntu 18.04

We can disable webcam with the help of modprobe command. Let’s start it by executing the commands. Open your terminal and run the following command:

sudo modprobe -r uvcvideo

This command let you to disable your webcam but it will get activated when you reboot your Ubuntu. That means, this command will disable Webcam temporarily.

In-order to disable Webcam permanently, run the following command. You need to edit the configuration file to disable webcam permanently.

sudo gedit /etc/modprobe.d/blacklist.conf

After opening the file, add the following lines:

#Disable webcam
blacklist uvcvideo

Now, Your webcam will be disabled permanently.

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *