Detect current virtual desktop

Maciej Bliziński maciej at localhost.localnet
Mon Aug 21 05:17:07 EDT 2006


Hello Pythonists,

I'd like to write for myself a tiny program that counts time spent on each
virtual desktop (in GNOME). In order to do that, I need my program to
detect the current virtual desktop. I've googled for it for about one hour
and couldn't find any solution. The closest thing I found is set of
tutorials: http://www.pygtk.org/articles.html Unfortunately, none of them
answers my questions:

How to detect current virtual desktop in GNOME? How to detect a virtual
desktop change?

-- 
http://automatthias.wordpress.com



More information about the Python-list mailing list