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:
And, then launch the app. Upon launching it, your webcam output should be directly visible if there are no configuration errors:
You should be good to go for the video call for the most part (considering you have checked the audio side too).
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:
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:
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 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:
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 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!