From 4648b80a1000b153fe5a0edbfa3fe8c8fc0e19c0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 8 Jan 2017 13:14:51 +0530 Subject: [PATCH] Be a little more explicit when describing how to use linux-package --- README.asciidoc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 7558383cf..85c913ab4 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -262,16 +262,21 @@ python3 setup.py linux-package ``` This will create the directory `linux-package` containing all the files need to run kitty. kitty can be run using + ``` python3 linux-package ``` -So simply create a launcher script named `kitty` that does that. You should -also create a second package named kitty-terminfo that installs the file -`linux-package/terminfo/x/xterm-kitty` into `/usr/share/terminfo` for whatever -location your distribution uses for terminfo files. Make the main kitty package -depend on `kitty-terminfo`. This allows users to install the terminfo file on -servers into which they ssh, without needing to install all of kitty. +The `linux-package` directory can be renamed and moved anywhere on the +filesystem, it is self contained. So simply create a launcher script named +`/usr/bin/kitty` that calls `python3 /path/to/the/installed/linux-package/directory`. + +You should also create a second package named kitty-terminfo that installs the +file `linux-package/terminfo/x/xterm-kitty` into `/usr/share/terminfo` for +whatever location your distribution uses for terminfo files. Make the main +kitty package depend on `kitty-terminfo`. This allows users to install the +terminfo file on servers into which they ssh, without needing to install all of +kitty. == Resources on terminal behavior