Let's say you have two monitors hooked up to the same machine, running gnome (let's call them 'A' and 'B'). Each has its own, independent x-screen.

Our goal is to type a command into a terminal on Monitor A and have that command open an application on Monitor B.

Is there an easy X-command that lets that happen?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Assuming the first display is :0 and the second is :1 then typing

DISPLAY=:1 <command>  

should be enough to get the command to run on the second window.

This will make all subsequent apps run from the terminal session open in the second window:

export DISPLAY=:1 
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.