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: Launch OS Window via Remote Control #5210

Closed
PhrantiK opened this issue Jun 18, 2022 · 0 comments · Fixed by #5211
Closed

MacOS: Launch OS Window via Remote Control #5210

PhrantiK opened this issue Jun 18, 2022 · 0 comments · Fixed by #5211
Labels

Comments

@PhrantiK
Copy link

Describe the bug

Ref: #45 (comment)

Remote control via socket doesn't work opening a new OS window unless there is an existing window open already.

To Reproduce

Steps to reproduce the behavior:

  1. Launch kitty without window:
kitty --config NONE --listen-on=unix:/tmp/scratch -o allow_remote_control=yes -o macos_quit_when_last_window_closed=no -1 --instance-group scratch false &
  1. Attempt to open OS Window using remote control:
kitty @ --to unix:/tmp/scratch launch --type=os-window --title=test
  1. No window opens up

  2. Right click icon -> Open OS Window

  3. Reattempt remote control:

kitty @ --to unix:/tmp/scratch launch --type=os-window --title=test
  1. Window opens up fine with title "test"

Environment details

kitty 0.25.2 created by Kovid Goyal
Darwin gtd.lan 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
ProductName:	macOS ProductVersion:	12.4 BuildVersion:	21F79
Frozen: True
Paths:
  kitty: /Applications/kitty.app/Contents/MacOS/kitty
  base dir: /Applications/kitty.app/Contents/Resources/kitty
  extensions dir: /Applications/kitty.app/Contents/Resources/Python/lib/kitty-extensions
  system shell: /bin/zsh
Loaded config overrides:
  allow_remote_control yes
  macos_quit_when_last_window_closed no

Config options different from defaults:
allow_remote_control y

Important environment variables seen by the kitty process:
	PATH                                /usr/local/opt/coreutils/libexec/gnubin:/Users/hars/.config/bin:/Users/hars/.dwm/statusbar:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/usr/local/opt/coreutils/libexec/gnubin:/Users/hars/.config/bin:/Users/hars/.dwm/statusbar:/Applications/kitty.app/Contents/MacOS:/Users/hars/.local/share/sheldon/repos/github.com/kazhala/dotbare:/usr/local/opt/fzf/bin
	LANG                                en_AU.UTF-8
	VISUAL                              nvim
	EDITOR                              nvim
	SHELL                               /bin/zsh
	USER                                hars
	XDG_CONFIG_HOME                     /Users/hars/.config
	XDG_CACHE_HOME                      /Users/hars/.cache

Additional context

Also tried new-window --window-type=os

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

Successfully merging a pull request may close this issue.

1 participant