0

I have installed i3 under MacPorts. Whenever I run uxterm under X11 it works as expected and I can get vertical and horizontal splits with i3. However, when I try to run kitty -- also installed under MacPorts, I get a terminal that opens up as if it was a native OSX application, and not one managed by the Xorg Server that MacPorts installed.

Note, MacPorts installs i3 to /opt/local/bin, and it installs kitty to /Applications/MacPorts/kitty.app. What are the implications of these two different install paths, and can I get i3 to work with MacPorts kitty?

1
  • Haven‘t used MacPorts for years, but most probably Kitty is compiled with the native macOS libraries, not with X11. So you need to either use an X11 version of kitty (if MacPorts has something like that), or compile it yourself with X11 support enabled.
    – nohillside
    Mar 25, 2019 at 6:01

1 Answer 1

5

The different install paths does not have a consequence here. It doesn't matter where the application is installed in terms of running under X11 or native OS X.

kitty on macOS is a native macOS application, and is not "managed" by Xorg. You do not need Xquartz, Xorg or X11 at all to run kitty on macOS.

i3 is a window manager for X11. It will only work with and affect X11 applications. You will not be able to use it as a tiling window manager for native macOS applications, such as the default kitty.

In order for kitty to be managed by i3 you would have to recompile kitty using an X11 backend, if that is possible. The X11 backend is already made as it is used on Linux. However it doesn't seem like the X11 backend has been tested on macOS, as the author intends the user to use the native Carbon backend.

Another solution would be to install a macOS tiling window manager such as chunkwm with skhd. That window manager would then be able to tile windows of both native macOS applications as well as the ones managed by XQuartz for example.

2
  • I've tried amethyst. It's horrible, and slow, and doesn't work well. (It's not really tiling either, it launches windows in a preset configuration but resizing one means you must manually resize them all) And all window decorations are still there. Mar 25, 2019 at 13:48
  • I would advise you to try chunkwm with skhd instead. It is a tiling window manager, and it is possible to use without window decorations on iTerm2. Amethyst is more like a manual way of dividing up your screen space, not really a tiling window manager.
    – jksoegaard
    Mar 25, 2019 at 19:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .