Kitty: htop do not work on linux

Created on 27 May 2018  路  6Comments  路  Source: kovidgoyal/kitty

I've tried to run htop utility, and got this output:

$ htop
Error opening terminal: xterm-kitty.

System: Ubuntu 18.04 LTS
Kitty was installed from deb packages. No config changes was made.

$ kitty --version
kitty 0.9.0 created by Kovid Goyal

All 6 comments

htop works on ArchLinux:

echo $TERM
xterm-kitty

kitty --version
kitty 0.10.1 created by Kovid Goyal

See the FAQ in the README.

For anyone else who came here looking, like me, here's the link:

https://sw.kovidgoyal.net/kitty/faq.html#i-get-errors-about-the-terminal-being-unknown-or-opening-the-terminal-failing-when-sshing-into-a-different-computer

@leechwort where is faq on readme, and why the readme is cleared?

The FAQ kitty +kitten ssh commands works for me but when I su - into root even settings appropriate Defaults in visudo does not work, so I went an alternate route and when provisioning a host I added this to the list of things to do:

cd /usr/share/terminfo/x && svn export https://github.com/kovidgoyal/kitty/trunk/terminfo/x/xterm-kitty

This will download the singular file xterm-kitty from the terminfo/x folder of this repository.

I read the FAQ but i didn't find it so much helpful for me so i write my solution (pretty messy but it work).

I tryed to do sudo nano but i got this output:
Error opening terminal: xterm-kitty

In my case entering echo $TERM command it shows
xterm-kitty
So online i find something relative to the folder /usr/share/terminfo/ but it was empty. So i copied the folder from .local/kitty.app/lib/kitty/terminfo/ to /usr/share/terminfo/ and it worked.

If someone could explain me further i'll would be happy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RedBeard0531 picture RedBeard0531  路  4Comments

Askannz picture Askannz  路  3Comments

wavexx picture wavexx  路  3Comments

Jomik picture Jomik  路  4Comments

mihaicristiantanase picture mihaicristiantanase  路  3Comments