Add Webarchy ultrawide browser, DNS UI, WLAN/st fixes, and media/CLI packages

- Port Webarchy GTK3/WebKit2GTK browser for 2160x1080 with flush-right vertical tab bar, DPI-scaled .Xresources SIGUSR1 theming, single-instance FIFO, and GPU crash CPU fallback (src/webarchy/webarchy.cpp, geminux-webarchy)
- Cross-compile pure-C gdk-pixbuf 2.42.12 (geminux-gdk-pixbuf) and compile rootfs GSettings schemas so webkit2gtk-4.1 and gst-plugins-good install with zero Rust ELFs
- Add zero-Rust geminux-mpv (mpv v0.40.0, FFmpeg n7.1.5, libplacebo, gst-libav 1.28.9) plus python3, py3-pip, mpg123, yt-dlp (quickjs), gnupg, gpg, pass, and pinentry-curses
- Fix MT6797 WLAN peer deauth and CCMP EAPOL GTK rekey (patch 0007), set wifi.powersave = 2, pin active WLAN connections in geminux-net, and add the DNS tab with geminux-dnsctl
- Restore st filled/hollow cursor focus across screenlock and libgemui grabs via dwm, libgemui, and st updates
- Update README.md, MANUAL.md, ARCHITECTURE.md, POWER-OPTIMIZATION.md, check-rebuild.sh, and host Python tests
This commit is contained in:
Luxferre committed 2026-11-23 12:46:34 +02:00
1 parent c12ed68d19
commit e01806f3c8
82 files changed
+5499 -117

No files matched your search

+6 -5
View File
@@ -17,7 +17,7 @@ In [src/dwm/config.h](file:///home/lux/proj/geminux/src/dwm/config.h), `MODKEY`
| --- | --- |
| `Mod4 + Return` | Launch `st` terminal (with Fira Code HarfBuzz ligatures) |
| `Mod4 + Shift + Return` | Promote focused window to master (`zoom`) |
| `Mod4 + Space` / `Mod4 + p` | Launch `geminux-launcher` (`dmenu` with Nerd Font icons, pinned GUI apps, `Bantam AI agent`, and `Lynx Web Browser` in `st`) |
| `Mod4 + Space` / `Mod4 + p` | Launch `geminux-launcher` (`dmenu` with Nerd Font icons, pinned GUI apps, `Webarchy Browser`, `Bantam AI agent`, and `Lynx Web Browser` in `st`) |
| `Mod4 + c` | Open `geminux-control` (backlight, volume, power profiles, LEDs, suspend) |
| `Mod4 + d` | Open `geminux-dialer` |
| `Mod4 + s` | Open `geminux-sms` |
@@ -53,16 +53,17 @@ geminux-apply-theme # list available themes
geminux-apply-theme TokyoNight
```
`geminux-apply-theme` updates `~/.Xresources`, merges into the X11 resource database via `xrdb`, translates the unified `theme.*` keys into `~/.config/dunst/dunstrc` via `geminux-sync-dunst-theme`, restarts `dunst`, and sends `SIGUSR1` to live `dwm`, `st`, and `libgemui` applications for instant in-place redraw.
`geminux-apply-theme` updates `~/.Xresources`, merges into the X11 resource database via `xrdb`, translates the unified `theme.*` keys into `~/.config/dunst/dunstrc` via `geminux-sync-dunst-theme`, restarts `dunst`, and sends `SIGUSR1` to live `dwm`, `st`, `webarchy`, and `libgemui` applications for instant in-place redraw.
## Applications and daemons
- **Webarchy Browser (`webarchy` / `xwebarchy`)**: Ultrawide `2160x1080` `GTK3` + `WebKit2GTK` browser featuring a collapsible right-side vertical tab bar (`Tabs ◫` or `Ctrl+B` / `Alt+T`), omnibar URL/DuckDuckGo search, persistent SQLite cookies and bookmarks (`~/.config/geminux/webarchy/` and `~/.local/share/geminux/webarchy/`), User-Agent presets, Dark Mode inverter (`Ctrl+Shift+D`), Reader Width Fit, Find in Page (`Ctrl+F`), single-instance URL forwarding via CLI, live `.Xresources` reloading (`SIGUSR1`), and automatic CPU renderer fallback on WebProcess crash (`--software` or `~/.config/geminux/webarchy/software_renderer`). Shortcuts: `Ctrl+T` new tab, `Ctrl+W` close tab, `Ctrl+Shift+T` reopen closed tab, `Ctrl+Tab` / `Alt+Up`/`Down` / `Alt+1..9` switch vertical tabs, `Ctrl+L` / `F6` focus URL bar, `Alt+Left` / `Alt+Right` back/forward, `Ctrl+D` bookmark, `Ctrl++` / `-` / `0` zoom, and `F11` fullscreen.
- **Telephony & messaging**: `geminux-dialer`, `geminux-callscreen`, `geminux-sms`, `geminux-contacts` backed by `geminux-modem-ctl` and `geminux-ccci-daemon` (using `alsaucm` UCM2 `VoiceCall` / `HiFi` switching and call suspend inhibitors).
- **Audio & date/time**: `geminux-audio` manages PipeWire sink/source routing, mute state, and per-stream volume via `wpctl`/`pactl`. `geminux-datetime` manages the system timezone (`geminux-tzctl`) and shows live Chrony NTP sync status.
- **Connectivity**: `geminux-net` manages Wi-Fi (`nmcli`), 4G/CCCI state (`mmcli` + `/run/geminux/ccci.sock`), Bluetooth (`bluetoothctl` / `rfkill`), and SiI9024 external HDMI output (`xrandr`).
- **Connectivity**: `geminux-net` manages Wi-Fi (`nmcli`, keeping the currently associated WLAN connection pinned at the top with a `Disconnect` control), 4G/CCCI state (`mmcli` + `/run/geminux/ccci.sock`), Bluetooth (`bluetoothctl` / `rfkill`), SiI9024 external HDMI output (`xrandr`), and the **`DNS` tab** (`geminux-dnsctl`, supporting router-provided Default DNS, Cloudflare, Google, RadicalDNS, Quad9, custom IPv4/IPv6 nameservers, and live DNS lookup testing).
- **Camera**: `geminux-camera` configures the MT6797 Media Controller pipeline (`ov5670`/`s5k4e6` -> `seninf` -> `camsv`), captures 10-bit Bayer (`SBGGR10`/`SGRBG10`) frames over V4L2 `mmap` with a pure-C demosaic + AWB software ISP, and writes native `libjpeg-turbo` stills to `~/Pictures/` and MJPEG-AVI clips to `~/Videos/`.
- **System control, LEDs & lock**: `geminux-control` adjusts display backlight, PipeWire audio volume, MT6797X power profile (`eco`, `balanced`, `performance`), and AW9120 LEDs (`/run/geminux/leds.sock`). `geminux-leds` drives the 5-LED RGB back strip (`rgb:indicator-1..5`, defaulting to off when idle or 100% charged) plus `rgb:indicator-6` (amber while charging), supports calibrated presets including `rgb 160 16 0` ("Amber Warn"), and preserves manual `off` / `rgb` overrides across battery uevents. `geminux-lock` secures the X session using `doas -n /usr/sbin/geminux-checkpw`, resolving the desktop account dynamically from UID `10000` (`--username` or default `user`). `geminux-powerd` implements an input-driven screensaver: on battery it dims then triggers `geminux-lock` + suspend, while on AC / `performance` it triggers `geminux-lock` + backlight blanking (waking back onto the lock screen on key, touch, pointer, or power-button activity), timed strictly from the last active user input.
- **CLI developer & network tools**: `bantam` (`geminux-bantam`, minimalist C++20 OpenAI-compatible terminal AI agent defaulting to `kilo-auto/free`; see [src/bantam/README.md](file:///home/lux/proj/geminux/src/bantam/README.md)), `lynx` (configured via `~/.lynx.cfg` with `http://frogfind.com` start page, UTF-8, vi keys, mouse support, and persistent sessions/cookies), `gsocket` (`gs-netcat` plus `gs-key`/`gs-enter`/`gs-deploy-cmd`), `dtach` (`dmux`), `ovault`, default `htop` layout (`/etc/htoprc` / `~/.config/htop/htoprc`), `/etc/skel/.apexrc` defaults (`EDITOR='nano -FEDSMAGic/max%_T2'`, `PAGER='less -RXF'`, `nn`, `pg`, `l`, `defalias`/`toalias`/`savealias`, `rw`/`ee`, `sshed`, `dl`, `gcm`/`gp`/`gpm`, `sloc`, and `doas`-aware `pkgadd`/`pkgdel`/`pkgsearch`/`sysup`/`sysclean`), and `/etc/skel/.gitconfig` are preinstalled.
- **CLI developer, media & security tools**: Zero-Rust `mpv` (`/etc/mpv/mpv.conf` with Panfrost X11 EGL + PipeWire) & `ffmpeg`/`ffprobe`, `mpg123`, `yt-dlp` (`yt-dlp-ejs-rt-quickjs`), `python3` & `pip3` (`py3-pip`), `gpg` (`gnupg` + `pinentry-curses` + `GPG_TTY`), `pass`, `bantam` (`geminux-bantam`, minimalist C++20 OpenAI-compatible terminal AI agent defaulting to `kilo-auto/free`; see [src/bantam/README.md](file:///home/lux/proj/geminux/src/bantam/README.md)), `lynx` (configured via `~/.lynx.cfg` with `http://frogfind.com` start page, UTF-8, vi keys, mouse support, and persistent sessions/cookies), `gsocket` (`gs-netcat` plus `gs-key`/`gs-enter`/`gs-deploy-cmd`), `dtach` (`dmux`), `ovault`, default `htop` layout (`/etc/htoprc` / `~/.config/htop/htoprc`), `/etc/skel/.apexrc` defaults (`EDITOR='nano -FEDSMAGic/max%_T2'`, `PAGER='less -RXF'`, `nn`, `pg`, `l`, `defalias`/`toalias`/`savealias`, `rw`/`ee`, `sshed`, `dl`, `gcm`/`gp`/`gpm`, `sloc`, and `doas`-aware `pkgadd`/`pkgdel`/`pkgsearch`/`sysup`/`sysclean`), and `/etc/skel/.gitconfig` are preinstalled.
## Maintaining Alpine Edge packages safely
@@ -73,4 +74,4 @@ doas apk update
doas apk upgrade
```
Because custom Geminux components (`geminux-kernel-modules`, `geminux-xlibre`, `geminux-suckless`, `geminux-dunst`, `geminux-ui`, `geminux-bantam`, `geminux-gsocket`, `geminux-config`) are exact-version pinned (`name@geminux=version`) in `/etc/apk/world` and Rust/upstream overrides (`!rust`, `!cargo`, `!librsvg`, `!libglycin`, `!gdk-pixbuf`, `!xorg-server`, `!linux-edge`, etc.) are negated in `/etc/apk/world`, normal Alpine Edge upgrades update upstream libraries, CLI tools, NetworkManager, ModemManager, PipeWire, and Mesa without overwriting custom patched binaries or pulling Rust packages.
Because custom Geminux components (`geminux-kernel-modules`, `geminux-xlibre`, `geminux-suckless`, `geminux-dunst`, `geminux-ui`, `geminux-bantam`, `geminux-gsocket`, `geminux-mpv`, `geminux-gdk-pixbuf`, `geminux-webarchy`, `geminux-config`) are exact-version pinned (`name@geminux=version`) in `/etc/apk/world` and Rust/Wayland/upstream overrides (`!rust`, `!cargo`, `!librsvg`, `!libglycin`, `!gdk-pixbuf`, `!deno`, `!py3-cryptography`, `!xorg-server`, `!linux-edge`, etc.) are negated in `/etc/apk/world`, normal Alpine Edge upgrades update upstream libraries, CLI tools, NetworkManager, ModemManager, PipeWire, and Mesa without overwriting custom patched binaries or pulling Rust packages.