Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos kitty listen-on issue #125

Open
Chuanhuan opened this issue Jan 2, 2025 · 0 comments
Open

macos kitty listen-on issue #125

Chuanhuan opened this issue Jan 2, 2025 · 0 comments

Comments

@Chuanhuan
Copy link

Chuanhuan commented Jan 2, 2025

I follow the kitty requirment in macbook

•  On MacOS it should work using e.g. `kitty --listen-on=/tmp/kitty_"$(date +%s%N)"`. If you want, you can then simply specify an alias (i.e. put `alias jukit_kitty="kitty --listen-on=unix:@"$(date +%s%N)" -o allow_remote_control=yes"` in your .bashrc/.zshrc) which you can use to always start kitty with the necessary arguments.

I double check in my Manjaro Sway(wayland) and it create the kitty_xxxxx file. However, in macos Sequoia, the kitty ls file in /tmp . I also try to create ~/kitty_sockets/ and listen on this folder, it still keeps giving

   Error  23:39:59 msg_show.emsg Error detected while processing function jukit#splits#output[1]..jukit#splits#split_exists[1]..jukit#kitty#splits#exists[4]..<SNR>64_search_current_tab:
23:39:59 msg_show line    1:
23:39:59 msg_show E474: Unidentified byte: Error: open /dev/tty: device not configured^@
   Error  23:39:59 msg_show.emsg E474: Failed to parse Error: open /dev/tty: device not configured^@

Fixed:
I tried this
kitty --listen-on=unix:$TMPDIR/kitty -o allow_remote_control=yes
It's working

However, I put in kitty.conf and get same error. It still need to use command line manually
Left is I use jukit_kitty command. Right is I use kitty --listen-on=unix:$TMPDIR/kitty -o allow_remote_control=yes

image

This is inline graph and run successfully

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant