mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 02:17:03 +00:00
Be a little more explicit when describing how to use linux-package
This commit is contained in:
parent
54c9f2015e
commit
4648b80a10
1 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue