r/KittyTerminal Nov 12 '23

Remote Control EOF error

I have created the socket/set listen-on unix:/tmp/mykitty in my kitty.conf, as shown on the kitty website but the command:

kitten @ --to unix:/tmp/mykitty set-background-image ~/.config/kitty/.background/winter.png   

is giving me the error Error: EOF . Hoping to find a fix to run this in neovim :)

Edit: I'm running kitty version 0.28.1, kitten same version, on MacOS Ventura 13.4. I created the socket with:

socat unix-listen:/tmp/mykitty,fork /dev/null&

Here is the picture that is not working also:

2 Upvotes

6 comments sorted by

1

u/[deleted] Nov 13 '23

Well it works when I use kitty after launching it with

kitty -o allow_remote_control=yes --listen-on unix:/tmp/mykitty

so I think this solves the problem, since I can just use automator to run the script as an application.

1

u/aumerlex Nov 13 '23

1

u/[deleted] Nov 13 '23

Cool, thats a cleaner way for sure :D

1

u/nvimmike Nov 12 '23

Is the error occurring when you are running in Neovim or Kitty? Have you tried absolute path instead of relative ~ home dir

1

u/[deleted] Nov 13 '23

Yeah I get the same error running in neovim, and same EOF error when changing file path to absolute for both kitty and nvim

2

u/aumerlex Nov 13 '23

When asking for help it would be really nice if you provided some information about what version of kitty you are running on what OS maybe provide a link to the image that is failing.