[ubuntu-uk] Open Terminal Command on Secondary Monitor

Paul Sladen ubuntu at paul.sladen.org
Sun Feb 22 23:34:38 GMT 2009

On Sun, 22 Feb 2009, Harry Rickards wrote:
> command .... to be opened on a secondary monitor from a terminal

X applications (all of them) historically supported the "-display" and
"-geometry" options on the command line:

  xterm -geometry 80x25+1024+0

Which if you secondary monitor is 1024 pixels to the right should place it
on that monitor.  A '-' instead of the '+' causes right-alignment instead.  
Originally you used to have to run a separate X server for each monitor, and
that is what '-display :1' is for (you might also come across it for X
forwarding, or ssh and other special cases), but now there is Xinerama.

Sadly, I tested "-geometry" with gnome-terminal and it doesn't understand
the traditionally-understood options.  These is probably some way to put
this options in a Window Manager configuration file too; but my memory blurs
back to fvwm2 and that's maybe not relevant any more...

Hope that helps,

Why do one side of a triangle when you can do all three.  Somewhere, GB.

More information about the ubuntu-uk mailing list