Doesn't work on Wayland
Opened this issue · 5 comments
Dear icholy,
I have installed ttyrec
and ttygif
(version 1.4.0) from the Arch User Repository, but nothing happens when I try executing ttygif
. Below is an excerpt from my terminal.
[sigvald@sim ~]$ ttyrec abc
[sigvald@sim ~]$ echo "test"
test
[sigvald@sim ~]$ exit
[sigvald@sim ~]$ ttyplay abc
[sigvald@sim ~]$ echo "test"
test
[sigvald@sim ~]$ exit
[sigvald@sim ~]$ export TTYGIF_DEBUG=1
[sigvald@sim ~]$ ttygif abc
[sigvald@sim ~]$ # Nothing happens
Do you have any idea what's wrong?
Kind regards,
Sigvald
Do you have a desktop environment (X server) running?
I do have a desktop environment running, but it's Wayland (I believe it's default for Gnome 3?). Not X11.
It uses xwd to capture frames. I'm assuming this doesn't work in Wayland.
I tried opening Gnome using Xorg (it comes with both Xorg and Wayland) and it turned out ttygif works then! I won't need this program very often, so for now I'll just switch to Xorg whenever I need it. But it would be a nice thing for a "wishlist" to have support for Wayland. You would probably need to use something other than xwd, though, and I wouldn't blame you if you don't bother. Anyway, nice little program!
We'll see. I'll keep this issue open.