-
-
Notifications
You must be signed in to change notification settings - Fork 1
Arch Linux Webcam Configuration
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to webcam configuration on Arch Linux, 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:
# Install Cheese
sudo pacman -S cheese
# Launch
cheeseInstall guvcview:
# Install guvcview
sudo pacman -S guvcview
# Launch
guvcviewUse OBS:
# Install OBS
sudo pacman -S obs-studio
# Launch
obsCheck drivers:
# Check loaded modules
lsmod | grep -i video
# Check permissions
ls -l /dev/video0
# Add to video group
sudo usermod -aG video usernameFix permissions:
# Check group
groups
# Add to video group
sudo usermod -aG video username
# Log out and back inThis guide covered webcam detection, testing, applications, and troubleshooting.
- Arch Linux Multimedia - Multimedia
- Arch Linux Hardware Detection - Hardware
- ArchWiki Webcam: https://wiki.archlinux.org/title/Webcam_setup
This guide is based on the ArchWiki. For the most up-to-date information, always refer to the official ArchWiki.