On 06/20/2017 02:06 PM, JPlews wrote:
On 20/06/17 13:14, Richard Owlett wrote:
I had understood ARandR would use it automatically. It evidently doesn't.
This is my experience too, including some of the randomness, after
reboots the DE is setting things, I find Gnome really weak in this area.
The window oddness you describe reminds me of when displays are not in
the natural order from the hardware, so your at a disadvantage if the
primary display is not leftmost in many cases.
IMO use arandr-indicator, or put a script onto a global shortcut, it is
somewhat fiddly but you can use xdotool for a few fix-ups in the screen
layouts if you want a particular window moving to somewhere and it
doesn't consistently do it itself, but do consider grepping xrandr
output to not move things unless the extra display is actually
connected. pacmd for audio can be nice here too.
AFAIK, but its been a few years, there's no nice method to spawn a
script on monitor connections, but something like a mouse or usb hub can
(again checking for connected displays first)
Hope that helps
JP
To clarify:
My OS is Stretch
My DE is MATE
Although I'm using a laptop, it is my primary machine.
Therefore the VGA monitor is *ALWAYS* connected.