How to capture a native screencast without a keyboard?

Kooha suits my needs in the meantime. I would expect dbus to be the answer, but: