NoSignal-OS/os updates/xdg-terminal-exec-handler/xdg-terminal-exec
28allday 19fd794b6b NoSignal — fully-offline Arch → Hyprland desktop installer
Single-script builder (nosignal.sh) that turns a stock Arch Linux ISO into a
fully-offline installer for a themed Hyprland + caelestia (Quickshell) desktop:
matching SDDM greeter, Btrfs/Limine bootable snapshots, chwd-style GPU
detection, and a curated "os updates" layer (keybind cheatsheet, settings
panels, system polish, on-box management skill). See README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 11:03:10 +01:00

14 lines
709 B
Bash
Executable file

#!/bin/sh
# xdg-terminal-exec — offline shim (NoSignal).
# app2unit's terminal handler defaults to `xdg-terminal-exec`, which NoSignal
# did not ship, so launching any Terminal=true desktop entry failed with
# "Terminal launch requested but 'xdg-terminal-exec' is unavailable!".
# This shim launches the configured terminal ($TERMINAL, else kitty) following
# the xdg-terminal-exec calling convention. The builder should ship the real
# freedesktop xdg-terminal-exec package; this shim is the offline fallback and
# self-removes from PATH precedence if that binary lands in /usr/bin.
set -u
TERM_EMU="${TERMINAL:-kitty}"
[ "${1:-}" = "--" ] && shift
[ "$#" -eq 0 ] && exec "$TERM_EMU"
exec "$TERM_EMU" "$@"