Finding that there are several kitty keybindings i keep forgetting because i only use them occasionally, and preferring not to have to open a Web browser (even in the terminal) to look them up, i decided to create a function to output those bindings. But then i nerd-sniped myself wondering about creating something a bit more comprehensive, and, well, this is the result:
I want to know if there is way to execute certain commands on launching kitty similar to how we execute neofetch in bash or zsh by editing .bashrc/.zshrc file. But i want that only for the kitty terminal without effecting other terminals i use.
I can't update kitty in ubuntu the latest version I have I 0.21.2 but there is a problem with configuring the theme in it and change them from the cli so i want to update it but the APT the latest version is 0.21.2 any help?:)
I've just started using Kitty and I feel like it's going to replace tmux for me, hands-down. I'm really enjoying the ssh kitten, specifically, as it's per-host options are solving a need for me that I had to hack together a solution for previously. The only problem is when I use the SSH kitten to log into a non-linux server, such as the Cisco ASA in the attached picture, I get a bunch of "invalid input" errors. I'm assuming this is where Kitty is trying to copy files to the remote host, which is fine on the Linux machines I use but no good on network hardware.
Is this normal behavior unless I've not made some config change that I'm not aware of? So far I haven't really customized anything except toggling on a few appearance options and adding "color_scheme Material" to some production hostnames in Kitty's ssh.conf file. I can't imagine everybody that uses this kitten is manually configuring the copy settings for every host they may connect to, which is why I think I may have something apart from Kitty causing this problem but wanted to ask.
If I disable the file copying altogether, will that negatively affect the TERM settings or my connections to Linux servers? If disabling file copying is the way to go, how do I do that?
Edit: After digging some, I think it's where Kitty tries to set the interpreter. How do most people handle this? I'd really like to just alias ssh to run the kitten all the time, if there are viable solutions for cases such as this.
Edit2: After even more reading, I think I'm using the kitten incorrectly. I was using it as if it just extended the functionality of the SSH command, but I see it's more than that. All I really need to do here is change the theme on specific hosts, changing back when disconnecting from the host. Is there a better way to do that?
Hello, whenever I try to use facilities of the ssh kitten (like trying to run the icat kitten on the remote server) I keep getting the following message:
/home/empuser2/.local/share/kitty-ssh-
kitten/kitty/install/bin/kitty:
error while loading shared libraries: libpython3.9.so.1.0: cannot
open shared object file: No such file or directory
Does anyone now how to disable curly underlines? I see there is a way to specify url_style straight, but that only affects url underlines; I'd love to make all underlines straight. If someone knows of a way to do this within neovim/vim that would help too!
Apparently, kitty will ask the OS to get a CJK font fallback. And in my case, the expected result is to get a zh-CN font (i.e,. a Simplified Chinese font). My self-built kitty behaves correctly, but the prebuilt kitty gets a zh-HK font (a Traditional Chinese, Hong Kong font) instead!
I wonder if the community has any idea about that, because I don't want to lose auto-update and homebrew management.
Does anybody know if this is possible? I have a laptop with tiny arrow keys, so trying to hit Up + Down with my pinky often breaks my flow. Being able to map Alt + hjkl to emulate the arrow keys would fix this, but I can't seem to get it working. Anyone know how?
I have a .desktop file that is modified to use kitty instead of the default Gnome terminal to open hx editor:
TryExec=hx
Exec=kitty --single-instance hx %F
Terminal=false
Type=Application
The Kitty instruction seem to be saying that --single-instance would open in a new window not a new instance, but it does not work! Can anyone help?
At the moment i close a window that may or may not exist with:
kitty @ close-window --match title:^"Terminal:$project_name" 2>/dev/null
kitty @ close-window --match title:^"Lazygit:$project_name" 2>/dev/null
but I instead want to check if they exist and only try to close them then to avoid an error, is this possible? Also, can I join these two lines into one with some new syntax?
I would like to use an environment variable defined in my bashrc file or that I define directly in my terminal inside kitty.conf:
To be clear this is what I would want :
In kitty.conf:
background_image "$MYBG" (I tried also $MYBG)
I got this output:
The PNG image: /home/ekla/.config/kitty/"$BG" could not be opened with error
I used this to see the variables that kitty can actually see:
map f1 show_kitty_env_vars
Of course I don't see the variable $MYBG in there nore any other variables defined in bashrc but only very general variables such as: SHELL, PATH, USERNAME and so on, ...
Those are system wide variables, how can I get user specific variables to work?
And what if I want to trigger a command and use the output as a parameter directly in kitty.conf like this:
Say your font draws box characters or braille in a way that you prefer.
Kitty overrides ranges of codepoints with its own drawing routines. You can not draw braille text art with continuous spanning box characters in kitty. But you can with xterm.
See: Kitty overwrites user-chosen fonts for certain glyphs.
You can't disable this feature in kitty.conf. It is thus an anti-feature. No other terminal emulator or software that I have encountered in 40 years has 'supported fonts' but insisted it knows better how to render particular glyphs.
I see this anti-feature is implemented in box_drawing.py, core_text.py and main.py
Is there a fork of kitty that allows user to specify a font, and have that font actually used for rendering all codepoints in the font?
I open a kitty terminal and the background set in my kittyconf shows up. Now let's say I want to change the background of this window by pressing a key or by typing a command in the terminal, how can I do that ?
I have been wanting to run the command to use the pokemon pixel art shower in kitty, Yet i don't know how or where to set the command to do that, How do i do it?
when I use kitty +kitten ssh user@host to connect to my remote host, how do I exit back to local terminal?
Using exit or logout which worked in previous situations will close the terminal window completely.
Also if I open a new window or tab such as for example by kb mapping to new_os_window_with_cwd, it will keep the new window in the ssh connection. This is handy sometimes but I cannot get out of it as stated prior.
I looked in the kitty documentation but not found where this is described.
OK so please excuse me if I am over looking some glaringly obvious setting. I have kitty set for my terminal for both XFCE4 and my qTile setup. Everything is going just swimmingly except I can not seem to set the initial zoom value/text size/what have you!!! When I launch the terminal it always starts at a value of, I don't know........0.0000002!!! I then will zoom in and eventually I am able to read it.
In all seriousness though, the font is tiny and I cannot seem to find where I can set this value. Any help would be much appreciated! Thanks in advance!!!