mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Be a little more explicit when describing how to use linux-package
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user