Hi Folks,
To set the scene: On the machine I usually work at I have KDE, with several "desktops" (KDE-speak) or "workspaces" (Gnome-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 can find uses for this phenomenon -- e.g. if I am running a program in one desktop which from time to time draws graphs in a window on another desktop. When it draws a new graph, I would like it to automatically switch to the desktop with the graph.
So what's the secret to auto-switching of desktops? And is it at all specific to the "Desktop Environment" (e.g. KDE)?
With thanks, Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) Ted.Harding@nessie.mcc.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 28-May-06 Time: 00:59:52 ------------------------------ XFMail ------------------------------
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