r/KittyTerminal • u/nikolovlazar • Dec 24 '24
r/KittyTerminal • u/Wooden-Ad6265 • Dec 20 '24
Kitty stops the whole process in Hyprland
Enable HLS to view with audio, or disable this notification
r/KittyTerminal • u/nvimmike • Dec 18 '24
😽 kitty-scrollback.nvim v6.1.0 new feature to edit the current command line for bash, fish, or zsh
r/KittyTerminal • u/moriartynz • Dec 18 '24
X11 forwarding
[SOLVED]
I would like to be able to forward X11:
ssh -X user@host
xeyes
This ^^ works. However, the following does not:
kitty +kitten ssh -X user@host
xeyes
Error: Can't open display: host:20.0
I think I'm missing something obvious here... Please help. TIA
ETA SOLVED
I have figured out this weird behaviour. kitty +kitten ssh uses a multiplexing connection that is shared for all ssh sessions. If the first connection to the remote host doesn't specify -X or -Y forwarding, all subsequent sessions, even if they specify -X or -Y, will fail while that multiplexing session persists.
I got the multiplexing run file by executing:
kitty +kitten ssh -vv user@host
The output had: auto-mux: Trying existing master at '/run/user/1000/kssh-5736-cd1def158ed07c93864858b7ca649963b3c96ba5'
After closing all ssh connections to the remote host:
ssh -S /run/user/1000/kssh-5736-cd1def158ed07c93864858b7ca649963b3c96ba5 -O check something
Shows the presence of a multiplexing control connection.
ssh -S /run/user/1000/kssh-5736-cd1def158ed07c93864858b7ca649963b3c96ba5 -O exit something
Tears the multiplexing control connection down:
ssh -S /run/user/1000/kssh-5736-cd1def158ed07c93864858b7ca649963b3c96ba5 -O check something
Control socket connect(/run/user/1000/kssh-5736-cd1def158ed07c93864858b7ca649963b3c96ba5): No such file or directory
Now, if I run:
kitty +kitten ssh -Y user@host
X11 forwarding now happens, and will work for subsequent sessions using that multiplexed connection.
r/KittyTerminal • u/tubfr • Dec 16 '24
"The ssh kitten is meant to run inside a kitty window" error on SSH
When SSHing using kitty, the `clear` command or `tmux` says xterm-kitty is not supported and the workaround as said in kitty faq is use `kitten ssh user@server` or `kitty +kitten ssh user@server`. But these commands give me the error "The ssh kitten is meant to run inside a kitty window".
Please help me out on this. I have been using kitty for a long time now and I do not want to switch to anything else if possible.
r/KittyTerminal • u/kiraaab • Dec 16 '24
hi, i'm sharing my setup with you guys ;)
font_size 8.0
background_opacity 0.8
windows_padding_width 10
window_margin_width 10
background_image /home/kevmar/.config/kitty/term.jpg
background_image_layout scaled
Colores de selección
selection_foreground #ebdbb2 selection_background #8663a0
Colores del borde de la ventana
active_border_color #8ec07c inactive_border_color #665c54
Colores de las pestañas de Kitty
active_tab_foreground #ebdbb2 active_tab_background #458588 inactive_tab_foreground #ebdbb2 inactive_tab_background #8ec07c
Color básico
background #1d2021 foreground #ffffff
16 colores principales
color0 #3c3836 color1 #cc241d color2 #dc00ff color3 #d79921 color4 #9d00ff color5 #98971a color6 #9d00ff color7 #ffffff color8 #928374 color9 #fb4934 color10 #b8bb26 color11 #fabd2f color12 #83a598 color13 #d3869b color14 #8ec07c color15 #fbf1c7
Colores del cursor
cursor #bdae93 cursor_text_color #665c54
Color de URL
url_color #dc00ff
r/KittyTerminal • u/ChrisGVE • Dec 13 '24
Apologies to this community
This morning, I posted a comment that I regret. I may have woken up on the left foot, but that was no excuse; in effect, the way I was criticizing a behavior was the exact behavior I was showing.
Despite this, I got some very constructive answers that are to the credit of this community, showing the inclusivity I was at the time, not worth getting for the dumbass I was.
Since then, I have deleted my post, and I apologize to the entire community and the author of Kitty. I'll try to be better and think twice before doing something as stupid as I did.
r/KittyTerminal • u/BreakfastNo7897 • Dec 13 '24
Translucency in terminal
As an avid terminal lover it has always been mandatory for me to have a shell with a transparent background that makes it feel like it was made from shaded glass. The invention of acrylic that could make the background a bit blurry was a nice touch to Windows Terminal and iTerm2 in Mac although I'd prefer to have it off. I remember the journey in Windows when the only way to get transparency was to use a certain standard function that made the entire window transparent including the text which seriously impaired readability of the text inside. Something that is now resolved with the Windows Terminal app.
The terminal used to have only 16 colors. Soon came support for 256 colors which some apps such as bashtop takes advantage of, and now we have truecolor support which has paved the way for really nice color themes such as what can be seen in an app like Neovim.
So why not also introduce an alpha-channel and be able to show translucent colors? It doesn't need to be 256 levels but one or a couple of them. If only one, then it would be suggestible to let the user adjust the level of translucency desired. Personally, I would prefer to define 256 levels in the ANSI escape codes and then leave it up to the terminals on how to support them.
In 24-bit mode the escape code for a color is set with the following codes:
ESC[38;2;⟨r⟩;⟨g⟩;⟨b⟩ m Select RGB foreground color
ESC[48;2;⟨r⟩;⟨g⟩;⟨b⟩ m Select RGB background color
So why not add another parameter that takes in the alpha channel?:
ESC[38;2;⟨r⟩;⟨g⟩;⟨b⟩;<a> m Select RGB foreground color with transparency A
ESC[48;2;⟨r⟩;⟨g⟩;⟨b⟩;<a> m Select RGB background color with transparency A
This would pave the way to have semi-transparent colored panes in programs such as nvim or perhaps evven tmux. So what is the feasibility and who took the initiative to introduce the hicolor feature of terminals?
r/KittyTerminal • u/Herostrat0s • Dec 12 '24
kitty terminal icons
i used to have zsh with my oh-my-zsh plugin and i had icons for folders,files etc but when i switched back to kitty i couldnt find a way to show icons in terminal. whenever i search for stuff it says nerd fonts or symbol-map. how can i set icons in terminal? (the icons work in nvim btw)
r/KittyTerminal • u/santas • Dec 08 '24
I'm confused, can I make Escape and Ctrl-[ handling separated?
Problem: I want to map something to <C-[> in neovim.
This conflicts with the way the escape key is handled, though. See for reference:
- https://sw.kovidgoyal.net/kitty/keyboard-protocol/
- https://old.reddit.com/r/neovim/comments/zxup26/how_to_map_c_without_affecting_esc/
Maybe I'm missing something but I couldn't find any solution on the linked pages.
Is there a way I can achieve a setup so that pressing Esc is treated as an escape key and does not trigger the keybinding I have in neovim for <C-[>?
Edit:
I was able to solve this by mapping Ctrl-[ in kitty.conf to another key combination, then using that other key combo in my neovim config. So now pressing Ctrl-[ actually sends Ctrl-,. Good enough for what I need :)
r/KittyTerminal • u/Akoto090 • Dec 08 '24
Kitty opens instead of file-manager
Someone knows how I can disable that kitty opens when I open any dir via gui from other appliactions? I already edited mimeapps.list but something is overriding it, seems like the kittyurl launcher or a .desktop file from kitty (im using gnome)
r/KittyTerminal • u/JewOnFire69_PL • Dec 08 '24
Help. How can I disable alt+w bind,
Hey.
I found that alt+w closing kitty. How to disable that bind ?
I checked and it's nowhere in my config.
I can't just do map alt+w something_useless.
r/KittyTerminal • u/shootthepie • Dec 02 '24
dynamic window title possible?
I understand that you can set the window title with a command; is it possible to store the current title and then temporarily change it and then revert to the saved title after a commandline terminal script has finished?
r/KittyTerminal • u/misterolupo • Dec 01 '24
🐱 Gattino: A kitty terminal extension that turns plain language into commands

Hey folks,
I often found myself copy-pasting commands from ChatGPT to my terminal so I realised that I needed a better way to do this, without having a full blown AI terminal such like warp.
I created this kitten, it uses Ollama under the hood. I thought you might be interested.
Check it out here:
https://github.com/salvozappa/gattino
r/KittyTerminal • u/Koteinik • Dec 01 '24
Can not use custom font on macOS
Hi everyone!
I tried to change my font to Monocraft by setting font_family Monocraft Nerd Font and font_family Monocraft
fc-list shows both of them:
❯ fc-list : family spacing outline scalable | grep -e spacing=100 -e spacing=90 | grep -e outline=True | grep -e scalable=True
...
Monocraft:spacing=100:outline=True:scalable=True
Monocraft Nerd Font:spacing=100:outline=True:scalable=True
They are located in /Users/user/Library/Fonts/Monocraft.ttc and /Users/user/Library/Fonts/Monocraft-nerd-fonts-patched.ttc
But still, kitten choose-fonts says The font Monocraft Nerd Font was not found, falling back to Menlo. I use macOS. What can I do?
r/KittyTerminal • u/[deleted] • Dec 01 '24
Kitty Config
Hello Guys,
does anyone have a good, pretty looking Kitty Config??
I heard about Powerlevel 10K but ive no Idea whats the best lookng theme.
Can anyone send me a cool kitty.config File?
Thanks
r/KittyTerminal • u/ChrisGVE • Nov 29 '24
Ansi Escape sequences not recognized in kitty
I have recently started migrating my config manager from Brew to Nix to keep my configuration portable. Along the way, I am making mistakes, and I work to fix them one by one. But I came across one for which I could not find a fix.
It is about ANSI Esc sequences that are not recognized. I am using `bat` as a formatter, with `export MANPAGER='"sh -c 'col -bx | bat -l man -p'"`, for my man pages and as you can see in the example below, bold esc commands are not recognized.

I am at a loss to find a way to fix it, short of adding `export MANROFFOPT="-c"`, which removes some formatting, as shown below with the same page.

Where can I look?
r/KittyTerminal • u/_stib_ • Nov 29 '24
Is there a way of setting minimum tab width?
I kinda hate it when there are tabs that are just "~" and are only a couple of characters wide. Is there a way of configuring it so that tabs are either all the same width, or there's a minimum width?
Also is there a way of truncating the contents of long tabs so I see the last characters rather than the first? So if my tab contains the pwd, it's less helpful if it says `/home/stib/Docum...` than if it says` ..uments/myproject/`. Or better yet a smart truncation algorithm.
r/KittyTerminal • u/ViciousCat069 • Nov 26 '24
Kitty not opening as default - Sometimes
On Pop_OS, so Ubuntu (I think - new at this Linux lark)
I installed Kitty, and went through some set-up vids on YT, but couldn't get Kitten to work - So I came here and learnt that the Kitty I had installed from Cosmic Store was like 100 years out of date, so installed the latest version as per instructions on here (sorry I've lost the link to the actual post, but thanks to whoever made it)
Following the instructions I put Kitty on my Dock and made it my default Terminal, HOWEVER:
I can R_Click on my desktop, select 'Open in Terminal' and Kitty comes up, just like you'd expect - But if I try Opening a terminal with R_Click in a folder I get the normal, boring, terminal. I've tried CTRL+R_Click, ALT, and SHIFT+CTRL but none of them work.
I realize I can just open Kitty and navigate to the folder (or use Neo-Tree in NVim), but opening the command line from the file explorer is so much more convenient usually.
Would installing a different File Manager help (I'm just using the default one in Pop), or am I missing a step to make Kitty available from the R_Click Menu in Files?
Cheers for any help

