search for: workspace_chang

Displaying 1 result from an estimated 1 matches for "workspace_chang".

Did you mean: workspace_changed
2006 Nov 13
2
catch event when workspace is changing
Hi, how do you do that? In normal session, this is how you do it with python: import gtk import wnck def workspace_changed(screen): workspace = screen.get_active_workspace() print workspace.get_name() screen = wnck.screen_get_default() screen.connect("active_workspace_changed", workspace_changed) gtk.main() With compiz, that code does not work because compiz use only one workspace (that is very very...