The problem is the laptop screen is a different resolution, so it makes maximizing behavior strange, and more to the point I only want to look at two screens. I'm a long time Fedora (before that RedHat) user and I have always managed my displays with xrandr. Old gnome (before the gnome 3 fiasco), and xfce just figures out how things should be. I use the following script to set the displays after I log in.
- Code: Select all
ThinkPad ~ # cat dock.sh
#!/bin/bash
# Turn off laptop display
xrandr --output LVDS-0 --off
# Turn on monitors
xrandr --output DP-1 --mode 1680x1050 --pos 0x0 --output DP-2 --mode 1680x1050 --pos 1680x0
The result is the laptop display going off as intended, but the two LCD monitors (DP-1 and DP-2) are turned into mirror images and do not show the menu bar, etc, which was on the laptop screen. It is like MATE thinks the laptop display is still active. If I run that command a few more times, eventually it figures it out and things look right.
In other words it starts out like:
- Code: Select all
[LVDS-0 1600x900+0+0] [DP-1 1680x1050+1600+0] [DP-2 1680x1050+3280+0]
I run the sciprt above and its:
- Code: Select all
[LVDS-0 1600x900+0+0] [DP-1 1680x1050+1600+0] [DP-2 1680x1050+1600+0]
*lvds is off but MATE doesn't realize it*
What I want is the following, and I get this after multiple attempts:
- Code: Select all
[LVDS-0 - DISABLED] [DP-1 1680x1050+0+0] [DP-2 1680x1050+1680+0]
Any idea how to make MATE do what I want it to do? I am happy to run a script or do stuff via CLI, but I don't want to have to open some GUI and configure things every time I log in.

