Andrew Gallant wrote: If you don't mind using my xpybutil [1] library, this is a pretty trivial task. I've posted something on pastebin that will do the trick [2]. It's a fair amount of work compared to adding a binding to the openbox rc file. But maybe I'll give it a try. Ubuntu has a python-xpyb package which I think is what I want. Thanks.