13 KiB
User manual
Gemini PDA US keyboard and XKB layout
Geminux installs a custom XKB layout (planet_vndr/geminux, variant us) and matching Linux console keymap (etc/keymap/gemini-us.map):
Fn + 1throughFn + 0:F1throughF10Fn + Z/Fn + X:F11/F12(Shift + Fn + Z/X:«/»)Fn + Alt:Super_L(Mod4, main window-manager modifier key)Fn + F(XF86UWB/XF86RFKill): Toggle true hardware Airplane Mode (geminux-media-key airplane-toggle), showing a Dunst OSD notification and displayingAIRPLANEin the DWM status bar- Planet key: mapped to
Mod4/ launcher trigger (also taps cleanly as a one-shotMod4latch in DWM for single-handed operation) - Multimedia & shortcut keys: backlight (
XF86MonBrightnessUp/Down), volume/mic mute (wpctl), playback (XF86AudioPlay/Pause/Prev/Next/Stoprouted tompvIPC/tmp/geminux-mpv.sock),XF86WLAN(geminux-net),XF86Tools(geminux-control),XF86Option(geminux-audio), andXF86Sleep(suspend), with immediategeminux-statusdSIGUSR1bar refresh
DWM window manager shortcuts
In src/dwm/config.h, MODKEY is Mod4Mask (Fn+Alt):
| Shortcut | Action |
|---|---|
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, 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 |
Mod4 + n |
Open geminux-net |
Mod4 + v |
Open geminux-camera |
Mod4 + t |
Open geminux-themes |
Mod4 + Shift + l |
Lock screen (geminux-lock) |
Mod4 + j / k |
Focus next / previous window |
Mod4 + h / l |
Adjust master split ratio (Mod4 + F1..F4 for Tile, Monocle, Floating, Grid) |
Mod4 + 1..5 |
Switch workspace tags (Mod4 + Shift + 1..5 moves window to tag) |
Mod4 + Shift + c |
Close focused window |
Touchscreen input is supported directly across XLibre (libinput), DWM tag/layout/close buttons (>= 68px top bar), full-screen-height dmenu items (68px rows), st, and all 11 libgemui applications (scaled for 180 DPI / >= 1.85x).
Touchscreen multi-touch gestures
geminux-touchd intercepts raw XInput 2.2 touch sequences on the root window and provides universal X11 right-click, middle-click, and two-finger scroll without interfering with 1-finger tapping or dragging:
| Gesture | X11 action | Notes |
|---|---|---|
| 1-finger tap or drag | Left-click (Button1) / drag |
Native passthrough for taps, text selection, sliders, and Mod4 + drag window move |
| 2-finger tap | Right-click (Button3) |
Quick context menus without moving the cursor first |
1-finger stationary hold (0.5 s) |
Right-click (Button3) |
Alternative single-handed right-click |
| 3-finger tap | Middle-click (Button2) |
Pastes X11 primary selection in st and opens tabs/links in apps |
| 2-finger drag | Scroll wheel (Button4–Button7) |
Natural vertical and horizontal scroll across X11 apps and st scrollback (set GEMINUX_NATURAL_SCROLL=0 for classic wheel direction) |
Unified theming via .Xresources
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:
geminux-apply-theme # list available themes
geminux-apply-theme TokyoNight
geminux-apply-theme updates ~/.Xresources, translates the unified theme.* keys into ~/.config/dunst/dunstrc via geminux-sync-dunst-theme, generates a matching Geminux-<Theme> theme (selecting dark or light base styling from theme.bgMain luminance) under ~/.themes/ / ~/.local/share/themes/ via geminux-sync-gtk-theme, updates GTK2 (~/.gtkrc-2.0), GTK3 (~/.config/gtk-3.0/{settings.ini,gtk.css}), GTK4 & libadwaita (~/.config/gtk-4.0/{settings.ini,gtk.css} plus dconf-backed gsettings color-scheme), xsettingsd (~/.config/xsettingsd/xsettingsd.conf), Qt6 (~/.config/qt6ct/{qt6ct.conf,colors/Geminux-<Theme>.conf}), and Kvantum (~/.config/Kvantum/Geminux/Geminux.kvconfig) with ADW_DISABLE_PORTAL=1 binding libadwaita directly to dconf/gsettings and QT_QPA_PLATFORMTHEME=qt6ct:gtk3 routing Qt6 to qt6ct-style (plus Kvantum configs for QT_STYLE_OVERRIDE=kvantum on Qt5/Qt6), scales GTK2 widget style properties and gtkTtk (0.9) fonts/geometry to Xft.dpi / GDK_SCALE (*TkTheme: gtkTtk), merges ~/.Xresources into the X11 resource database via xrdb -nocpp (triggering gtkTtk live reloads in Tk/Ttk/Tkinter apps), restarts dunst, SIGHUPs xsettingsd for live GTK reloading, and sends SIGUSR1 to live dwm, st, webarchy, and libgemui applications for instant in-place redraw.
Applications and daemons
- Webarchy Browser (
webarchy/xwebarchy): Ultrawide2160x1080GTK3+WebKit2GTKbrowser featuring a collapsible right-side vertical tab bar (Tabs ◫orCtrl+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.Xresourcesreloading (SIGUSR1), and automatic CPU renderer fallback on WebProcess crash (--softwareor~/.config/geminux/webarchy/software_renderer). Shortcuts:Ctrl+Tnew tab,Ctrl+Wclose tab,Ctrl+Shift+Treopen closed tab,Ctrl+Tab/Alt+Up/Down/Alt+1..9switch vertical tabs,Ctrl+L/F6focus URL bar,Alt+Left/Alt+Rightback/forward,Ctrl+Dbookmark,Ctrl++/-/0zoom, andF11fullscreen. - Telephony, eSIM & IMS:
geminux-dialer,geminux-callscreen,geminux-sms, andgeminux-contactsbacked bygeminux-modem-ctl,geminux-ccci-daemon,geminux-cellctl, andgeminux-imsd(usingalsaucmUCM2VoiceCall/HiFiswitching and call suspend inhibitors).geminux-imsdsupports 3GPP VoLTE (overccmni*), VoWiFi (SWuviastrongswan), and SMS-over-IMS with automatic CS fallback. Manage physical SIM vs. ST33 eUICC profiles and cellular data either fromgeminux-netor viadoas geminux-cellctl:doas geminux-cellctl status/sim-slot <esim|physical>/apn-set <apn>/ims-set <on|off>/data-up [apn]/data-downdoas geminux-cellctl esim-info/esim-list/esim-download 'LPA:1$smdp$matchingId' [confirm-code]/esim-enable <#idx|iccid>/esim-disable <#idx|iccid>/esim-delete <#idx|iccid>/esim-notif-process
- Audio & date/time:
geminux-audiomanages PipeWire sink/source routing, mute state, and per-stream volume viawpctl/pactl.geminux-datetimemanages the system timezone (geminux-tzctl) and shows live Chrony NTP sync status. - Connectivity & Airplane Mode:
geminux-netmanages Wi-Fi (nmcli, keeping the currently associated WLAN connection pinned at the top with aDisconnectcontrol), 4G/eSIM/CCCI state (geminux-cellctl+mmcli+/run/geminux/ccci.sock), Bluetooth (bluetoothctl/rfkill), SiI9024 external HDMI output (xrandr), and theDNStab (geminux-dnsctl, supporting router-provided Default DNS, Cloudflare, Google, RadicalDNS, Quad9, custom IPv4/IPv6 nameservers, and live DNS lookup testing). Hardware Airplane Mode (Fn + F,geminux-control,geminux-net, ordoas geminux-power-ctl airplane on|off|toggle|status) unloads the CONSYS Wi-Fi/BT kernel modules and puts MT6797 MD1 intoAT+CFUN=4flight mode across reboots while keeping USB NCM (usb0) active. - Camera:
geminux-cameraconfigures the MT6797 Media Controller pipeline (ov5670/s5k4e6->seninf->camsv), captures 10-bit Bayer (SBGGR10/SGRBG10) frames over V4L2mmapwith a pure-C demosaic + AWB software ISP, and writes nativelibjpeg-turbostills to~/Pictures/and MJPEG-AVI clips to~/Videos/. - System control, LEDs & lock:
geminux-controladjusts display backlight, PipeWire audio volume, MT6797X power profile (eco,balanced,performance), and AW9120 LEDs (/run/geminux/leds.sock).geminux-ledsdrives the 5-LED RGB back strip (rgb:indicator-1..5, defaulting to off when idle or 100% charged) plusrgb:indicator-6(amber while charging), supports calibrated presets includingrgb 160 16 0("Amber Warn"), and preserves manualoff/rgboverrides across battery uevents.geminux-locksecures the X session usingdoas -n /usr/sbin/geminux-checkpw, resolving the desktop account dynamically from UID10000(--usernameor defaultuser).geminux-powerdimplements an input-driven screensaver and lid policy: on USB/AC (inhibit_ac_lid), closing the lid or timing out locks X11 and blanks the backlight without unloading CONSYS or invoking/sys/power/state; on battery, it entersmemsleep when MD1 is gated or falls into a zero-thrashlow_power_standby(neverfreeze/s2idle) when 4GMD1is active, waking cleanly on lid open, keyboard/touch/pointer activity, or the physical Esc/power side button (mtk-pmic-keys), timed strictly from the last active user input. - microSD card automount (
/media/sdcard): Automatically checks (fsck.fat -a,fsck.exfat -p,e2fsck -p) and mounts/dev/mmcblk1p1(or unpartitioned superfloppy/dev/mmcblk1) at/media/sdcardon boot (geminux-sdcardOpenRC service) andeudevhotplug (95-geminux-sdcard.rules->/usr/sbin/geminux-sdcard-mount), cleanly unmounting on card removal or shutdown. Normal desktop users (UID 10000inplugdevGID 106) receive full read/write access:0660plugdevnodes on/dev/mmcblk1*,uid=10000,gid=106,fmask=0002,dmask=0002,allow_utime=0020onvfat/exfat(plusquietonvfat), and10000:106ownership +02775setgidplugdev(u+rwX,g+rwX, preservinglost+found) on writableext4/ext3/ext2cards. Inspect or manage manually viageminux-sdcard-mount status,geminux-sdcard-mount remove(before physical eject), orgeminux-sdcard-mount add(auto-escalating viadoas), and format/label/repair FAT cards withdosfstools(mkfs.vfat,fsck.vfat,fatlabel, included in default shellPATH). - CLI developer, media & security tools: Native Alpine Edge
mpv(/etc/mpv/mpv.confwith Panfrost X11 EGL + PipeWire +/tmp/geminux-mpv.sockIPC),ffmpeg/ffprobe,gst-libav,mpg123,openmpt123,yt-dlp(yt-dlp-ejs-rt-quickjs),python3&pip3(py3-pip),tcl(tclsh+tcl-libTcllib +tcl-tlsTclTLS) &tk(wishwithgtkTtk 0.9dynamically following the active GTK2 theme),gpg(gnupg+pinentry-curses+GPG_TTY),pass,dosfstools(mkfs.vfat,fsck.vfat,fatlabel),bantam(geminux-bantam, minimalist C++20 OpenAI-compatible terminal AI agent defaulting tokilo-auto/free; see src/bantam/README.md),lynx(configured via~/.lynx.cfgwithhttp://frogfind.comstart page, UTF-8, vi keys, mouse support, and persistent sessions/cookies),gsocket(gs-netcatplusgs-key/gs-enter/gs-deploy-cmd),dtach(dmux),ovault, defaulthtoplayout (/etc/htoprc/~/.config/htop/htoprc),/etc/skel/.apexrcdefaults (EDITOR='nano -FEDSMAGic/max%_T2',PAGER='less -RXF',nn,pg,l,defalias/toalias/savealias,rw/ee,sshed,dl,gcm/gp/gpm,sloc, anddoas-awarepkgadd/pkgdel/pkgsearch/sysup/sysclean), and/etc/skel/.gitconfigare preinstalled.
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):
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-gdk-pixbuf, geminux-webarchy, geminux-gtkttk, geminux-config) are exact-version pinned (name@geminux=version) in /etc/apk/world and Rust/Wayland/upstream overrides (!rust, !cargo, !libglycin, !gdk-pixbuf, !deno, !py3-cryptography, !xorg-server, !linux-edge, etc., with librsvg, rav1e/rav1e-libs, and libdovi whitelisted) 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 disallowed Rust packages. On the build host, running ./rebuild-image.sh --force-bootstrap upgrades all preinstalled Alpine Edge packages in rootfs/ to the current Alpine Edge state when generating fresh images.