mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 15:26:09 +00:00
fix(gui): launch grove-gui by absolute path from desktop files
Desktop sessions (KDE Plasma on Fedora) often lack ~/.local/bin in PATH, so Exec=grove-gui never started a source install from the menu or at login. The Start-at-login toggle now writes the running binary's absolute path, and the README documents a source install whose menu entry does the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
31c8d5b4f7
commit
96e2d9585e
3 files changed
+64
-3
No files matched your search
@@ -3,6 +3,23 @@
|
||||
Keeps your git repos in sync across machines without manual commit/push/pull, including
|
||||
work in progress. Early stage (Phase 1: core library and CLI). See `docs/` for details.
|
||||
|
||||
## Install from source
|
||||
|
||||
```bash
|
||||
cargo install --locked --root ~/.local --path crates/grove
|
||||
cargo install --locked --root ~/.local --path crates/grove-daemon
|
||||
cargo install --locked --root ~/.local --path crates/grove-gui
|
||||
install -Dm644 contrib/groved.service ~/.config/systemd/user/groved.service
|
||||
systemctl --user enable --now groved
|
||||
# Menu entry: desktop sessions often lack ~/.local/bin in PATH, so use the absolute path.
|
||||
sed "s|^Exec=grove-gui|Exec=$HOME/.local/bin/grove-gui|" contrib/grove.desktop \
|
||||
> ~/.local/share/applications/grove.desktop
|
||||
install -Dm644 assets/grove.png ~/.local/share/icons/hicolor/64x64/apps/grove.png
|
||||
```
|
||||
|
||||
Start-at-login is a toggle in the app's Settings. A `.deb` is also available
|
||||
(`cargo deb -p grove`, see `docs/phase7.md`).
|
||||
|
||||
## License
|
||||
|
||||
MIT, see `LICENSE`.
|
||||
|
||||
Reference in new issue
Block a user