Add a camera app: photo and video on libcamera or V4L2
CI / test (push) Failing after 52s

- Discover libcamera cameras, falling back to V4L2; label them Back, Front or External and pick the rear sensor first
- Photo mode: JPEG saves to ~/Pictures/Camera, with an optional high-res still capture
- Video mode: H.264 MP4 recording through ffmpeg, saved to ~/Videos/Camera
- Rear torch LED toggle via sysfs, falling back to logind SetBrightness
- GTK3 + Cairo Wayland UI with a viewfinder, timer, grid, camera switch and gallery view
- Add the desktop entry, icon and camera tests
This commit is contained in:
nandi committed 2026-11-28 12:22:36 -08:00
1 parent 74235cb0ca
commit 1c954aa657
10 files changed
+3479 -8

No files matched your search

+2 -1
View File
@@ -13,6 +13,7 @@
chandra-ctl rotate [ARG] rotate/flip display (cw, ccw, flip, 0, 90, 180, 270, status)
chandra-ctl screen [ARG] turn display off/on (on, off, toggle, status)
chandra-ctl brightness [ARG] get/set backlight brightness percent (5..100, status)
chandra-ctl settings [TAB] open Settings popup tab (session, desktop, panel, power, shortcuts, apps)
chandra-ctl auth-demo [MODE] show the password dialog with a pretend check (password "demo");
MODE: password, face, face-ok, die, slow, users (docs/auth-dialog.md)
chandra-ctl auth-status the password dialog's agent: registered with polkit, or why not
@@ -28,7 +29,7 @@ import os
import socket
import sys
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | launch ID | windows | screenshot [PATH] | rotate [ARG] | screen [ARG] | brightness [ARG] | auth-demo [MODE] | auth-status | help}"
USAGE = "usage: chandra-ctl [--socket PATH] [--quiet] {reload [NAME] | list | ping | shortcut ID | kiosk [lock|unlock|status] | launch ID | windows | screenshot [PATH] | rotate [ARG] | screen [ARG] | brightness [ARG] | settings [TAB] | auth-demo [MODE] | auth-status | help}"
def runtime_dir():