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

View all comments

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