Open app on same monitor each time

Hi

This isn’t a showstopper, but it’s a minor irritation. I’ve got openSuse 11.0 32-bit, with KDE 3.5, running nicely on a Dell Latitide D630 with an external monitor.

My problem is that, each time I open Firefox (or something else), it automatically starts on the laptop screen and I need to move it to the external monitor. Is there a way of getting the app to start on the external screen each time (or the screen it was last used on)?

You don’t say what video card/driver, and whether the two monitors make one X screen or two. But I’ve had the same problem with OS 11.1 and Gnome and NVIDIA card when using two X screens without Xinerama. The problem did not occur in Xfce (had different problems with that, but that’s another story). I solved it by using Xinerama to combine the two X screens into one desktop (which unfortunately means doing without Compiz).

Yes, gminnerup, you are right it depends on video card,
driver and configuration. But it will be nice to specify
exact monitor on which you want your window to open.

I have exactly the opposite situation:
every application starts on the external monitor.
I’m in openSUSE 11.1 with Intel GM965 and
dynamical XRandr configuration (internal+external monitor).

I’m running KDE 3 as aescott.
So I have the same question:
is there some command-line options (maybe some DCOP/kwin commands)
to specify the screen on which you want an application window appear?

Well in theory this should be handled by setting the environment variable DISPLAY - something like DISPLAY=0.1 (the exact syntax depends on your configuration and where you launch the app from) but in the situation described above I found that it doesn’t work reliably. There’s a bug somewhere but I gave up on trying to find out where: could be Gnome, the video driver (I use NVIDIA), or X.