From 7d5498a91823c993fe1704e7e0b03ce3d46ef634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Mon, 1 Jul 2024 02:01:52 -0400 Subject: [PATCH] use `xdg-utils` to install `*.desktop` shortcut --- book/src/building-from-source.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/building-from-source.md b/book/src/building-from-source.md index 666917ea4..c0a18ba53 100644 --- a/book/src/building-from-source.md +++ b/book/src/building-from-source.md @@ -145,8 +145,8 @@ you can configure Helix to show up in the application menu by copying the provided `.desktop` and icon files to their correct folders: ```sh -cp contrib/Helix.desktop ~/.local/share/applications -cp contrib/helix.png ~/.icons # or ~/.local/share/icons +xdg-desktop-icon install --novendor contrib/Helix.desktop +xdg-icon-resource install --novendor --size 256 contrib/helix.png ``` To use another terminal than the system default, you can modify the `.desktop`