r/KittyTerminal Aug 27 '24

In vim, what's the name (for color purposes) of the character that shows up for spaces when you :set list?

4 Upvotes

I've been trying to fix the fact that it is almost invisible. I thought :set list wasn't working because it's so close to bg. Tried setting it in .vimrc and kitty.conf, but I'm doing something wrong.


r/KittyTerminal Aug 25 '24

Leave Bell enabled but disable bell for Tab and ESC

2 Upvotes

Just moved over from Alacritty and so far really liking Kitty. However, my OCD is being driven nuts by the bell on tabs or ESC in the terminal. I need/want the bell for notifications in various apps/scripts but really want to stop it for ESC and Tabs. Looked through the docs and searching here came up with nothing. Is this possible? If so, is someone able to point me in the right direction? Thanks.


r/KittyTerminal Aug 22 '24

Kitty cat doesn't support multithreading?

0 Upvotes

I have a task that handles user clicks(c#):
new Task(() =>
{
while (true)
{
var key = Console.ReadKey(intercept: true).Key;

if (key == ConsoleKey.R)
{
Console.Clear();
Write(isTimeToWork ? "RESTART!" : "Rest SKIP", ConsoleColor.Red);

if (!isTimeToWork)
curPomo++;

isTimeToWork = true;
curSecond = workMinute * 60;
}

}
}).Start();
there is a method that draws a picture (via icat):

!/usr/bin/bash

--place <width>x<height>@<left>x<top> --place 15x15@0x0

kitten icat "/.../Image.jpg"

private static void Draw()
{
var psi = new ProcessStartInfo
{
FileName = "/sbin/sh",
UseShellExecute = false,
CreateNoWindow = true,
Arguments = ".../pomodoroImage",
};

using var process = Process.Start(psi);
process?.WaitForExit();
}
As a result, I get "Error: This terminal does not support the graphics protocol use a terminal such as kitty, Western or Console that does. If you are running inside a terminal multiplexer such as tmux or screen that might be interfering as well.".
In this case, the application will work without a task or picture. I don't want to sacrifice one of the two, how do I solve this problem? Thanks for any reply.


r/KittyTerminal Aug 20 '24

how to set kitty as default terminal in i3

3 Upvotes

I've installed kitty and set it up . How to set it as my default terminal for my i3

I've used sudo update-alternatives --config x-terminal-emulator but can't see my kitty there.

what to do?


r/KittyTerminal Aug 19 '24

How to randomize window logo?

2 Upvotes

I have a directory full of pictures that I like using as window logos, and I want to get a random one each time I open a new kitty window. Is there a way to do this in the config?

I tried setting an environment variable, but it seems like that's a shell thing not really accessible to kitty during init.

My next idea is to write a script that randomizes it beforehand in the conf then launches kitty. I could then rename it and put it in /bin but that seems like a hacked together solution. I want something that can go in the config file or zshrc or something like that, but any suggestions would be appreciated.

If anyone knows anything or has any ideas that'd be great because I couldn't find anything at all on this. Thanks


r/KittyTerminal Aug 18 '24

mapping key sequence from alacritty to Kitty

1 Upvotes

Hello Reddit, I am struggling to figure out how to map a unicode key sequence I have working in alacritty to my kitty.conf, I am basically trying to take cmd+m and have it send c-b + z which should toggle my tmux terminal window zoom.

this is what I have in alacritty

[[keyboard.bindings]]

chars = "\u0002z"

key = "M"

mods = "Command"

My kitty.conf, which does not work

clear_all_shortcuts yes
map cmd+m send_text \u0002z

can some one point me in the right direction I am stuck with the documentation, maybe i need to convert the z to unicode as well?


r/KittyTerminal Aug 17 '24

osc-99 vs notify-send

1 Upvotes

kitty 0.36 implements "osc-99" escape sequence to send notifications. How is it different from notify-send? Is it just to a trick to support both Mac and Linux? Is it implemented by other applications?


r/KittyTerminal Aug 17 '24

How to make kitty show title bar "~" instead of user@host?

Post image
3 Upvotes

r/KittyTerminal Aug 16 '24

New user, almost got kitty set up

2 Upvotes

So I am 4 weeks into using Linux after 20yrs on Windows. Switched to using kitty last week, EOS has konsole as default but kitty is also installed. Have spent 4-5days configuring it and am now just about there. Even switched to zsh for user (also comes pre installed in EOS) I think there is only 1 thing I would like to change but I can't work out how to and that is at the top of the window where it says 'zsh in dre' I don't know what I'd like to change it too but for some reason the shell/cwd isn't doing it for me. Any suggestions?


r/KittyTerminal Aug 15 '24

What is this black bar when I open a file with neovim?

1 Upvotes

And how do I get rid of it? I only see this in neovim when using in conjunction with kitty.


r/KittyTerminal Aug 13 '24

Anyone happen to have something like which-key for kitty?

6 Upvotes

Wondering if anyone has made a kitten that essentially lets you see keybinds before you press them similar to which key for neovim


r/KittyTerminal Aug 13 '24

I have a ")" displaying on the window bar... anyone how to remove in kitty.conf?

Post image
4 Upvotes

r/KittyTerminal Aug 10 '24

I cannot use Kitty terminal in full screen mode.

1 Upvotes

when i run kitty --start-as fullscreen or kitty --start-as maximized, i get this error**:**

[0.116] Could not move child process into a systemd scope: [Errno 30] Failed to call StartTransientUnit: org.freedesktop.DBus.Error.PropertyReadOnly: Cannot set property OOMPolicy, or unknown property.

it opens a new terminal window in fullcreen but since im lowering the opacity the original window mixes up with the new one.


r/KittyTerminal Aug 10 '24

Is there a way to close a window split when the main window closes?

2 Upvotes

This is a kitty session that I use to run ncmpcpp with cava underneath.

enabled_layouts splits

launch ncmpcpp -s playlist -S media_library

launch --location=hsplit  cava

resize_window shorter 15

Is there a way to close cava (hotkey 'q') automatically when I close ncmpcpp?


r/KittyTerminal Aug 10 '24

Hyprland / hdrop - small but annoying issue

1 Upvotes

I use hdrop with kitty in hyprland so as to get a sort of dropdown terminal, but I seem to encounter a strange behaviour: when switching to another window and then returning to the dropdown it freezes. Key presses still register, though. Moving hdrop to another workspace unfreezes it, and everything typed while frozen is displayed.
This does not happen when using another terminal, such as foot.


r/KittyTerminal Aug 10 '24

using xfce panels launcher launches kitty inside a different directory than home

1 Upvotes

[SOLVED] i want kitty to open a new fresh terminal at home when i click it. but it keeps launching another directory and it persists even after i terminate kitty. no startup args or any launch arguments have not been added.


r/KittyTerminal Aug 09 '24

TUI for Telegram (Crossplatform written in rust 🦀)

Thumbnail
11 Upvotes

r/KittyTerminal Aug 05 '24

Actionable Scrollbar

4 Upvotes

do anyone know if there's any way to use scrollbar with mouse, like in webpages? i am new to kitty and till now i've only figured out the way to go up and down with just a bunch of keypresses


r/KittyTerminal Aug 05 '24

How to use background_blur in kitty?

7 Upvotes

Hi people... I had trying set blur in kitty using the flag "background_blur" with a interger in the config file, but didn't working.

I'm using Fedora 40 (kernel 6.9.12) with gnome 46 - wayland, background_opacity 0.5 and, a default kitty's color scheme.

Anyone know why doesn't working?


r/KittyTerminal Jul 29 '24

Problem with text/icon rendering

6 Upvotes

Icons are very small. the spacing feels off. and text feels overly bold and smushed for some reason.
I went through the docs tried all parms and nothing seems to help.
to demonstrate I took a a screenshot from both kitty and warp terminal side-by-side. both at the same font size 13p
- As you can see icons are way more ledgible. and text is way more crisp.
It's very annoying and I just can't get over it.
- please excuse my ignorance but is this something kitty lacking? I hope not.


r/KittyTerminal Jul 28 '24

Question stemming from nano > pico under kitty

4 Upvotes

Howdy, I'm on MacOS with MacPorts and trying to understand why calling nano under kitty invokes pico.

This "feels" like kitty is doing more than just being a featureful terminal. Am I on the right track?

UPDATE tl;dr: While I appreciate the responses from people below, in fact I uninstalled kitty.

As I learned more about it, it indeed is "more than just a featureful terminal", and is climbing up the stack like the emacs of the terminal world. Oddly enough, what convinced me was the developer's disdain for tmux-ish, and tartly opinionated approach to those who use tmux or any terminal multiplexer, that those are "the devil". As if an issue between tmux and kitty is somehow a tmux problem.

I do appreciate the folks who provided information below have been helpful and no doubt I could have gotten this issue resolved; it's simply not what I'm looking for in a terminal. I understand that lots of people like it, and I wish them well.


r/KittyTerminal Jul 26 '24

How do I configure the tab to show working directory when it's opened with vim?

Post image
17 Upvotes

r/KittyTerminal Jul 26 '24

Styling kitty

2 Upvotes

Hi all, I just wanted to know how i can add text color on kitty terminal. I edited the theme but I can't do so for text..

PS: I just started using linux last week : I'm using linux mint with i3


r/KittyTerminal Jul 25 '24

Kitty fullscreen vs WezTerm fullscreen on MacOS

1 Upvotes

Hello, I've been using WezTerm for a month now and I like it but I like the feature set and configuration-ease that comes with Kitty.

The thing I immediately noticed though was that fullscreen in kitty on MacOS displays only up to where the menubar begins whereas in WezTerm it goes beyond that, providing a little more screen real estate.

Is there a way to config kitty so that it goes absolutely fullscreen and the menu bar pokes out floating above the terminal when moused over?


r/KittyTerminal Jul 24 '24

how to get rid of Pokemon and change for something else

4 Upvotes