MATE desktop has trouble recognizing changes to displays

Questions about applications and software
Forum rules
Before you post please read this

MATE desktop has trouble recognizing changes to displays

Postby voodoodoc2 on Wed Dec 12, 2012 10:26 am

I have a thinkpad W530 with Nvidia proprietary drivers. I use the laptop standalone, attached to a KVM, and in a docking station with 2 DVI connected LCD panels. I've not tried the KVM, but the docking station is giving me fits. By default MATE recognizes and shows all the displays. It puts the laptop (LVDS) on the left, and then the two LCD panels to the right, so a big rectangular desktop.

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

# 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.
Level 1
Level 1
Posts: 17
Joined: Sat Dec 01, 2012 1:04 am

Linux Mint is funded by ads and donations.

Return to Software & Applications

Who is online

Users browsing this forum: jefboyardee, Juanmac and 16 guests