mirror of https://github.com/helix-editor/helix
deploy: 501af93c92
parent
f64ed38250
commit
53cacd5334
|
@ -305,6 +305,10 @@ provided <code>.desktop</code> and icon files to their correct folders:</p>
|
||||||
<pre><code class="language-sh">cp contrib/Helix.desktop ~/.local/share/applications
|
<pre><code class="language-sh">cp contrib/Helix.desktop ~/.local/share/applications
|
||||||
cp contrib/helix.png ~/.icons # or ~/.local/share/icons
|
cp contrib/helix.png ~/.icons # or ~/.local/share/icons
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<p>It is recommended to convert the links in the <code>.desktop</code> file to absolute paths to avoid potential problems:</p>
|
||||||
|
<pre><code class="language-sh">sed -i -e "s|Exec=hx %F|Exec=$(readlink -f ~/.cargo/bin/hx) %F|g" \
|
||||||
|
-e "s|Icon=helix|Icon=$(readlink -f ~/.icons/helix.png)|g" ~/.local/share/applications/Helix.desktop
|
||||||
|
</code></pre>
|
||||||
<p>To use another terminal than the system default, you can modify the <code>.desktop</code>
|
<p>To use another terminal than the system default, you can modify the <code>.desktop</code>
|
||||||
file. For example, to use <code>kitty</code>:</p>
|
file. For example, to use <code>kitty</code>:</p>
|
||||||
<pre><code class="language-sh">sed -i "s|Exec=hx %F|Exec=kitty hx %F|g" ~/.local/share/applications/Helix.desktop
|
<pre><code class="language-sh">sed -i "s|Exec=hx %F|Exec=kitty hx %F|g" ~/.local/share/applications/Helix.desktop
|
||||||
|
|
|
@ -435,6 +435,10 @@ provided <code>.desktop</code> and icon files to their correct folders:</p>
|
||||||
<pre><code class="language-sh">cp contrib/Helix.desktop ~/.local/share/applications
|
<pre><code class="language-sh">cp contrib/Helix.desktop ~/.local/share/applications
|
||||||
cp contrib/helix.png ~/.icons # or ~/.local/share/icons
|
cp contrib/helix.png ~/.icons # or ~/.local/share/icons
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<p>It is recommended to convert the links in the <code>.desktop</code> file to absolute paths to avoid potential problems:</p>
|
||||||
|
<pre><code class="language-sh">sed -i -e "s|Exec=hx %F|Exec=$(readlink -f ~/.cargo/bin/hx) %F|g" \
|
||||||
|
-e "s|Icon=helix|Icon=$(readlink -f ~/.icons/helix.png)|g" ~/.local/share/applications/Helix.desktop
|
||||||
|
</code></pre>
|
||||||
<p>To use another terminal than the system default, you can modify the <code>.desktop</code>
|
<p>To use another terminal than the system default, you can modify the <code>.desktop</code>
|
||||||
file. For example, to use <code>kitty</code>:</p>
|
file. For example, to use <code>kitty</code>:</p>
|
||||||
<pre><code class="language-sh">sed -i "s|Exec=hx %F|Exec=kitty hx %F|g" ~/.local/share/applications/Helix.desktop
|
<pre><code class="language-sh">sed -i "s|Exec=hx %F|Exec=kitty hx %F|g" ~/.local/share/applications/Helix.desktop
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue