@@ -48,11 +48,11 @@ tree-sitter grammars may be manually fetched and built with `hx --grammar fetch`
48Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
48Helix also needs its runtime files so make sure to copy/symlink the `runtime/` directory into the
49config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).
49config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%AppData%/helix/runtime` on Windows).
51−| OS | Command |
51+| OS | Command |
52−| -------------------- | -------------------------------------------- |
52+| -------------------- | ------------------------------------------------ |
53−| Windows (cmd.exe) | `xcopy /e /i runtime %AppData%\helix\runtime` |
53+| Windows (cmd.exe) | `xcopy /e /i runtime %AppData%\helix\runtime` |
54−| Windows (PowerShell) | `xcopy /e /i runtime $Env:AppData\helix\runtime` |
54+| Windows (PowerShell) | `xcopy /e /i runtime $Env:AppData\helix\runtime` |
55−| Linux/macOS | `ln -s $PWD/runtime ~/.config/helix/runtime` |
55+| Linux/macOS | `ln -s $PWD/runtime ~/.config/helix/runtime` |
57This location can be overridden via the `HELIX_RUNTIME` environment variable.
57This location can be overridden via the `HELIX_RUNTIME` environment variable.
@@ -68,6 +68,23 @@ for a language.
69[](https://repology.org/project/helix/versions)
69[](https://repology.org/project/helix/versions)
71+## Adding Helix to your desktop environment
73+If installing from source, to use Helix in desktop environments that supports [XDG desktop menu](https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html), including Gnome and KDE, copy the provided `.desktop` file to the correct folder:
76+cp contrib/Helix.desktop ~/.local/share/applications
79+To use another terminal than the default, you will need to modify the `.desktop` file. For example, to use `kitty`:
82+sed -i "s|Exec=hx %F|Exec=kitty hx %F|g" ~/.local/share/applications/Helix.desktop
83+sed -i "s|Terminal=true|Terminal=false|g" ~/.local/share/applications/Helix.desktop
86+Please note: there is no icon for Helix yet, so the system default will be used.
73Helix can be installed on MacOS through homebrew:
90Helix can be installed on MacOS through homebrew: