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

Issuing remote control commands from inside tmux session #2338

Closed
aasutossh opened this issue Feb 6, 2020 · 5 comments
Closed

Issuing remote control commands from inside tmux session #2338

aasutossh opened this issue Feb 6, 2020 · 5 comments

Comments

@aasutossh
Copy link

I am trying to change color scheme of kitty from inside of tmux session.
I have enabled remote control by specifying
allow_remote_control yes in kitty.conf.
I get the following error:
TimeoutError: Timed out while waiting to read command response. Make sure you are running this command from within the kitty terminal. If you want to run commands from outside, then you have to setup a socket with the --listen-on command line flag.

How do I set the --listen-on to listen to tmux?

@kovidgoyal
Copy link
Owner

There can be no listen to tmux. tmux is probably filtering out the kitty
control sequences. My recommendation, as always, is to not use horrible
hacks like terminal multiplexers.

If you must then you will need to setup --listen-to with a unix or tcp
socket to bypass tmux.

@ubmit
Copy link

ubmit commented Dec 13, 2020

@aasutossh Were you able to find a solution for this? I'm facing the same problem

@aasutossh
Copy link
Author

@GuilhermedeAndrade no, I didn't. Removed kitty, and used alacritty for a long time.

@luisdavim
Copy link

My recommendation, as always, is to not use horrible hacks like terminal multiplexers.

This makes me sad.

@johnnovak
Copy link

This makes me sad.

That makes two of us. But I guess it "makes sense"... we don't get bold=bright color support either in the name of pedanticism vs practicality.

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

5 participants