Results 1 to 7 of 7

Thread: Dual Monitors - How to control where programs open

  1. #1
    Join Date
    Nov 2009
    Location
    Oklahoma (USA) and India
    Beans
    110
    Distro
    Kubuntu 13.04 Raring Ringtail

    Dual Monitors - How to control where programs open

    I am running 12.04 with two monitors. Everything basically works well, except that I can't seem to control where a program will open. I have the launcher displayed on both monitors. While programs usually seem to open on the monitor whose launcher I am using, they still often seem to randomly open on the opposite monitor. Is there a way in which I can gain better control of this?

    Thanks

  2. #2
    Join Date
    Jan 2010
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Dual Monitors - How to control where programs open

    Quote Originally Posted by djpemberton View Post
    I am running 12.04 with two monitors. Everything basically works well, except that I can't seem to control where a program will open. I have the launcher displayed on both monitors. While programs usually seem to open on the monitor whose launcher I am using, they still often seem to randomly open on the opposite monitor. Is there a way in which I can gain better control of this?

    Thanks
    Can't answer your question, but I'm wondering if Unity remembers the last position of an application when closed?

  3. #3
    Join Date
    Apr 2006
    Beans
    800
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Dual Monitors - How to control where programs open

    One thing you can do in a terminal is change the DISPLAY variable to your secondary monitor and launch your application.

    To start up let's say firefox in your secondary monitor, enter these commands (in this example primary monitor is :0.0 and secondary is :0.1):
    Code:
    export DISPLAY=:0.1;firefox
    When you close the terminal the DISPLAY variable will be reset to default (i.e. your primary monitor).

    Hope it helps

  4. #4
    Join Date
    Nov 2009
    Location
    Oklahoma (USA) and India
    Beans
    110
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: Dual Monitors - How to control where programs open

    Quote Originally Posted by oshirowanen View Post
    Can't answer your question, but I'm wondering if Unity remembers the last position of an application when closed?
    I had already tried that with no luck. It is really weird. It seems that certain programs will consistently open on certain monitors. Then it gets even more weird. Skype opens on the right monitor, but the "call phones or send sms" window opens in the left monitor.

    I would really like an easy way to make it where anything opened from the right monitor's launcher would open in the right monitor, and the other way around.

  5. #5
    Join Date
    Nov 2009
    Location
    Oklahoma (USA) and India
    Beans
    110
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: Dual Monitors - How to control where programs open

    Quote Originally Posted by lykeion View Post
    One thing you can do in a terminal is change the DISPLAY variable to your secondary monitor and launch your application.

    To start up let's say firefox in your secondary monitor, enter these commands (in this example primary monitor is :0.0 and secondary is :0.1):
    Code:
    export DISPLAY=:0.1;firefox
    When you close the terminal the DISPLAY variable will be reset to default (i.e. your primary monitor).

    Hope it helps
    I'm not sure that would be the solution I'm looking for. Simply dragging the window where I want it after it opens would be quicker. Any other suggestions?

  6. #6
    Join Date
    Dec 2008
    Beans
    22

    Re: Dual Monitors - How to control where programs open

    shame there's no answer or at least insight regarding this - it's mildly annoying.

    Dialog boxes are uncontrollable as well as far as which screen they open on. I've had apps appear frozen only to discover that an alert or dialog opened on the other monitor and then became hidden because it lost focus to something else...

    Anyone have help?

    G

  7. #7
    Join Date
    Jan 2010
    Beans
    2

    Re: Dual Monitors - How to control where programs open

    I am trying to find an answer to this problem too.

    I already tried "devilspie" which is supposed to do stuff like this but it is not working well on my setup.

    It can move windows onto the screen you want, but first of all you have to do a configuration for all programms one by one (which is quite annoying). Secondly, it does not even work constantly.

    So I also would be really interested in an answer to this question....

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •