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.conf listen_on and allow_remote_control only works on command line #8191

Closed
Chuanhuan opened this issue Jan 3, 2025 · 2 comments
Labels

Comments

@Chuanhuan
Copy link

Describe the bug
I use jukit vim and it need to set listen_on new kitty window.
The issue and screenshots also in here

To Reproduce
Steps to reproduce the behavior:

  1. in kitty.conf
listen_on unix:$TMPDIR/kitty
allow_remote_control yes
  1. open nvim in new kitty and split jukit window
E474: Unidentified byte: Error: open /dev/tty: device not configured^@
E474: Failed to parse Error: open /dev/tty: device not configured^@
E474: Failed to parse Error: open /dev/tty: device not configured^@
  1. use command line in other terminal to call kitty
    kitty --listen-on=unix:$TMPDIR/kitty -o allow_remote_control=yes
  2. In new kitty terminal, it's working

Issue
Why I must use command line manually instead of configure in kitty.conf ?

@Chuanhuan Chuanhuan added the bug label Jan 3, 2025
@kovidgoyal
Copy link
Owner

If you read the help of the listen_on configuration directive it will
tell you that when specified in the conf file the actual socket name
will be modified to include process pid since the configuration applies
to all kitty instances while the command line flag applies to a single
instance.

@Chuanhuan
Copy link
Author

thx, I checked and don't know how to use actual socket name. Hopefully someone can post solution.

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

No branches or pull requests

2 participants