How to Test Webcam on Ubuntu

Considering you have a webcam device connected to your computer or a laptop with webcam, it is a good idea to test if it works before an important video call.

You would rather not troubleshoot when you are in the middle of a video conferencing session, right?

So, how to test the webcam on Ubuntu or your Linux system before the call?

You have a simple solution: you can use the cheese webcam app on your Ubuntu system.

Using Cheese or Snapshot Webcam App on Ubuntu

By default, Ubuntu comes pre-installed with the Cheese webcam app, unless you opted for a minimal installation of Ubuntu.

First, you need to search for the app:

How to Test Webcam on Ubuntu

And, then launch the app. Upon launching it, your webcam output should be directly visible if there are no configuration errors:

How to Test Webcam on Ubuntu

You should be good to go for the video call for the most part (considering you have checked the audio side too).

๐Ÿ’ก
For a laptop, both the audio/video devices should work as expected out of the box on Ubuntu. But, if it is a PC or if you have external devices connected, you need to ensure the devices are selected in the configuration/preferences of the video call app or service to use it.

And, if it’s not visible or if you want to check the resolution/change it, you can head to the app preferences using the hamburger menu icon:

How to Test Webcam on Ubuntu

In my case, I tested it first with a laptop’s built-in camera. If you have a separate webcam device connected, you can set it here in the preference, and then test if it is visible to you.

My external webcam device looked like this, with “HD Camera” as the name to select:

How to Test Webcam on Ubuntu

Normally, you should not have an issue with laptops, but you should always check before a video call.

It is also important to keep in mind, your preferences in the Cheese app do not necessarily carry forward to the web app or service you use to make a video call. So, make sure that you check the preferences of the app you use for the video as well.

Fret not, if you do not have a laptop or a separate webcam device, you can also use your phone as a camera and mic:

Using Your Phone as Camera and Mic in Ubuntu
You can use your smartphone if you donโ€™t have a webcam and dedicated mic with your desktop system. Hereโ€™s how to do that in Ubuntu Linux.
How to Test Webcam on Ubuntu
๐Ÿ“‹
At the time of writing, Ubuntu 24.04 LTS was yet to be released, which could feature the new GNOME app โ€” Snapshot as a webcam app instead of Cheese. Just keep that in mind when you try Ubuntu 24.04 LTS, we shall update this article as soon that releases.

Using the CLI

If you want to see if the webcam device is detected on your system using the terminal, you can also do that by typing the following command:

ls -l /dev/video*

If you do not have any video devices connected, it will show you the output that says ‘No such file or directory‘.

If you have any connected devices, the output will look like this:

How to Test Webcam on Ubuntu

For each device, you get two lines of output. I added an external webcam, and here you can see the output for the same command:

How to Test Webcam on Ubuntu

๐Ÿ’ฌ How do you prefer to test your webcam? Do you face issues with an external webcam compared to a laptop’s built-in cam? Share your thoughts in the comments below!

Leave a Comment