How to Disable Ubuntu ‘Camera’ and ‘Microphone’ Access System-Wide

Modern Linux distributions, including Ubuntu, have vastly improved their hardware compatibility, often instantly recognizing and activating built-in laptop webcams and microphones the moment you install the OS. While convenient for video calls, this can be a significant privacy concern for security-conscious users.

If you are setting up a secure workstation, a dedicated programming environment, or simply never intend to use a camera or microphone on your machine, you might want to ensure that absolutely no application—whether it’s a web browser, a malicious script, or a background service—can ever access your audio/visual hardware. The most secure way to achieve this is to disable the hardware access system-wide through the GNOME privacy settings.

How to Block Camera and Microphone Access in Ubuntu

You can revoke access to these hardware devices directly from the system settings panel.

  1. Click the network/battery icon cluster in the top-right corner of the Ubuntu top bar and select Settings (the gear icon).
  2. In the left-hand navigation sidebar, scroll down and click on Privacy.
  3. In the main window on the right, you will see separate sections for different permissions. Click on Camera.
  4. At the top of the Camera settings page, click the toggle switch labelled Camera Access to turn it completely Off.
  5. Click the “Back” arrow at the top left of the window to return to the main Privacy menu.
  6. Now, click on Microphone.
  7. At the top of the Microphone settings page, click the toggle switch labelled Microphone Access to turn it completely Off.

These toggles act as a master kill switch. Regardless of what permissions individual applications request, the GNOME desktop environment will act as a firewall, denying them access to your hardware and ensuring your environment remains entirely private.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.