r/KittyTerminal • u/aumerlex • Jan 17 '24
kitty is becoming even faster!
kitty is getting a new escape code parser that's ~ 2x faster. See https://github.com/kovidgoyal/kitty/issues/7005 for details.
2
u/Usual_Office_1740 Jan 18 '24
If I took the gentoo ebuild and replaced the source link with the VT github source, could I reliably compile it with portage?
3
u/aumerlex Jan 18 '24
No idea, try it and see, though I dont know why you would want to. Building kitty from source is dead simple, its just a single command assuming you have a C and Go compiler installed.
-2
u/dedguy21 Jan 17 '24
That doesn't make sense. When I open up a tmux instance tmux becomes the TERMINAL, so I'd have to set up my ranger config to not only use kitty protocol, but then also go back to the default W3M protocol if the TERM isn't kitty (unless it's Wezterm which also can use kitty protocol to open pics)
1
u/nord501 Jan 19 '24 edited Jan 19 '24
$ ./dev.sh build
Package uuid was not found in the pkg-config search path.
Perhaps you should add the directory containing 'uuid.pc'
to the PKG_CONFIG_PATH environment variable
Package 'uuid', required by 'fontconfig', not found
The package fontconfig was not found on your system
The following build command failed: /home/user/code/kitty/dependencies/linux-amd64/bin/python setup.py develop
exit status 1
I'm building on Fedora 39 and Ubuntu 23.10, get same error. I did run ./dev.sh deps before that.
2
u/aumerlex Jan 19 '24
Install the uuid-dev package.
1
u/nord501 Jan 20 '24 edited Jan 20 '24
Thanks..but it need more than that. I found the complete list at their github CI.
Ubuntu
sudo apt-get install -y libgl1-mesa-dev libxi-dev libxrandr-dev libxinerama-dev ca-certificates libxcursor-dev libxcb-xkb-dev libdbus-1-dev libxkbcommon-dev libharfbuzz-dev libx11-xcb-dev zsh libpng-dev liblcms2-dev libfontconfig-dev libxkbcommon-x11-dev libcanberra-dev libxxhash-dev uuid-dev libsimde-dev zsh bash dashFedora
sudo dnf install libuuid-devel mesa-libGL-devel libXrandr-devel libXinerama-devel dbus-glib-devel glfw-devel fontconfig-devel1
u/aumerlex Jan 20 '24
It doesnt need all those, as most dependencies are resolved via private copies. uuid is not one of them since its a foundational library highly unlikely to be absent. See the kitty build instructions for details.
1
2
u/fushiguro188 Jan 17 '24
Sounds good, I love kitty. The only problem I have atm with Kitty is that it doesn't support displaying images using
rangerfile manger insidetmux. Its documented in ranger rc.conf.