Hopw to position a window on the second monitor?

Karl Auer kauer at biplane.com.au
Fri Sep 16 01:01:46 UTC 2016


What is the command-line incantation to position a window on the second
monitor?

I want to run VLC (or totem) full screen on the monitor at right of my
primary display. This is set up as one wide display (I can drag windows
between them).

I can do it manually - start the program, drag it to the other display,
then full-screen it. But I want to do that in a script.

I don't think $DISPLAY will help me, because as far as X is concerned,
it's all one big display. I tried the --video-x option, but it doesn't
seem to do what I expect it to.

Any ideas?

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4







More information about the ubuntu-users mailing list