Kitty: Difference between revisions

From Bitpost wiki
Line 5: Line 5:
  development/config/common/home/m/.config/kitty/kitty.conf
  development/config/common/home/m/.config/kitty/kitty.conf
=== ssh terminfo ===
=== ssh terminfo ===
When ssh'ing to a new machine, it will not "know" kitty by default.  To teach an ubuntu machine about it:
When ssh'ing to a new machine, it will not "know" kitty by default.
 
When you can use ssh directly, use a kitten:
  kitty +kittens ssh newplace
Or, to teach an ubuntu machine about it:
  sudo apt install kitty-terminfo
  sudo apt install kitty-terminfo
Or, when you ssh, use a kitten:
kitty +kittens ssh newplace
Or, go manual by following [https://sw.kovidgoyal.net/kitty/kittens/ssh/#manual-terminfo-copy this].
Or, go manual by following [https://sw.kovidgoyal.net/kitty/kittens/ssh/#manual-terminfo-copy this].
infocmp -a xterm-kitty | ssh myserver tic -x -o \~/.terminfo /dev/stdin


Now LOG OUT, log back in, and enjoy the speed of kitty.
Now LOG OUT, log back in, and enjoy the speed of kitty.

Revision as of 20:43, 31 December 2023

OpenGL hardware accelerated terminal that is SIGNIFICANTLY, IMPORTANTLY much faster than gnome-terminal on abtdev1 via SPICE.

Config

All config (colors, keyboard, much more...) is here, "self-documented":

development/config/common/home/m/.config/kitty/kitty.conf

ssh terminfo

When ssh'ing to a new machine, it will not "know" kitty by default.

When you can use ssh directly, use a kitten:

kitty +kittens ssh newplace

Or, to teach an ubuntu machine about it:

sudo apt install kitty-terminfo

Or, go manual by following this.

infocmp -a xterm-kitty | ssh myserver tic -x -o \~/.terminfo /dev/stdin

Now LOG OUT, log back in, and enjoy the speed of kitty.

Colors

Right now there are two solarized color blocks in the config, one for dark one for light. Red needs some work!

Install

  • For now, I just install via ubuntu apt
sudo apt install kitty
  • Add ctrl-shift-t shortcut in i3 config, starting it with correct path and using -1 (so one daemon is used for all shells, nice and fast).