- android: see http://drdobbs.com/tools/184404691 and http://web.archive.org/web/20040604025740/http://www.wildopensource.com/larry-projects/android.html
can record a Touchy (gtk) session. Cannot record an Axis session (probably OpenGL? related - loops with a PutImage? request). very limited - uses a proxy between client and server, which fails to record/playback window manager events
- Xvfb: both axis and touchy in principle can run under Xvfb.
Xvfb :1 -fbdir /tmp/ & emc2-dev/configs/sim$ env DISPLAY=localhost:1 emc touchy.ini & cd /tmp xwud -in Xvfb_screen0
- computing xwd visual differences:
$ xwdtopnm /tmp/screenshot1.xwd screenshot1.pnm $ xwdtopnm /tmp/screenshot2.xwd screenshot2.pnm $ composite screenshot1.pnm screenshot2.pnm -compose difference difference.jpg
Perl binding to X11 recording extension: http://search.cpan.org/dist/X11-GUITest-record/lib/X11/GUITest/record.pm
This module can track basic events in the Xvfb setup above (KeyPress?, X_CreateWindow?, X_DestroyWindow?, X_PolyText8?, KeyRelease?,ButtonPress?, ButtonRelease?, MotionNotify?)
- xscope notes: recording/playback of an axis session
enable X11 TCP connections:
sudo gedit /etc/gdm/gdm.schemas
find:
<schema> <key>security/DisallowTCP?</key> <signature>b</signature> <default>true</default> </schema>
shift from true to false:
<schema> <key>security/DisallowTCP?</key> <signature>b</signature> <default>false</default> </schema>
save file gdm.schemas restart Ubuntu
2: xscope doesnt track window manager events. - Do not move or resize the client window. xscope wont notice. - to exit the app, use File->Quit - dont click on the right top close window icon.
3. Playback - Do not use the keyboard or mouse while the script is running.