title: How do you run an application in bash and select which monitor it runs on?
body: <p>I have a question that is hard to search for the answer (I always end up with answers for monitor manipulation). I am writing a bash shell script to help me with my code dev and I have two monitors.</p>
  
  <p>When I run my executable that I have compiled I want to tell it to run on a particular monitor (i.e. different to the monitor that I have my terminal open on so I can view the debug on one screen and have the app on another).</p>
  
  <p>How would I go about doing this? Something like:</p>
  
  <pre><code>./myProject &gt; but run on monitor 2
  </code></pre>
  
  <p>Where <code>myProject</code> is my binary executable.</p>
  
  <p>Thanks all.</p>