PDA

View Full Version : [ubuntu] Launch an app in gnome onto a specific display (multi-monitor)



kerryhall
October 28th, 2012, 02:19 AM
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!

kerryhall
November 8th, 2012, 01:57 AM
Bump

kerryhall
December 23rd, 2012, 07:19 AM
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!