Sync GTK4/libadwaita/Qt/Tk gtkTtk themes, add Tcl/Tk, and fix lid-close input leak
- Extend geminux-sync-gtk-theme and geminux-apply-theme to synchronize GTK4/libadwaita (dconf + ADW_DISABLE_PORTAL=1), qt6ct (QT_QPA_PLATFORMTHEME=qt6ct:gtk3), Kvantum, and live classic/ttk Tk apps - Preinstall dconf, gtk+2.0, tcl, tcl-lib, tcl-tls, tk, and custom zero-glycin geminux-gtkttk (GtkTtk 0.9 with XImage blitting, RESOURCE_MANAGER live reload, and *TkTheme: gtkTtk) - Add kernel patch 0011 to open gemini-lid keyboard/touchscreen handles for synchronous raw Hall GPIO66 input filtering, inhibit SSD2092 touch while closed, and set 1 ms hall-switch / 10 ms keyboard-matrix debounce in DT
This commit is contained in:
1 parent
16fcaaaba6
commit
983d529ec3
87 files changed
+10943
-45
No files matched your search
@@ -1,11 +1,11 @@
|
||||
# Geminux
|
||||
|
||||
Geminux is an Alpine Linux (`aarch64`, musl, OpenRC) distribution built specifically for the Planet Computers Gemini PDA (Wi-Fi + 4G, MediaTek MT6797X / Helio X27). It runs a patched Linux `7.3.5-geminux` kernel, XLibre Xorg with tear-free rotated `ShadowFB` scanout and Panfrost EGL/OpenGL 3D acceleration, a custom Pango/HarfBuzz-enabled DWM/st/dmenu desktop with Fira Code ligatures and Noto fonts, zero-poll C11 system daemons, 11 landscape HiDPI applications (`libgemui.so`), MT6797 MD1 cellular bring-up with ST33 eUICC eSIM provisioning (`lpac` + `geminux-cellctl`), 3GPP VoLTE / VoWiFi / SMS-over-IMS (`geminux-imsd`), hardware Airplane Mode (`Fn+F`), the ported Webarchy ultrawide `GTK3`/`WebKit2GTK` browser (`geminux-webarchy`, right-side vertical tab bar), native Alpine Edge `mpv` + `ffmpeg` + `gst-libav`, `mpg123`, `openmpt123`, `yt-dlp`, `python3`/`pip`, `gpg` (`gnupg`), `pass`, `dosfstools`, boot/hotplug `/media/sdcard` microSD automount (`geminux-sdcard` / `eudev`), the preinstalled `bantam` CLI AI agent (`geminux-bantam`, `kilo-auto/free` default), `lynx`, `gsocket`, and a pure-Linux MediaTek flasher with account provisioning and optional LUKS2 full-disk encryption.
|
||||
Geminux is an Alpine Linux (`aarch64`, musl, OpenRC) distribution built specifically for the Planet Computers Gemini PDA (Wi-Fi + 4G, MediaTek MT6797X / Helio X27). It runs a patched Linux `7.3.5-geminux` kernel, XLibre Xorg with tear-free rotated `ShadowFB` scanout and Panfrost EGL/OpenGL 3D acceleration, a custom Pango/HarfBuzz-enabled DWM/st/dmenu desktop with Fira Code ligatures and Noto fonts, zero-poll C11 system daemons, 11 landscape HiDPI applications (`libgemui.so`), MT6797 MD1 cellular bring-up with ST33 eUICC eSIM provisioning (`lpac` + `geminux-cellctl`), 3GPP VoLTE / VoWiFi / SMS-over-IMS (`geminux-imsd`), hardware Airplane Mode (`Fn+F`), the ported Webarchy ultrawide `GTK3`/`WebKit2GTK` browser (`geminux-webarchy`, right-side vertical tab bar), native Alpine Edge `mpv` + `ffmpeg` + `gst-libav`, `mpg123`, `openmpt123`, `yt-dlp`, `python3`/`pip`, `tcl` (`tcl-lib` + `tcl-tls`) & `tk` (`gtkTtk` dynamic GTK2 theme engine), `gpg` (`gnupg`), `pass`, `dosfstools`, boot/hotplug `/media/sdcard` microSD automount (`geminux-sdcard` / `eudev`), the preinstalled `bantam` CLI AI agent (`geminux-bantam`, `kilo-auto/free` default), `lynx`, `gsocket`, and a pure-Linux MediaTek flasher with account provisioning and optional LUKS2 full-disk encryption.
|
||||
|
||||
## Key design goals
|
||||
|
||||
- Pure Alpine Edge userspace updatable via `apk update && apk upgrade`
|
||||
- Pinned kernel, modules, XLibre, suckless desktop, custom UI, Webarchy browser, pure-C `gdk-pixbuf`, `bantam`, `gsocket`, and device configs (including `/etc/mpv/mpv.conf`) across 10 local signed `@geminux` APK packages (`name@geminux=version`)
|
||||
- Pinned kernel, modules, XLibre, suckless desktop, custom UI, Webarchy browser, pure-C `gdk-pixbuf`, `gtkTtk`, `bantam`, `gsocket`, and device configs (including `/etc/mpv/mpv.conf`) across 11 local signed `@geminux` APK packages (`name@geminux=version`)
|
||||
- Non-whitelisted Rust/Wayland/override packages blocked via `!` pins in `/etc/apk/world` and verified via ELF scan (`librsvg`, `rav1e`/`rav1e-libs`, and `libdovi` are explicitly whitelisted for ecosystem compatibility and native `ffmpeg`/`mpv`/`gst-libav`)
|
||||
- Full eMMC occupancy for Linux (`geminux-root`) without Android dual-boot sharing, while strictly preserving the MediaTek protected region (`LBA 0..0x6FFFF`)
|
||||
- Optional LUKS2 + `dm-crypt` full-disk encryption (`--encrypt`, `aes-xts-plain64` with ARMv8 AES-CE, Argon2id) with early-boot `simpledrm` + Gemini matrix keyboard unlock and automatic first-boot ext4 expansion, alongside offline desktop/`root` credential provisioning during flashing
|
||||
@@ -15,15 +15,15 @@ Geminux is an Alpine Linux (`aarch64`, musl, OpenRC) distribution built specific
|
||||
|
||||
| Subsystem | Implementation | Source / Script |
|
||||
| --- | --- | --- |
|
||||
| Kernel & boot | Linux `7.3.5-geminux` + Gemini x27 patches (`SSD2092` DSI/touch, CONSYS Wi-Fi/BT + peer deauth/GTK rekey/drop-free stability `0007`/`0009`, S3 resume/SPM `0008`, CCCI/CLDMA + MD1 boot HS v2/RPC `0002`/`0010`, XFRM/ESP IPsec, `sii902x`, `dm-crypt` LUKS2 initramfs) | [scripts/build-kernel.sh](file:///home/lux/proj/geminux/scripts/build-kernel.sh) |
|
||||
| Kernel & boot | Linux `7.3.5-geminux` + Gemini x27 patches (`SSD2092` DSI/touch, synchronous `gemini-lid` Hall filter & inhibit `0011`, CONSYS Wi-Fi/BT + peer deauth/GTK rekey/drop-free stability `0007`/`0009`, S3 resume/SPM `0008`, CCCI/CLDMA + MD1 boot HS v2/RPC `0002`/`0010`, XFRM/ESP IPsec, `sii902x`, `dm-crypt` LUKS2 initramfs) | [scripts/build-kernel.sh](file:///home/lux/proj/geminux/scripts/build-kernel.sh) |
|
||||
| Flasher & GPT | Vendored GPLv3 `mtkclient` + MT6797 DA + GPT builder + offline credential & LUKS2 provisioning | [flash-mtk.sh](file:///home/lux/proj/geminux/flash-mtk.sh), [flash-mtk.py](file:///home/lux/proj/geminux/flash-mtk.py), [scripts/geminux_accounts.py](file:///home/lux/proj/geminux/scripts/geminux_accounts.py), [scripts/geminux_luks.py](file:///home/lux/proj/geminux/scripts/geminux_luks.py) |
|
||||
| Display server | XLibre Xorg 25.x (`modesetting` `ShadowFB` + `TearFree` rotated 2D scanout alongside Panfrost Glamor/EGL 3D, `fbdev`, `libinput`) | [scripts/build-xlibre.sh](file:///home/lux/proj/geminux/scripts/build-xlibre.sh) |
|
||||
| Window manager & terminal | Patched `dwm` (Pango, systray, `.Xresources`, `Mod4`, `Fn+F` Airplane Mode keybind, `SIGHUP` self-reexec), `st` (HarfBuzz ligatures, focus cursor sync & unfocused cursor-blink gating, wheel scrollback), full-height `dmenu` | [scripts/build-suckless.sh](file:///home/lux/proj/geminux/scripts/build-suckless.sh) |
|
||||
| Notifications | Pure-X11 zero-`gdk-pixbuf` `dunst v1.12.2` + custom GDBus `notify-send` / `dunstify` (`geminux-sync-dunst-theme`) | [scripts/build-dunst.sh](file:///home/lux/proj/geminux/scripts/build-dunst.sh) |
|
||||
| Web browser | Webarchy C++20 `GTK3` + `WebKit2GTK-4.1` ultrawide browser (right-side vertical tab bar, DPI-scaled `.Xresources` `SIGUSR1` theming, live `xsettingsd` / `Geminux-*` GTK2/GTK3 sync) + pure-C `gdk-pixbuf 2.42.12` | [scripts/build-webarchy.sh](file:///home/lux/proj/geminux/scripts/build-webarchy.sh), [scripts/compile-gsettings-schemas.sh](file:///home/lux/proj/geminux/scripts/compile-gsettings-schemas.sh) |
|
||||
| Web & toolkits | Webarchy C++20 `GTK3` + `WebKit2GTK-4.1` ultrawide browser (right-side vertical tab bar, DPI-scaled `.Xresources` `SIGUSR1` theming, live `xsettingsd`/`dconf` & `Geminux-*` GTK2/3/4/`libadwaita`/Qt5/Qt6 sync), pure-C `gdk-pixbuf 2.42.12`, `tcl` (`tcl-lib`, `tcl-tls`), and `tk` + `gtkTtk 0.9` dynamic GTK2 theme engine | [scripts/build-webarchy.sh](file:///home/lux/proj/geminux/scripts/build-webarchy.sh), [scripts/build-gtkttk.sh](file:///home/lux/proj/geminux/scripts/build-gtkttk.sh), [scripts/compile-gsettings-schemas.sh](file:///home/lux/proj/geminux/scripts/compile-gsettings-schemas.sh) |
|
||||
| UI & system daemons | `libgemui.so`, 11 landscape HiDPI apps (`geminux-net` Cellular/eSIM/DNS + Airplane Mode banner), zero-poll C11 daemons (`geminux-cellctl` dual-SIM / ST33 `lpac` eSIM + `ccmni*` PDN, `geminux-imsd` VoLTE/VoWiFi `SWu`/SMS-over-IMS/RTP, `geminux-powerd` hardware Airplane Mode, `geminux-dnsctl`, etc.) | [scripts/build-geminux-ui.sh](file:///home/lux/proj/geminux/scripts/build-geminux-ui.sh) |
|
||||
| Media & CLI tools | Native Alpine Edge `mpv` (`/etc/mpv/mpv.conf` with Panfrost X11 EGL + PipeWire + IPC), `ffmpeg`/`ffprobe`, `gst-libav`, `mpg123`, `openmpt123`, `yt-dlp` (`quickjs`), `python3`/`pip3`, `gpg` (`gnupg`), `pass`, `dosfstools` (`mkfs.vfat`/`fsck.vfat`/`fatlabel`), `bantam`, `lynx`, `gsocket`, `.apexrc`, default `htoprc` | [scripts/build-bantam.sh](file:///home/lux/proj/geminux/scripts/build-bantam.sh), [scripts/build-gsocket.sh](file:///home/lux/proj/geminux/scripts/build-gsocket.sh), [overlay/rootfs/etc/mpv/mpv.conf](file:///home/lux/proj/geminux/overlay/rootfs/etc/mpv/mpv.conf) |
|
||||
| Local APK repository | 10 signed `@geminux` `.apk` packages + `APKINDEX.tar.gz` | [scripts/package-local-apks.sh](file:///home/lux/proj/geminux/scripts/package-local-apks.sh) |
|
||||
| Media & CLI tools | Native Alpine Edge `mpv` (`/etc/mpv/mpv.conf` with Panfrost X11 EGL + PipeWire + IPC), `ffmpeg`/`ffprobe`, `gst-libav`, `mpg123`, `openmpt123`, `yt-dlp` (`quickjs`), `python3`/`pip3`, `tclsh`/`wish`, `gpg` (`gnupg`), `pass`, `dosfstools` (`mkfs.vfat`/`fsck.vfat`/`fatlabel`), `bantam`, `lynx`, `gsocket`, `.apexrc`, default `htoprc` | [scripts/build-bantam.sh](file:///home/lux/proj/geminux/scripts/build-bantam.sh), [scripts/build-gsocket.sh](file:///home/lux/proj/geminux/scripts/build-gsocket.sh), [overlay/rootfs/etc/mpv/mpv.conf](file:///home/lux/proj/geminux/overlay/rootfs/etc/mpv/mpv.conf) |
|
||||
| Local APK repository | 11 signed `@geminux` `.apk` packages + `APKINDEX.tar.gz` | [scripts/package-local-apks.sh](file:///home/lux/proj/geminux/scripts/package-local-apks.sh) |
|
||||
| Full build & checks | Full image assembly + offline verification suite | [rebuild-image.sh](file:///home/lux/proj/geminux/rebuild-image.sh), [scripts/check-rebuild.sh](file:///home/lux/proj/geminux/scripts/check-rebuild.sh) |
|
||||
|
||||
## Repository layout
|
||||
@@ -36,7 +36,7 @@ Geminux is an Alpine Linux (`aarch64`, musl, OpenRC) distribution built specific
|
||||
|
||||
## Verification status vs. on-device testing
|
||||
|
||||
All cross-compiled binaries, kernel/DTB artifacts, GPT repartitioning logic, offline credential/LUKS2 builders, XKB keymap compilation, `.Xresources`-to-`dunstrc`/GTK2/GTK3 theme syncing, MT6797 CCCI framing/handshake unit tests, 3GPP IMS/AKA/ESP/SIP/RTP protocol tests ([scripts/test-ims-protocol.py](file:///home/lux/proj/geminux/scripts/test-ims-protocol.py)), zero-poll power policy tests, Webarchy renderer profile & WebKit GSettings schema tests, `dosfstools` & `/media/sdcard` automount tests, ELF binary Rust scan, and `apk upgrade --simulate` checks are verified automatically via [scripts/check-rebuild.sh](file:///home/lux/proj/geminux/scripts/check-rebuild.sh).
|
||||
All cross-compiled binaries, kernel/DTB artifacts, GPT repartitioning logic, offline credential/LUKS2 builders, XKB keymap compilation, `.Xresources`-to-`dunstrc`/GTK2/3/4/Qt5/6/Tk(`gtkTtk`) theme syncing, MT6797 CCCI framing/handshake unit tests, 3GPP IMS/AKA/ESP/SIP/RTP protocol tests ([scripts/test-ims-protocol.py](file:///home/lux/proj/geminux/scripts/test-ims-protocol.py)), zero-poll power policy tests, Webarchy renderer profile & WebKit GSettings schema tests, `dosfstools` & `/media/sdcard` automount tests, ELF binary Rust scan, and `apk upgrade --simulate` checks are verified automatically via [scripts/check-rebuild.sh](file:///home/lux/proj/geminux/scripts/check-rebuild.sh).
|
||||
|
||||
Live hardware bring-up on a physical Planet Computers Gemini PDA (x27 Wi-Fi + 4G) has been verified for USB BROM/DA flashing, offline account provisioning, LUKS2 full-disk encryption unlock & first-boot ext4 resize, `SSD2092` FHD+ display & multi-touch gestures (`geminux-touchd`), tear-free rotated `ShadowFB` scanout, lid-close S3 deep sleep & resume, CONSYS Wi-Fi/BT (`geminux-net` DNS tab & associated WLAN persistence), MT6797 MD1 baseband boot (`MD_STATE=READY`), ST33 eUICC / physical SIM slot switching & `geminux-imsd` standby, `Fn+F` hardware Airplane Mode radio teardown/restore, Webarchy ultrawide Panfrost GPU rendering, PipeWire audio, Media Controller + 10-bit Bayer camera ISP, AW9120 RGB back LEDs, Chrony online time sync, and USB NCM networking. Accessory/carrier-dependent checks (such as live VoLTE/VoWiFi calls/SMS with an active carrier SIM/eUICC profile and external Slimport/HDMI monitors) are documented in the hardware checklist in [INSTALL.md](file:///home/lux/proj/geminux/INSTALL.md).
|
||||
|
||||
|
||||
Reference in new issue
Block a user