On Sun, May 28, 2006 at 12:59:56AM +0100, Ted Harding wrote:
To set the scene: On the machine I usually work at I have KDE, with several "desktops" (KDE-speak) or "workspaces" (Gnome-speak).
or "pages" (wmii-2 speak), or just scrap that idea and use "tags" (wmii-3 speak) :)
Say I have Mozilla or
Firefox running in one of these.
Now I ask the browser to access a web page. This seems to be taking its time, so I switch to another desktop and do something else while I'm waiting.
Then the browser times out. So up pops a window with the message that it has timed out.
BUT:-- I find that in so doing it has automatically switched me from the other desktop I was working on while waiting, back to the desktop where the browser is being displayed.
SO:-- some software at least knows how to automatically switch between desktops.
THEREFORE:-- I would like to know too!
I think this is because the dialog is "transient" for the browser window, causing it to be placed above its parent window (and maybe because it's modal too -- prevents input to its parent). So, when it grabs focus, you are switched to the workspace it is on.
Take a look at Devil's Pie[1], which allows you to select actions to perform on certain windows. Likely the 'focus' action in combination with setting the workspace will do what you want.
1. http://www.burtonini.com/blog/computers/devilspie
Regards, Simon Ward