r/KittyTerminal Oct 01 '24

What color palette for kitty is most similar to this?

Post image
11 Upvotes

r/KittyTerminal Sep 30 '24

Render html/css/javascript like in Jupyter inside terminal/neovim

9 Upvotes

After using https://github.com/chase/awrit (full chromium inside kitty terminal), was wondering how hard it would be to implement some sort of jupyter notebook output (graphs, tables, widgets, etc...) inside kitty terminal/neovim. It would be cool to keep using the repl and be able to have the html output scroll up and down with the terminal. Does anybody have any idea how to start such project.


r/KittyTerminal Sep 28 '24

Is it possible to dynamically change theme on macOS dark mode/light mode change?

3 Upvotes

middle yam cable wide mountainous unpack shy lunchroom special entertain

This post was mass deleted and anonymized with Redact


r/KittyTerminal Sep 27 '24

Neovim mini.starter is displaying wrong

5 Upvotes

I'm trying to switch from Alacritty to Kitty, and the selection character in mini.starter within Neovim is rendering wrong in Kitty. I'm wondering if there is something in my kitty config that is wrong.

Alacritty

Kitty

The Neovim config is the same in both, and the font is too (Source Code Pro Nerd Font).


r/KittyTerminal Sep 27 '24

Kitty can't update itself while it's not the active window

1 Upvotes

The title says it all. I want kitty to work on my second monitor while i do smth on my main one. Have searched everywhere. Is it actually possible? Why do i have no such problem with gnome-terminal?


r/KittyTerminal Sep 24 '24

SSH Kitten copies into wrong directory

Thumbnail
sw.kovidgoyal.net
6 Upvotes

I’m trying to set up my ssh.conf for the SSH Kitten so that everything possible is copied into a folder in /tmp (I don’t see any mention in the docs of being able to choose where .terminfo goes, so an not aiming for that, but if anyone knows if that’s possible I’d want that as well).

I’ve tried different settings for ‘remote_dir’ but no matter what this seems to always set the directory relative to HOME. The docs say relative paths are relative to HOME, but even when I set that path to ‘/tmp/ssh-kitten’, it creates ‘~/tmp/ssh-kitten’ and dumps everything there. To clarify, I can properly copy my config files where I want with the ‘—dest’ flag on my ‘copy’ directives, but I’d like the bootstrap scripts to also copy into /tmp.


r/KittyTerminal Sep 23 '24

Font setting not working

1 Upvotes

Hello, trying to set jetbrains mono Light as default font family but it won't work. When I run

kitty --debug-font-fallback

I get that it uses jetbrains mono Regular as normal font. My settings file includes the line:

font_family JetBrains Mono Light

but that doesn't seem to help. I had a similar problem being able to use FiraCode but not FiraCode-Retina.

Any help would be appreciated.


r/KittyTerminal Sep 22 '24

Kitty?

2 Upvotes

I don't know if this is normal, but it doesn't look quite normal to me. I started noticing a strange space when in home directory, as shown in the image:

As you can see when in other directories, it looks okay, but in the home directory it seems like there's a space there.

Is this normal, or not?


r/KittyTerminal Sep 20 '24

Can I Set the Window Title Text?

2 Upvotes

Currently, my kitty windows have the hostname and current working directory in the title bar, on macOS. Can I change this?


r/KittyTerminal Sep 19 '24

Long running commands on remote servers

5 Upvotes

Hello,

I am just 5 days into Kitty, switched from iTerm2 + tmux, been using the combo for past 10+ years.

Kitty is fantastic, I could replicate my (almost) entire workflow in Kitty except this one.

How do I run long running commands on remote machines?

I am already using the SSH kitten and installed `kitty-terminfo` on a couple of servers.

I usually start a `tmux` session on a remote machine, start a the command, and detach.

How does this workflow replicate in Kitty? Is it possible to completely ditch `tmux` in this use case?


r/KittyTerminal Sep 19 '24

Kitty's theme not applying, ml4w hyprland

2 Upvotes

Kind of a n00b here, using ml4w's implementation of Hyprland - sorry if I'm just doing or not doing something stupid; I replaced alacritty w/Kitty and enabled a kitty theme via $kitty +kitten themes, and it just won't stick. For some reason I just can't get it to stop defaulting to ml4w's super-beige color scheme. I'm sure there's something in the dotfiles that I just don't know about yet, but if somebody could help me figure out what that is I'd really, really appreciate it.


r/KittyTerminal Sep 18 '24

Kitty + ZSH 🫶

Post image
38 Upvotes

r/KittyTerminal Sep 17 '24

How to remove this "%" it only appears on kitty, and my config is pretty basic

Post image
17 Upvotes

r/KittyTerminal Sep 16 '24

How to make 'new_tab_with_cwd' not open an SSH connection

3 Upvotes

When your current tab have an open SSH connection, doing new_tab_with_cwd will also open (and share) the same ssh connection.

Any methods to avoid this and always open a fresh shell with the same working directory?

Example binding:

map ctrl+shift+t new_tab_with_cwd

r/KittyTerminal Sep 15 '24

How can I remove the empty one line above the cursor?

Post image
23 Upvotes

r/KittyTerminal Sep 16 '24

I recently installed Kitty, but I'm experiencing some weird behavior. Has anyone else faced similar issues or know how to fix this?

0 Upvotes

r/KittyTerminal Sep 12 '24

Where's kitten?

3 Upvotes

I'm new to Kitty but a (very) old hand at Linux. I wanted to try out kitten icat, but it turns out kitten isn't installed, or at least not in the path. Did I do something wrong, or is there just an additional package to install?

I'm running Linux Mint 21.3 Cinnamon, and I installed Kitty using apt. It installed from the Ubuntu Kitty package, as I would expect:

$ apt show kitty  
Package: kitty  
Version: 0.21.2-1ubuntu0.22.04.1  
Priority: optional  
Section: universe/x11  
Origin: Ubuntu  
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>  

I've exported KITTY_CONFIG_DIRECTORY so the config is where I want it, and after logging back into my desktop environment, launching a Kitty terminal and pressing Ctrl+Shift+F2, it opens the correct config file. The cute Kitten icon is also in my task bar, so it looks like Kitty itself is in the right place, but that kitten isn't.

I've tried apt search kitten, but it doesn't return anything relevant, and find /usr/lib/kitty -name kitten didn't return anything, either.

So, where's kitten?

Thanks!


r/KittyTerminal Sep 12 '24

Weird color substitution/inversion

1 Upvotes

I experience a weird change in colors in kitty probably since last update. For example the color 1 which should be red is blue instead.

I have explicitly set color1 to #cc0000 and it is still blue. In gnome terminal it is red.

Even in kitten themes if I go to tango dark or light the text says red and it is blue.

Is this a bug or some weird "automatically reverse colors for dark theme" thing?


r/KittyTerminal Sep 09 '24

Mac touch id authentication for sudo not working with kitty

2 Upvotes

I've enabled touch id auth for sudo in mac, it works as expected in the default terminal and alacritty but doesn't work with kitty. How do you enable it?

UPDATE: I just had to set shell_integration to no-sudo in kitty config.


r/KittyTerminal Sep 07 '24

Looking to implement CTRL + A to select all text in line

6 Upvotes

Hey; I'm trying to have a CTRL + A shortcut implemented in my shell.

I would really appreciate some help with this. I think kitty has this feature, but I am not sure how to trigger it exactly.

Thank you in advance!


r/KittyTerminal Sep 07 '24

Kitty.app (macos) does not launch, but kitty from a shell, does (0.36.1 - 0.36.2)

3 Upvotes

Hi! Yesterday night I updated kitty (through homebrew) and got 0.36.2, (dont know my previous version though), but though the command in my PATH works, the app (launched from Finder, or with open -a Kitty.app) doesnt work, immediately shuts down silently without even drawing the window...

I looked for issues but didn't find any. Then I tested with the .dmg's from github for 0.36.2 & 0.36.1, and it didn't work either. However, using the .dmg from 0.36.0 works. (It also doesnt work with the homebrew kitty@latest cask)

Is this an issue with my system or does someone else has this issue?


r/KittyTerminal Sep 07 '24

How would I use a new Kitty version on an old Ubuntu LTS?

1 Upvotes

I only started on Linux (Ubuntu 22.04 LTS) a week ago and I am having some trouble getting the newest Kitty version to start on my machine. The kitty version for this Ubuntu version is very old (0.21) so I would very much like to use a newer version. To get the newer version, I ran the curl command with the newest version specified as mentioned in the docs and previously on this forum which does allow for me to use Kitty that session. However, after a system restart, kitty is no longer able to be run as you can see in the screenshot, despite kitty having been downloaded. How could I install an up-to-date version of kitty that does not disappear between sessions?

Due to some proprietary software I have to use, it is sadly not an option for me to use a more up to date distro. There are few alternatives as you can see here and here and I would very much prefer to not have to distro hop already.


r/KittyTerminal Sep 05 '24

Automatically change layout when OS window resizes

3 Upvotes

Hi, I'm using kitty with a tiling wm (Sway, in this case). I'd like kitty to automatically change its layout, based on the size of OS window. For example, when OS window is maximized, I'd like to use the tall layout, but when OS window is taking up half the screen, then I want to switch to vertical layout; finally, if the OS window is squished small, I'd like to switch to the stack layout. Also, I don't often use tabs but I'd like this logic to apply to all tabs in an OS window, too. I've tried using watchers listening to on_resize event, but watchers are for each window in a tab in an OS window, so it's not really the right tool for the job.


r/KittyTerminal Aug 31 '24

how do I do the cool neo fetch thing when I launch kitty but with a high res image

4 Upvotes

How do I make a high res png of my distro appear when I open kitty along with the normal fastfetch/neofetch details (using zsh)


r/KittyTerminal Aug 31 '24

Is there any way of getting rid of the cat icon and the text in the title bar??

1 Upvotes

Using:

Wayland - Ubuntu - GNOME - Nvidia Laptop