#! /bin/sh DISPLAY=":0.1" export DISPLAY xterm Mark. On Sat, 4 Sep 2004, Eugene wrote: > Mark, > Can you please give me an example how can I start an application from a > script (sh or php) that will run it on display :0.1? > Thank you. > > > > If you mean to migrate a running app from one screen to the > > other, you can't do that. You can, however, start a new app on > > any screen. > > > > When most apps open a display connection they pass null for the > > display name, meaning the default display. You can override the > > default display with the DISPLAY environment variable. For example, > > setting it to ":0.0" is screen 0. ":0.1" is screen 1. > > > > Mark. > > > > On Fri, 3 Sep 2004, Eugene Babchin wrote: > > > >> Hello, > >> I've configured my Linux machine to run on dual screen mode. I have > >> i810 and nvidia hardware. My setting is using two independent screens > >> like: > >> screen0 0 0 > >> screen1 0 0 > >> > >> I need to open some applications from screen0 in screen1 using my > >> pointer(mouse) or by script. Any idea how I can redirect video/window to > >> screen1? > >> Thank you for your help, > >> EB > > _______________________________________________ > > XFree86 mailing list > > XFree86@xxxxxxxxxxx > > http://XFree86.Org/mailman/listinfo/xfree86 > > > > > _______________________________________________ > XFree86 mailing list > XFree86@xxxxxxxxxxx > http://XFree86.Org/mailman/listinfo/xfree86 > _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86