mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Add instructions on how to install the man pages under desktop integration
This commit is contained in:
@@ -56,6 +56,10 @@ particular desktop, but it should work for most major desktop environments.
|
|||||||
# Update the paths to the kitty and its icon in the kitty.desktop file(s)
|
# Update the paths to the kitty and its icon in the kitty.desktop file(s)
|
||||||
sed -i "s|Icon=kitty|Icon=/home/$USER/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop
|
sed -i "s|Icon=kitty|Icon=/home/$USER/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop
|
||||||
sed -i "s|Exec=kitty|Exec=/home/$USER/.local/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop
|
sed -i "s|Exec=kitty|Exec=/home/$USER/.local/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop
|
||||||
|
# Install the man pages
|
||||||
|
mkdir -p ~/.local/share/man/man1 ~/.local/share/man/man5
|
||||||
|
ln -s ~/.local/kitty.app/share/man/man1/kitty.1 ~/.local/share/man/man1
|
||||||
|
ln -s ~/.local/kitty.app/share/man/man5/kitty.conf.5 ~/.local/share/man/man5
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
In :file:`kitty-open.desktop`, kitty is registered to handle some supported
|
In :file:`kitty-open.desktop`, kitty is registered to handle some supported
|
||||||
|
|||||||
Reference in New Issue
Block a user