How To

Install Kitty Terminal on Linux and macOS

The Kitty package in your distro repo can be nearly three years behind upstream. On Ubuntu 24.04 and Linux Mint, apt install kitty gives you a build from early 2024 that has no font picker, no command palette and no cursor trail. Arch is current within days. Fedora, Debian and Ubuntu 26.04 sit in between, and none of them ships docked windows yet. Where your distro lands decides how you should install Kitty terminal in the first place.

Original content from computingforgeeks.com - post 76100

You get every install path that works here (apt, dnf, pacman, Homebrew and the official installer), then kitty.conf, docked windows, themes, splits and the xterm-kitty SSH fix. The Linux install and dock steps were rerun in November 2026 against Kitty 0.51.0 from the official installer on Ubuntu 26.04, with the Fedora 45, Fedora 44, Arch, Debian 13 and Ubuntu 24.04 packages checked in containers on the same machine.

Which Kitty version each distro ships

We installed Kitty from the default repos and recorded what landed on test day. The last two columns are the features people search for most once Kitty is running. Rows marked with a date were not rerun this round and show what we measured then.

PlatformInstall commandKitty versionCommand paletteDocked windows
Official installer (any Linux, macOS)curl ... | sh0.51.0YesYes
Arch Linuxpacman -S kitty0.51.0YesYes
Fedora 45dnf install kitty0.48.2YesNo
Fedora 44dnf install kitty0.47.1YesNo
Ubuntu 26.04 LTSapt install kitty0.45.0NoNo
Debian 13apt install kitty0.41.1NoNo
Ubuntu 24.04 LTSapt install kitty0.32.2NoNo
Linux Mint 22.3 (last checked 2026-10-01)apt install kitty0.32.2NoNo
macOS Homebrew cask (cask version read 2026-11-21, last run on a Mac 2026-10-01)brew install --cask kitty0.51.0YesYes (untested on macOS)

The short version: on Arch the package manager is all you need, and on Fedora it’s fine unless you want docks. On Ubuntu, Mint and Debian, use the official installer if you want current features and security fixes. Kitty 0.51 also closed holes that matter on shared machines: the ssh kitten no longer creates remote directories such as ~/.terminfo world writable, and a program in the terminal can no longer hang Kitty by setting a special file as its window logo. Older distro builds get those fixes only if their maintainers backport them, which is why we’d run the installer build on any Debian-family desktop.

Install Kitty on Ubuntu, Debian and Linux Mint

Kitty lives in universe on Ubuntu and in main on Debian. One command on all three:

sudo apt update && sudo apt install -y kitty

Ubuntu pulls in three split packages alongside the main one, so you get the full set even from a plain install:

  • kitty-terminfo for the xterm-kitty entry
  • kitty-shell-integration for prompt marks and cwd tracking
  • kitty-doc for the offline HTML docs

Confirm the build you got:

kitty --version

Ubuntu 26.04 reports this version:

kitty 0.45.0 created by Kovid Goyal

Ubuntu 24.04 and Linux Mint 22.3 print kitty 0.32.2 instead, and Debian 13 prints kitty 0.41.1. None of these builds can create docked windows: we pointed the dock commands from later in this guide at the Ubuntu 26.04 package, and it refused them with window-dock is not a valid value for --type. If you want docks or the command palette, skip ahead to the official installer. It installs into your home directory and coexists with the apt package without conflicts.

Halve the launch time of the Ubuntu 26.04 package

The Ubuntu 26.04 package ships no optimized bytecode. Kitty runs its Python code with -OO, finds no .opt-2.pyc files, and tries to write them into /usr/lib/kitty on every launch. As a normal user that fails, so strace shows 135 EACCES errors per start and Kitty compiles everything again in memory. Compile the bytecode once as root:

sudo python3 -OO -m compileall -q /usr/lib/kitty

On our GNOME VM (software rendering, so the absolute numbers are high) launch to exit dropped from about 1.2 seconds to about 0.6 seconds, measured over six runs each. The official installer build already ships compiled bytecode and came in at roughly 0.4 seconds on the same VM. A package upgrade replaces the source files and makes the compiled files stale, so rerun the command after apt upgrade updates Kitty. Our terminal emulator benchmark measured the same problem as first-frame latency. If launch speed matters more to you than kittens and docks, our guide to installing Alacritty on Ubuntu covers the leaner GPU terminal.

Install Kitty on Fedora

Fedora packages Kitty in the main repos and moves it forward through updates, a few releases behind upstream. Install it with dnf:

sudo dnf install -y kitty

dnf splits Kitty into four packages. On a server you only SSH into, kitty-terminfo alone is enough (more on that below):

Installing:
 kitty                      x86_64 0:0.47.1-1.fc44   updates     14.9 MiB
Installing dependencies:
 kitty-kitten               x86_64 0:0.47.1-1.fc44   updates     24.6 MiB
 kitty-shell-integration    noarch 0:0.47.1-1.fc44   updates    122.8 KiB
 kitty-terminfo             noarch 0:0.47.1-1.fc44   updates     38.0 KiB

We captured that transaction on a Fedora 44 machine. Fedora 45 ships a newer build straight from the release repo, and its updates repo had nothing newer on test day. Check what you got:

kitty --version

Fedora 45 reports this build:

kitty 0.48.2 created by Kovid Goyal

You get the command palette, the font picker and the cursor trail from that build, so most Fedora users can stop here. It predates docked windows, though, so if you want those, install the upstream build below alongside the package. If you are setting up a fresh workstation, the Fedora 44 post-install guide covers the rest of the desktop.

Install Kitty on Arch Linux

Arch is the one distro that tracks upstream closely enough for docks: the newest release was already in the repo when we checked, three days after it was tagged. Install it with a full system upgrade in the same transaction:

sudo pacman -Syu kitty

Confirm the three packages and the version with pacman -Q kitty kitty-terminfo kitty-shell-integration and kitty --version. Our container run printed:

kitty 0.51.0-1
kitty-terminfo 0.51.0-1
kitty-shell-integration 0.51.0-1
kitty 0.51.0 created by Kovid Goyal

In a bare Arch container the install came to a 147 MiB download and 613 MiB on disk, because Mesa, Python and the X11 and Wayland libraries all come along. A desktop that already has a graphics stack pulls far less. The kitty-terminfo and kitty-shell-integration split packages install automatically. Our pacman cheat sheet covers the -Sy partial upgrade trap if you are tempted to skip -u.

Install Kitty on macOS with Homebrew

Kitty is a Homebrew cask, not a formula. Install it with:

brew install --cask kitty

The shorter brew install kitty works too, because no formula with that name exists. A dry run shows it falling through to the cask:

==> Would install 1 cask:
kitty

The cask requires macOS 12 or later and installs /Applications/kitty.app. A kitty@nightly cask exists too if you want builds from the master branch. Homebrew users who also want a better prompt can pair Kitty with Zsh and Oh My Zsh on macOS.

Install the latest Kitty with the official installer

The upstream installer downloads the prebuilt release and drops it in ~/.local/kitty.app on Linux or /Applications/kitty.app on macOS. It touches nothing else. The launch=n argument stops it from opening a window when it finishes, which matters over SSH:

curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin launch=n

The download is about 45 MB and unpacks to 164 MB. On Debian, install curl and xz-utils first if the image is minimal. On macOS the app it installs is notarized under the Developer ID of Kovid Goyal, so Gatekeeper opens it without complaint.

On Linux, link the binaries into a directory on your PATH and register the desktop entry. These are the upstream commands, run as your normal user:

mkdir -p ~/.local/bin ~/.local/share/applications
ln -sf ~/.local/kitty.app/bin/kitty ~/.local/kitty.app/bin/kitten ~/.local/bin/
cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications/
cp ~/.local/kitty.app/share/applications/kitty-open.desktop ~/.local/share/applications/
sed -i "s|Icon=kitty|Icon=$(readlink -f ~)/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop
sed -i "s|Exec=kitty|Exec=$(readlink -f ~)/.local/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop
echo 'kitty.desktop' > ~/.config/xdg-terminals.list

Do not copy the kitty binary out of kitty.app. It needs the bundled libraries next to it, which is why upstream tells you to symlink. Ubuntu and Debian add ~/.local/bin to PATH from ~/.profile only if the directory existed at login, so log out and back in once. Skip the kitty-open.desktop line unless you want your file manager to open text files and images in Kitty, because it registers MIME types and can take over defaults such as directories in xdg-open. Then check which Kitty wins:

type -a kitty

With both the apt package and the installer present, the installer copy comes first:

kitty is /home/josphat/.local/bin/kitty
kitty is /usr/bin/kitty
kitty is /bin/kitty

Run ~/.local/bin/kitty --version to confirm the symlink points at the upstream build. On the November test machine, the installer fetched this release:

kitty 0.51.0 created by Kovid Goyal

Launching it from the GNOME dock on Ubuntu 26.04 confirms both builds side by side. We took this screenshot in October, so the installer window shows the 0.49.2 build of that month. The window title, prompt and TERM=xterm-kitty are the defaults before any configuration:

Kitty terminal default window on Ubuntu 26.04 showing installer and apt versions

To update, rerun the same installer command. To uninstall, delete ~/.local/kitty.app plus the symlinks and desktop files you created. The installer also accepts installer=nightly for nightly builds and installer=version-X.Y.Z to pin a release; check the Kitty releases page for the current tag.

Configure Kitty with kitty.conf

Kitty reads ~/.config/kitty/kitty.conf. Press ctrl+shift+f2 (cmd+, on macOS) inside Kitty and it creates the file with every default commented out, all 3,500 lines of it. Most people want a short file they actually understand instead. Create the directory and open a fresh file:

mkdir -p ~/.config/kitty
vim ~/.config/kitty/kitty.conf

We ran this exact file on Ubuntu 26.04. It loaded with zero errors on the installer build, the Fedora package and the Debian package, and again on the newest installer build with the dock mappings from the next section appended:

# Fonts
font_family      JetBrains Mono
bold_font        auto
italic_font      auto
bold_italic_font auto
font_size        12.0

# Window
remember_window_size  no
initial_window_width  120c
initial_window_height 34c
window_padding_width  6
confirm_os_window_close 0

# Scrollback and clipboard
scrollback_lines 10000
copy_on_select   clipboard
enable_audio_bell no

# Tabs
tab_bar_edge        top
tab_bar_style       powerline
tab_powerline_style slanted

# Layouts: splits first so new windows split the current one
enabled_layouts splits,stack,tall
map kitty_mod+alt+v launch --location=vsplit --cwd=current
map kitty_mod+alt+h launch --location=hsplit --cwd=current
map kitty_mod+alt+z toggle_layout stack

# Cursor
cursor_shape          beam
cursor_blink_interval 0
cursor_trail 3

# Remote control over a local socket only
allow_remote_control socket-only
listen_on unix:/tmp/kitty

Sizes ending in c are cells, so the window opens at 120 columns by 34 rows regardless of font size. kitty_mod defaults to ctrl+shift on Linux and macOS alike. JetBrains Mono comes from the fonts-jetbrains-mono package on Ubuntu and Debian; for icons in prompts, install a patched font from the Nerd Fonts guide and put its name in font_family.

Fully quit Kitty and start it again after creating this file. Two reasons: Kitty only auto-reloads a kitty.conf that existed when it started, and listen_on is never applied by a reload. Recent builds (the Arch, Fedora, Homebrew and installer versions in the table) then pick up later edits automatically. The Ubuntu, Debian and Mint packages are too old for auto-reload, so press ctrl+shift+f5 (ctrl+cmd+, on macOS) after each edit. ctrl+shift+f6 shows the effective settings. A typo does not stop Kitty from starting. It opens an extra window titled “Errors parsing configuration” that names the line, which is how we caught a bad cursor_shape value in the first draft of this file.

On macOS, add these two lines. The first makes Option behave as Alt for shell shortcuts such as alt+b, the second quits Kitty when the last window closes. Restart Kitty afterwards, because a reload does not apply the Option key setting:

macos_option_as_alt yes
macos_quit_when_last_window_closed yes

One config can serve both systems if you split the platform lines out:

  1. Put the macOS lines in macos.conf
  2. Create an empty linux.conf
  3. Add include ${KITTY_OS}.conf as the last line of kitty.conf

Kitty sets KITTY_OS to linux, macos or bsd when it expands includes. Because a later line wins, keep the include at the bottom, otherwise your shared settings override the platform ones.

Dock windows to the edge of a window, tab or OS window

Docks pin a Kitty window to one edge and keep it out of the layout, so a file tree, a status line or a monitor stays put while your splits rearrange around it. There are three kinds, and the difference is what the dock belongs to:

  • window-dock: attached to one window, moves and closes with it
  • tab-dock: attached to the tab, closes with its last normal window
  • os-window-dock: shown in every tab of the OS window, below the tab bar

Pick the scope by how long the dock should live. A file tree for one editor window is a window dock, a scratch shell for one project tab is a tab dock, and something you want on screen whatever tab you’re in, like htop or a notes pane, is an OS window dock. You need a build from the table above that says Yes under docked windows; the commands here were tested on Linux only, not on macOS.

The examples below run htop and tree inside the docks and read dock state with jq. A dock whose program is missing opens and closes at once, so install the three tools first on Ubuntu or Debian:

sudo apt install -y htop tree jq

On Fedora use sudo dnf install -y htop tree jq, and on Arch sudo pacman -S htop tree jq.

Add the mappings to the end of kitty.conf. These are the exact lines we appended to the config above. The size is in columns or rows, or a percentage of what the dock attaches to:

# Docks: file tree beside the current window, shell at the bottom of the tab,
# and a monitor across every tab of the OS window
map kitty_mod+alt+f launch --type=window-dock --dock-edge=left --dock-size=25% --cwd=current
map kitty_mod+alt+b launch --type=tab-dock --dock-edge=bottom --dock-size=10 --cwd=current
map kitty_mod+alt+m launch --type=os-window-dock --dock-edge=right --dock-size=30% htop

Restart Kitty, then press ctrl+shift+alt+f, ctrl+shift+alt+b or ctrl+shift+alt+m. We pressed the f mapping in the lab; the tab and OS window docks were checked through the equivalent remote control commands below, which take the same launch options. That is also how we staged the screenshot. We ran them from outside Kitty with --to unix:/tmp/kitty-6849; inside a Kitty window the socket is already known, so you can drop --to:

kitten @ launch --type=window-dock --dock-edge=left --dock-size=25% --hold tree -L 2 ~/.local/kitty.app/lib
kitten @ launch --type=tab-dock --dock-edge=bottom --dock-size=10 --title shell-dock
kitten @ launch --type=os-window-dock --dock-edge=right --dock-size=30% --title monitor htop

Each command prints the new window ID. The result is one OS window with all three: the tree on the left belongs to the main window, the shell along the bottom belongs to the tab, and htop on the right belongs to the OS window:

Kitty window dock, tab dock and OS window dock open at the same time on Linux

Open a new tab and the difference shows. The tree and the bottom shell stay behind in the first tab, while htop follows you. kitten @ ls reports every dock with its edge, size and scope, which is the quickest way to check what you’ve built:

kitten @ ls | jq -c ".[].tabs[].groups[] | select(.dock) | .dock"

We ran it in the second tab after pressing the window dock mapping there and resizing the htop dock. The OS window dock is listed once, under whichever tab is active:

{"edge":"bottom","focusable":true,"scope":"tab","size":"10"}
{"edge":"left","focusable":true,"scope":"window","size":"25%"}
{"edge":"left","focusable":true,"scope":"window","size":"25%"}
{"edge":"right","focusable":true,"scope":"os-window","size":"34.818%"}

That last size is the resize. Drag the dock’s inner border with the mouse, or grow it from a script by window ID. A positive increment made our right edge dock wider, and since it was created as a percentage it stayed a percentage:

kitten @ resize-window --match id:4 --axis horizontal --increment 10

Ten cells took the htop dock from 30% to 34.818% of our 1920-pixel window. Here is the second tab after that, with its own window dock on the left and the resized htop dock still on the right:

Kitty OS window dock staying in place on a second tab with kitten @ ls dock output

According to the Kitty docks documentation, docks sit outside the layout, so layout actions such as move_window leave them alone, and they are saved in sessions. We didn’t exercise either in the lab, so check them against your own setup before you rely on a saved session.

Shake a window on the bell with a custom shader

Newer builds include a built-in screen-shake shader that shakes only the window that rang the bell. The shader landed with the OS window dock, so a build that has every dock type has it too, and an older build won’t run it. It’s one line in kitty.conf:

custom_shaders screen-shake

In our headless test the shader loaded with no errors, but we couldn’t watch the shake itself without a real display, so treat the effect as untested here. A typo in the name is reported at startup, as covered in the errors section below. The custom shaders page shows how to make your shell ring the bell when a command fails, which is what makes the shake useful.

Change the Kitty theme with kitten themes

Skip hand-copying color values. The themes kitten downloads the kitty-themes collection and previews every theme live in the current window:

kitten themes

Our run listed 413 themes, filterable by Dark, Light and Recent. Press / to search and Enter to apply:

Kitty themes kitten picker listing 413 color themes

For dotfiles and provisioning scripts, pass the theme name and the kitten applies it without the picker:

kitten themes --reload-in=all "Tokyo Night"

It writes the colors to current-theme.conf, saves your previous config as kitty.conf.bak, and appends a marked block to the end of kitty.conf:

# BEGIN_KITTY_THEME
# Tokyo Night
include current-theme.conf
# END_KITTY_THEME

It also comments out any color lines already in kitty.conf so they do not fight the theme. If you keep colors you want to win over the theme, move them into a separate file and include it after that block.

Fonts get the same treatment with kitten choose-fonts, an interactive picker with live previews of regular, bold and italic faces. It writes the result to kitty.conf for you. The Ubuntu 24.04 and Mint package predates it and fails with Error: choose-fonts is not a known subcommand for kitten.

Use tabs, windows and splits

Kitty calls a pane a window and the desktop window an OS window. With the config above, ctrl+shift+alt+v splits the current window side by side and ctrl+shift+alt+h splits it top and bottom, both opening in the same directory. Here is a three-way split with fastfetch, htop and a shell in one tab, with two more tabs on the powerline tab bar:

Kitty splits layout with tabs and Tokyo Night theme on Ubuntu 26.04

These are the default shortcuts worth memorizing, checked against the defaults Kitty generates for itself:

ActionLinuxmacOS
New tabctrl+shift+tcmd+t
Close tabctrl+shift+qcmd+w
Next / previous tabctrl+shift+right / leftshift+cmd+] / [
Set tab titlectrl+shift+alt+tshift+cmd+i
New window (pane)ctrl+shift+entercmd+enter
Close windowctrl+shift+wshift+cmd+d
Next / previous windowctrl+shift+] / [ctrl+shift+] / [
Resize windowctrl+shift+rctrl+shift+r
Next layoutctrl+shift+lctrl+shift+l
New OS windowctrl+shift+ncmd+n
Search scrollbackctrl+shift+/cmd+f
Last command output in pagerctrl+shift+gctrl+shift+g
Open URL with hintsctrl+shift+ectrl+shift+e
Font size up / down / resetctrl+shift+= / – / backspacecmd++ / – / 0
Command palettectrl+shift+f3ctrl+shift+f3

Forget a shortcut and the command palette has it. ctrl+shift+f3 lists every action, grouped by category, with its current binding or “(unmapped)”. Type to filter, Enter to run:

Kitty command palette listing shortcuts and actions

Kitty splits cover most of what people install tmux for on a local machine. On remote servers where sessions must survive a dropped connection, tmux still wins; the tmux cheat sheet has the key bindings. If you want the commands you’ll run inside those splits on one page too, our Linux commands cheat sheet covers files, grep, find, permissions, processes and tmux, tested on Ubuntu and Rocky Linux.

Use Kitty over SSH with kitten ssh

Shell integration for bash, zsh and fish is on by default. It is what makes ctrl+shift+g show the output of the last command and lets new splits open in the current directory. No rc file edits are needed locally, and the stock Ubuntu ~/.bashrc works with it as shipped.

Remote hosts are a different story. Kitty sets TERM=xterm-kitty, and a server without the Kitty terminfo entry has no idea what that is. Use the SSH kitten instead of plain ssh:

kitten ssh josphat@web02

We tested it against a Fedora server with no Kitty packages. On first connect, the kitten copied the terminfo into ~/.terminfo and a 92 KB bootstrap into ~/.local/share/kitty-ssh-kitten, all over the SSH connection itself. The server needs no internet access for that. Full-screen tools work and shell integration follows you to the remote prompt:

[josphat@web02 ~]$ echo $TERM; infocmp xterm-kitty | head -2
xterm-kitty
#	Reconstructed via infocmp from file: /home/josphat/.terminfo/./x/xterm-kitty
xterm-kitty|KovIdTTY,

The first time you run kitten itself on the remote (for kitten icat or file transfers), the bootstrap downloads the 30 MB kitten binary from GitHub. That one step needs outbound internet. Set remote_kitty no in ~/.config/kitty/ssh.conf to skip it. Add alias ssh="kitten ssh" to your shell rc file if you want the kitten everywhere.

Display images in the terminal with kitten icat

The Kitty graphics protocol draws real pixels, not block characters. The icat kitten uses it:

kitten icat --place 90x22@0x2 /usr/share/backgrounds/Resolute_Raccoon_Wallpaper_Dimmed_3840x2160.png

The --place value is columns x rows @ left x top, measured in cells. Without it, icat shrinks images wider than the window to fit and leaves smaller ones at their native size. kitten icat --clear removes it again:

Kitty icat kitten displaying an image inside the terminal

Terminal file managers such as yazi use the same protocol for image previews, so they show real thumbnails inside Kitty.

Control Kitty from scripts

With allow_remote_control socket-only and listen_on set, kitten @ drives a running Kitty from any shell: open tabs, split windows, send keystrokes, read text back. The screenshots in this guide were staged that way. Inside a Kitty window, no extra flags are needed because Kitty exports the socket path:

kitten @ launch --type=tab --tab-title logs --cwd=current
kitten @ launch --location=vsplit --cwd=current htop
kitten @ ls | jq -r '.[].tabs[].layout'

The catch is the socket name. Kitty appends its PID to the path in listen_on, so unix:/tmp/kitty becomes /tmp/kitty-9569. Each window gets the real path in its environment:

env | grep -E '^(KITTY_LISTEN_ON|KITTY_PID|KITTY_WINDOW_ID|TERM)='

The output from one of our windows:

KITTY_LISTEN_ON=unix:/tmp/kitty-9569
KITTY_PID=9569
KITTY_WINDOW_ID=4
TERM=xterm-kitty

From outside Kitty, such as a cron job or a script started over SSH, pass the real path with --to unix:/tmp/kitty-9569. Keep socket-only rather than yes: with yes, any program printing escape codes into the terminal can issue remote control commands. The socket is not a sandbox either. Any local process that can open it can read window text and send keystrokes, so do not enable this on a shared login host.

Make Kitty the default terminal

GNOME on Ubuntu 26.04 resolves its default terminal through xdg-terminal-exec. It checks ~/.config/ubuntu-xdg-terminals.list before the generic xdg-terminals.list the installer steps wrote. When the Ubuntu file named Ptyxis on our VM, Ptyxis won over Kitty. Write Kitty into the Ubuntu-specific list:

echo 'kitty.desktop' > ~/.config/ubuntu-xdg-terminals.list

After that, ctrl+alt+t opened a new Kitty window on the GNOME desktop. Ubuntu 24.04 and Debian use the alternatives system instead. The apt package registers /usr/bin/kitty as an x-terminal-emulator candidate, and an installer build needs registering by hand first:

sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator "$HOME/.local/kitty.app/bin/kitty" 50
sudo update-alternatives --config x-terminal-emulator

Cinnamon on Linux Mint launches the terminal shortcut from its own setting, which defaulted to gnome-terminal on our VM. Setting it made ctrl+alt+t open Kitty on our Mint VM. Use the full path for the installer build, or plain kitty for the apt package:

gsettings set org.cinnamon.desktop.default-applications.terminal exec "$HOME/.local/kitty.app/bin/kitty"

On macOS there is no system default terminal setting. Keep Kitty in the Dock, or bind a global hotkey with a launcher such as Raycast.

Kitty errors we hit and how to fix them

Every message below was captured on the lab machines, word for word.

‘xterm-kitty’: unknown terminal type.

You hit this when you SSH from Kitty with plain ssh into a host that lacks the terminfo entry. clear fails with that message, tput reports unknown terminal "xterm-kitty", and editors draw garbage. Use kitten ssh. When you have to use plain ssh (scripts, or a client that is not Kitty), push the entry once:

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

tic warns that “older tic versions may treat the description field as an alias” and installs the entry anyway. The next interactive session on Ubuntu 24.04 found it in ~/.terminfo/x/xterm-kitty and tput cols worked. Installing the kitty-terminfo package on the server fixes it for every user.

Errors parsing configuration: Invalid cursor shape

Kitty opened a second window with this text when our first config used a blink setting as a shape:

In file /home/josphat/.config/kitty/kitty.conf:
32:Invalid cursor shape: blink_off allowed values are block, beam, underline in line: cursor_shape blink_off

Set cursor_shape beam plus cursor_blink_interval 0 to stop the blink. The same window reports any misspelled option, so read it rather than closing it.

Ignoring unknown config key: cursor_trail

The Ubuntu 24.04 and Mint package (0.32.2) logs this for our config, because the cursor trail option arrived in a later release. It’s a warning, not an error, and the rest of the file applies. Every other option in the config above loaded on that build, so the file is safe to share across machines. Remove the line or install the upstream build if you want the effect.

Error: Failed to connect to unix:/tmp/kitty

The full message was Error: Failed to connect to unix:/tmp/kitty with error: dial unix /tmp/kitty: connect: no such file or directory. Remote control is working; the path is wrong because of the PID suffix covered above. List the real socket with ls /tmp/kitty-*, or read $KITTY_LISTEN_ON from inside a Kitty window.

window-dock is not a valid value for –type

You see this from any Kitty build older than 0.50 when you ask it for a dock, and os-window-dock needs 0.51 or newer. From kitten @ launch on the Ubuntu 26.04 package the message ends with the launch types that build does know:

Error: window-dock is not a valid value for --type. Valid values: window, background, clipboard, os-panel, os-window, overlay, overlay-main, primary, tab

A kitty.conf carrying the dock mappings still loads on the old build without a parse error, so nothing warns you until you press the key. Then the window shows a “Key action failed” screen instead of a dock:

Older Kitty package showing Key action failed because window-dock is an invalid launch type

Check type -a kitty. If /usr/bin/kitty comes first, you’re running the distro package, so install the upstream build and put ~/.local/bin ahead of it on your PATH.

Failed to find custom shader or pipeline

A misspelled shader name doesn’t stop Kitty from starting. It logs where it looked and carries on without the shader. We triggered it with screen-shak:

[0.268] Failed to find custom shader or pipeline screen-shak with error: Could not find 'screen-shak' amongst the builtins or at any of: /home/engine/.config/kitty/shaders/screen-shak.pipeline, /home/engine/.config/kitty/shaders/screen-shak, /home/engine/.config/kitty/shaders/screen-shak.slang

Start Kitty from another terminal to see the message, because a desktop launch hides it. Built-in names need no path. Your own shaders go in ~/.config/kitty/shaders/, the directory every path in the message points at.

Kitty prints libEGL or MESA warnings in a VM

Inside a VM without GPU passthrough, Kitty logs lines such as libEGL warning: egl: failed to create dri2 screen and MESA: error: ZINK: failed to choose pdev when started from a shell, then falls back to the Mesa software renderer and runs normally. On real hardware these do not appear. If Kitty refuses to start at all with a message like OpenGL version is X.Y, version >= 3.1 required for kitty, the driver is too old. Kitty needs OpenGL 3.1 on Linux and 3.3 on macOS.

Keep reading

macOS Keyboard Shortcuts Cheat Sheet (Golden Gate and Tahoe) Cheat Sheets macOS Keyboard Shortcuts Cheat Sheet (Golden Gate and Tahoe) Fix “apt-key is deprecated. Manage keyring files in trusted.gpg.d instead” Debian Fix “apt-key is deprecated. Manage keyring files in trusted.gpg.d instead” Linux Terminal Shortcuts Cheat Sheet (Bash and zsh) Cheat Sheets Linux Terminal Shortcuts Cheat Sheet (Bash and zsh) XNULinux: Run macOS 27 on Linux on Apple Silicon, Tested macos XNULinux: Run macOS 27 on Linux on Apple Silicon, Tested How to Clean Install macOS 27 or Tahoe from Recovery macos How to Clean Install macOS 27 or Tahoe from Recovery Count Lines of Source Code on Linux Using Tokei macos Count Lines of Source Code on Linux Using Tokei

Leave a Comment

Press ESC to close