Geminux installs a custom XKB layout (`planet_vndr/geminux`, variant `us`) and matching Linux console keymap (`etc/keymap/gemini-us.map`):
-`Fn + 1` through `Fn + 0`: `F1` through `F10`
-`Fn + Alt`: `Super_L` (`Mod4`, main window-manager modifier key)
- Planet key: mapped to `Mod4` / launcher trigger (also taps cleanly as a one-shot `Mod4` latch in DWM for single-handed operation)
- Backlight / Volume media keys: adjust brightness (`brightnessctl`) or PipeWire sink volume (`wpctl`) and immediately signal `geminux-statusd` via `SIGUSR1`
## DWM window manager shortcuts
In [src/dwm/config.h](file:///home/lux/proj/geminux/src/dwm/config.h), `MODKEY` is `Mod4Mask` (`Fn+Alt`):
Touchscreen input is supported directly across XLibre (`libinput`), DWM tag/layout/close buttons (`>= 68px` top bar), `dmenu` items (`68px` rows), `st`, and all nine `libgemui` applications (scaled for `180 DPI` / `>= 1.85x`).
Geminux includes 21 unified `.xth` color themes under `~/.xthemes/` (copied from `/etc/skel/.xthemes/`). Switch themes either interactively with `geminux-themes` or from the terminal:
```sh
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.
## Applications and daemons
- **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).
- **Connectivity**: `geminux-net` manages Wi-Fi (`nmcli`), 4G/CCCI state (`mmcli` + `/run/geminux/ccci.sock`), Bluetooth (`bluetoothctl` / `rfkill`), and SiI9024 external HDMI output (`xrandr`).
- **Camera**: `geminux-camera` streams from `/dev/video*` via V4L2 `mmap` and writes native `libjpeg-turbo` stills to `~/Pictures/` and native MJPEG-AVI video clips to `~/Videos/`.
- **System control & lock**: `geminux-control` adjusts display backlight, PipeWire audio volume, MT6797X power profile (`eco`, `balanced`, `performance`), and AW9120 LEDs (`/run/geminux/leds.sock`). `geminux-lock` secures the X session using `doas -n /usr/sbin/geminux-checkpw`.
## Maintaining Alpine Edge packages safely
Target `/etc/apk/repositories` tracks pure Alpine Edge (`main`, `community`, `testing`) alongside the local signed `@geminux` repository (`/var/lib/geminux/apk-repo`):
```sh
doas apk update
doas apk upgrade
```
Because custom Geminux components (`geminux-kernel-modules`, `geminux-xlibre`, `geminux-suckless`, `geminux-dunst`, `geminux-ui`, `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.