Results 1 to 3 of 3

Thread: Launch an app in gnome onto a specific display (multi-monitor)

  1. #1
    Join Date
    Jul 2007
    Location
    Seattle
    Beans
    486
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Launch an app in gnome onto a specific display (multi-monitor)

    I'm trying to launch an application on to a specific display. Yes, I know it's *supposed* to launch onto whatever window I have my mouse, but this doesn't happen.

    Doing:
    $ DISPLAY=":0.0" gnome-calculator

    launches the application fine, but any other numbers besides "0"s there causes an error, eg,

    (gnome-calculator:4211): Gtk-WARNING **: cannot open display: :1.0

    Any ideas what the syntax is supposed to be for the $DISPLAY variable?

    More info:
    Nvidia cards, three displays, gnome not unity.

    A snippet from xorg.conf that may be relevant:
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 1920 0
    Screen 1 "Screen1" 0 0
    Screen 2 "Screen2" 3840 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "1"
    EndSection


    Thanks!
    “Freedom without socialism is privilege and injustice, and socialism without freedom is slavery and brutality.” -Mikhail Bakunin
    Open source is anarchism in action.

  2. #2
    Join Date
    Jul 2007
    Location
    Seattle
    Beans
    486
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Launch an app in gnome onto a specific display (multi-monitor)

    Bump
    “Freedom without socialism is privilege and injustice, and socialism without freedom is slavery and brutality.” -Mikhail Bakunin
    Open source is anarchism in action.

  3. #3
    Join Date
    Jul 2007
    Location
    Seattle
    Beans
    486
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Launch an app in gnome onto a specific display (multi-monitor)

    Bump. I realize now that the title is inaccurate. It should work for any window manager, right? Not just metacity? Still having this issue though.

    Thanks!
    “Freedom without socialism is privilege and injustice, and socialism without freedom is slavery and brutality.” -Mikhail Bakunin
    Open source is anarchism in action.

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
  •