sending keystrokes to gtk window

Johan Dahlin jdahlin at
Wed Jan 25 09:44:00 EST 2006

sven wrote:
> hi list,
> i'd like to send keystrokes to a (terminal) window.
> the windowmanager is gnome (ubuntu).
> what i want to do is to control dvgrab which can be
> started in interactive mode.
> thx in advance,

This is not entirely trivial to do. The best way to do that would
be to use the wnck bindings which can be found in the python-gnome2-extras, 
which unfortunately is broken on ubuntu/breezy.

There is a separate list for the gtk python bindings:


More information about the Python-list mailing list