Be a little more explicit when describing how to use linux-package

This commit is contained in:
Kovid Goyal
2017-01-08 13:14:51 +05:30
parent 54c9f2015e
commit 4648b80a10

View File

@@ -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