From 7ee66c06582ffc971754e485002b64d853683776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Wed, 20 Nov 2024 18:39:06 -0400 Subject: [PATCH] suggest `*.desktop` for AppImage (#10823) Co-authored-by: Michael Davis --- book/src/package-managers.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/book/src/package-managers.md b/book/src/package-managers.md index 441de45e0..a08baccd1 100644 --- a/book/src/package-managers.md +++ b/book/src/package-managers.md @@ -101,7 +101,15 @@ Download the official Helix AppImage from the [latest releases](https://github.c chmod +x helix-*.AppImage # change permission for executable mode ./helix-*.AppImage # run helix ``` - + +You can optionally [add the `.desktop` file](./building-from-source.md#configure-the-desktop-shortcut). Helix must be installed in `PATH` with the name `hx`. For example: +```sh +mkdir -p "$HOME/.local/bin" +mv helix-*.AppImage "$HOME/.local/bin/hx" +``` + +and make sure `~/.local/bin` is in your `PATH`. + ## macOS ### Homebrew Core