I ran brew install zellij, then journalctl -r, tried to copy some output, but it fails to copy.
When I check /tmp/zellij-1000/zellij-log/zellij.log, I can see that every time I try to copy something, it tells me:
ERROR |zellij_utils::input::layo| 2024-12-15 01:36:21.662 [screen ] [zellij-utils/src/input/layout.rs:1124]: Failed to read layout dir: Os { code: 2, kind: NotFound, message: "No such file or directory" }
My terminal emulator is ptyxis. This is my first time experiencing this issue with Zellij, and I suspect it must be something to do with homebrew…
Okay, I was completely wrong. Clipboard copy is broken in Ptyxis and Black Box, but when I tested in Konsole, it worked. I also tried Ptyxis on my Arch machine and it similarly failed to copy (though with a different error).
It seems like these terminal emulators aren’t emitting the correct sequence for clipboard copy to work in Zellij.
If you’re a Zellij user and you want this feature (you definitely want this feature), layer on Alacritty or install Konsole via Flatpak. These are the only other terminal emulators I know that work with Zellij.
I ended up using Konsole, the Flatpak. And you must use the Konsole Flatpak, because the RPM Konsole version in the base system doesn’t work with the selection-copy behavior (at least on Kinoite)!
I’m curious as to why. Surely it’s not because Konsole only recently gained support for the behavior and the Flatpak is newer?