On 1 September 2010 14:49, Ted Harding Ted.Harding@manchester.ac.uk wrote:
As an example of what I mean, enter the following command in an already-open Xterm window:
(sleep 20 ; xterm) &
The original Xterm (or any other window which you switch to meanwhile) will stay "on top" and have focus, then after 20 seconds the new Xterm will pop up and have focus, also overlaying anything it is placed on top of if there was not enough free space for it in the desktop.
As I said, I don't know how (or whether it is possible) to over-ride this.
It *is* configurable - or at least, there is the ability to change this.
Case in point: I run fluxbox and always had that problem with the windows popping up.
So I tried your command above and it popped up the window and brought it into focus. Very annoying.
So, I went to Configuration -> Focus Model -> and unselect "Focus New Windows" and this no longer happens.
Unfortunately, the new window is brought in front of the old window, but is not in focus - would be nice to not raise it. The "Auto Raise" option seems to have no effect - maybe a bug in this old version of Fluxbox?.
So it seems this is a windowmanager-level thing - or an Xlib thing.
Not sure if KDE lets you configure this - I thought it might have exposed that configuration in 3.x series. No idea about 4.x or Gnome. I would hope there would be a way to configure it.
Srdjan