mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Add a linux-package command to help linux packagers create good kitty packages
This commit is contained in:
@@ -252,6 +252,27 @@ focus
|
||||
launch emacs
|
||||
....
|
||||
|
||||
== Note for linux packagers
|
||||
|
||||
While kitty does use python, it is not a traditional python package, so please do not install it in site-packages.
|
||||
Instead run,
|
||||
|
||||
```
|
||||
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.
|
||||
|
||||
== Resources on terminal behavior
|
||||
|
||||
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
|
||||
|
||||
Reference in New Issue
Block a user