-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux Webcam Configuration
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to webcam configuration on Linux, covering Arch Linux, CachyOS, and other distributions including webcam detection, testing, and webcam applications.
Detect webcam:
# List USB devices
lsusb | grep -i camera
# Check video devices
ls -l /dev/video*
# Check kernel messages
dmesg | grep -i videoTest with v4l2:
# Install v4l-utils
sudo pacman -S v4l-utils
# List devices
v4l2-ctl --list-devices
# Capture image
v4l2-ctl --device=/dev/video0 --stream-mmap --stream-to=test.raw --stream-count=1Test with ffmpeg:
# Install FFmpeg
sudo pacman -S ffmpeg
# Capture image
ffmpeg -f v4l2 -i /dev/video0 -frames:v 1 test.jpg
# Record video
ffmpeg -f v4l2 -i /dev/video0 -t 10 output.mp4Install Cheese:
# Arch/CachyOS
sudo pacman -S cheese
# Launch
cheeseInstall guvcview:
# Arch/CachyOS
sudo pacman -S guvcview
# Launch
guvcviewCheck webcam:
# Check USB
lsusb | grep -i camera
# Check video devices
ls -l /dev/video*
# Check kernel messages
dmesg | grep -i videoFix permissions:
# Add user to video group
sudo usermod -aG video username
# Log out and back inThis guide covered webcam configuration for Arch Linux, CachyOS, and other distributions, including detection, testing, and applications.
- Hardware Detection - Hardware setup
- Multimedia - Media applications
- ArchWiki Webcam: https://wiki.archlinux.org/title/Webcam_setup
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.