Omarchy

How-To: See and Tweak Your Webcam’s Controls on Linux With v4l2-ctl

Leave a comment

Omarchy 4.6 RC1’s new camera panel got me poking at what my laptop webcam actually exposes. Under any panel sits plain V4L2, and v4l2-ctl lets you see and change those controls on any distro.

1. Install the tools

sudo pacman -S v4l-utils      # Arch / Omarchy
sudo apt install v4l-utils    # Debian / Ubuntu

2. Find your camera

v4l2-ctl --list-devices

A single camera often shows up as two /dev/video nodes. The first one listed under it is usually the actual capture device.

3. List what it supports

v4l2-ctl -d /dev/video0 --list-ctrls-menus
v4l2-ctl -d /dev/video0 --list-formats-ext

You’ll see controls like brightness, contrast, saturation, white balance and exposure, each with its min, max, default and current value. Write the defaults down before you change anything.

4. Change a setting live

Start a video call or open a camera app in another window, then:

v4l2-ctl -d /dev/video0 --set-ctrl=brightness=150
v4l2-ctl -d /dev/video0 --get-ctrl=brightness
# put it back to the default value from step 3
v4l2-ctl -d /dev/video0 --set-ctrl=brightness=128

A lot of cameras won’t take manual white balance or exposure until you turn the matching auto control off first (names vary, so check your step 3 list).

Notes

  • These settings usually reset when you unplug the camera or reboot. To make them stick, rerun the commands from a startup script or a udev rule.
  • Some newer laptop cameras (Intel IPU-based, for example) go through libcamera and show few or no controls here. That’s normal, and it’s exactly the gap a software relay like Omarchy’s new camera panel fills.

God Bless, and Happy hacking!

References & Further Reading

Subscribe (RSS) Follow How-Tos via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.