icholy / ttygif

Convert terminal recordings to animated gifs
MIT License
3.94k stars 255 forks source link

Failed creating new xdo instance #96

Closed reillychase closed 5 years ago

reillychase commented 5 years ago

Hi! Is this supposed to work over SSH or only locally?

I ran into the WINDOWID issue so I did "export WINDOWID=$(xdotool getwindowfocus)"

However, the output of xdotool getwindowfocus is an error which I have been unable to solve:

Error: Can't open display: (null) Failed creating new xdo instance

Any feedback is appreciated!

icholy commented 5 years ago

It only works locally because it uses the X server. You can start it locally and then ssh to a remote server though.