This tutorial shows how to disable your laptop’s built-in webcam in Ubuntu 24.04, Ubuntu 22.04, Ubuntu 20.04, and Ubuntu 18.04.
If you rarely use the webcam in your laptop, then it’s a good choice to disable it for privacy and security reasons. Some laptops have physical buttons to do the job, but most others do NOT.
Besides covering your webcam with a sticky note, here’s how to configure your Ubuntu to soft-block using Kernel module option.