On Mon, 21 Aug 2006 12:52:59 +0200, Harald Karner wrote: > Maciej Bliziński wrote: >> How to detect current virtual desktop in GNOME? How to detect a virtual >> desktop change? >> > Take a look at http://wallpapoz.sourceforge.net/
Harald, many thanks. By the way, I have found the line of code I was interested in. It is stunningly simple, just calls the xprop command: os.popen('xprop -root _NET_CURRENT_DESKTOP').read() -- http://automatthias.wordpress.com -- http://mail.python.org/mailman/listinfo/python-list