using xte (from xautomation) instead of xvkbd is even better