I wonder if anyone has thought of including screencasting in bug reporting for bugs in guis?
`recordmydesktop --windowid $(xwininfo)`
and click the window you want to record.
`ffmpeg -i out.ogv -o final.webm`
and you're done! recordmydesktop is available in most distros afaik.Though it has a small bug where, when recording a single window, the mouse position isn't shown correctly in the final video. (Instead of showing where the mouse was relative to the window, it takes the absolute position of the mouse and scales it down to the window size)
This works, though:
recordmydesktop --windowid $(xwininfo | grep 'Window id' | cut -d' ' -f4)
though its worth noting that it theoretically could detect that its being redirected and only output the window id