From cfcf81b5fb309e638379192ad821e3333697663c Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sun, 9 Sep 2018 20:06:56 +0200 Subject: [PATCH 1/4] Update binary.rst --- docs/binary.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/binary.rst b/docs/binary.rst index 30d27d978..cb89cb38b 100644 --- a/docs/binary.rst +++ b/docs/binary.rst @@ -29,6 +29,15 @@ the :file:`.dmg` and install as normal. If you are on Linux, download the tarbal and extract it into a directory. The |kitty| executable will be in the :file:`bin` sub-directory. +Ubuntu/Debian (Gnome 3) installing +--------------------- + +.. code-block:: sh + + curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin + curl https://sw.kovidgoyal.net/kitty/_static/kitty.png --output ~/.local/share/applications/kitty.png + echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Kitty\nExec=/home/$USER/.local/kitty.app/bin/kitty\nIcon=/home/$USER/.local/share/applications/kitty.png\nType=Application\nCategories=Application;" >> ~/.local/share/applications/kitty.desktop + Customizing the installation -------------------------------- From dac0304815756c04242a0038720599e177792a9a Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sun, 9 Sep 2018 20:08:12 +0200 Subject: [PATCH 2/4] Update binary.rst --- docs/binary.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/binary.rst b/docs/binary.rst index cb89cb38b..981886ce4 100644 --- a/docs/binary.rst +++ b/docs/binary.rst @@ -29,7 +29,7 @@ the :file:`.dmg` and install as normal. If you are on Linux, download the tarbal and extract it into a directory. The |kitty| executable will be in the :file:`bin` sub-directory. -Ubuntu/Debian (Gnome 3) installing +Ubuntu/Debian (Gnome Shell) installing --------------------- .. code-block:: sh From 626fbe827ebf34f3f74a6341b21beaa06843ecee Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 10 Sep 2018 18:41:07 +0200 Subject: [PATCH 3/4] Add local icon --- docs/binary.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/binary.rst b/docs/binary.rst index 981886ce4..b9fe824dc 100644 --- a/docs/binary.rst +++ b/docs/binary.rst @@ -34,9 +34,15 @@ Ubuntu/Debian (Gnome Shell) installing .. code-block:: sh + # Install kitty curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin - curl https://sw.kovidgoyal.net/kitty/_static/kitty.png --output ~/.local/share/applications/kitty.png - echo -e "[Desktop Entry]\nEncoding=UTF-8\nName=Kitty\nExec=/home/$USER/.local/kitty.app/bin/kitty\nIcon=/home/$USER/.local/share/applications/kitty.png\nType=Application\nCategories=Application;" >> ~/.local/share/applications/kitty.desktop + # Create symbolic link + ln -s ~/.local/kitty.app/bin/kitty ~/.local/bin/ + # Create desktop icons in GNOME SHELL + cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications + # Link icon + sed -i "s/Icon\=kitty/Icon\=\/home\/$USER\/.local\/kitty.app\/share\/icons\/hicolor\/256x256\/apps\/kitty.png/g" ~/.local/kitty.app/share/applications/kitty.desktop + Customizing the installation From 7eb1dcc7eee6b8868d321adc070ae4578e5ec222 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 10 Sep 2018 18:44:34 +0200 Subject: [PATCH 4/4] Fixbug Gnome cache --- docs/binary.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/binary.rst b/docs/binary.rst index b9fe824dc..a7ac67883 100644 --- a/docs/binary.rst +++ b/docs/binary.rst @@ -38,10 +38,10 @@ Ubuntu/Debian (Gnome Shell) installing curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin # Create symbolic link ln -s ~/.local/kitty.app/bin/kitty ~/.local/bin/ - # Create desktop icons in GNOME SHELL - cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications # Link icon sed -i "s/Icon\=kitty/Icon\=\/home\/$USER\/.local\/kitty.app\/share\/icons\/hicolor\/256x256\/apps\/kitty.png/g" ~/.local/kitty.app/share/applications/kitty.desktop + # Create desktop icons in GNOME SHELL + cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications