I need to see the X properties of the Gnome-Do popup window, in regard to this question that I asked earlier. The problem is that as soon as the Gnome-Do window loses focus it closes, so I can't change focus to the terminal to run xprop. The answer I keep seeing on the internet is:
sleep 5; xprop
Then open the Gnome-Do window and wait for xprop to start. It seems clever, but simply doesn't work:
$ sleep 5; xprop xprop: error: Can't grab the mouse.
The same goes for xwininfo:
$ sleep 5; xwininfo
xwininfo: Please select the window about which you
would like information by clicking the
mouse in that window.
xwininfo: error: Can't grab the mouse.
I've also tried running xprop using the Mod+R shortcut in Awesome WM, but while the Gnome-Do window is open, the shortcut doesn't work. It just types an r into the search box.
I have no more ideas. How do I do this?