garedit Public
Go to file
T
Code
Use Git or checkout with SVN using the web URL.
No matching headings.
garedit
Native text editor for the gardesk suite.
Prerequisites
garedit uses X11 + Cairo/Pango via gartk. A local build environment needs:
pkg-configglib-2.0gobject-2.0gio-2.0cairopangopangocairoxcb(for linking)
Build
From this directory:
cargo build --release
Run
- Foreground:
./target/release/garedit /etc/nixos/configuration.nix --line 12 --column 1
- Daemon + control:
./target/release/garedit --daemon
./target/release/gareditctl open /etc/nixos/configuration.nix
./target/release/gareditctl status
- Auto-start daemon from control tool:
./target/release/gareditctl --start-daemon open /etc/nixos/configuration.nix
Session + Recovery
- Session snapshot:
~/.local/state/garedit/session.json - Autosave dir:
~/.local/state/garedit/autosave/ - Palette commands:
save sessionrestore sessionclear session data
Release Checklist
Run:
scripts/release-smoke.sh
Then perform manual GUI checks:
- Startup + file open/save.
- Search prompt/edit flow (
Ctrl+F,F3,Shift+F3). - IPC control (
open/show/hide/toggle/status/quit). - Session restore with a dirty tab.