laptop multi monitor configuration

i’ve found a way around what i want todo; xrandr command in a script file.

however, that doesnt really fix it fully and is a fairly buggy solution

the issue:
laptop obviously has it’s own LCD monitor (1280x800). i have a 22" (1680x1050) external monitor connected via the docking station.
i plug the laptop onto docking station and it automatically switches to 1024x768, clone view- something along the lines of a standard resolution for a projector maybe?

what i want to happen:
connect laptop onto docking station, and it automatically revert to the last used config. in my case this would be disable laptop LCD and change to external LCD at its’ native resolution.
this happens fine on windows platform.

are there any tools out there todo this (doesnt seem to be a feature in the standard applications with oSUSE)?

i have intel 4500MHD graphics, and using the default drivers that suse picks up.
if there are no tools, then i’ll submit a feature request since imo, something like this shouldnt be so hard to configure :slight_smile:

I’m looking for a similar program. There is one, named krandrtray, but at
the moment it is not much better than xrandr itself.

The thing is that you have to edit your Xorg.conf file (/etc/X11/xorg.conf) and modify the file to fit your needs.
You have to modify the section screen

Section "Screen"
  DefaultDepth 24
  SubSection "Display"                                                                                                                                                      
    Depth      24                                                                                                                                                           
    **Modes**      "1400x1050" "1280x1024" "1280x960" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"                                                                                                                                                                      
    **Virtual**    2680 1050                                                                                                                                                    

You have to somehow modify this part of the file, so that the Virtual value is the sum of the two resolutions you want to combine. Of course that is if you want both monitors to show.
I suppose that if you just want to have the 22’ monitor, you have to add this resolution to the xorg.conf file (in the “Modes” and the “Virtual”)

I haven’t made it my multiple monitors working (as in have dual monitors simultaneously) but I have a standard 1280x1024 monitor connected to my docking station and that works.

I would try krandtray, which is the one that lets me switch from my laptop monitor to my external one, but it still does not work as expected. (for surely, it is something I am doing wrong, but haven’t figured out what yet)
On the other hand that stuff works on Windows (it is a corporate laptop and have to have dual boot or only M$ $#it on it)

Hope this will help, or at least point out to the correct direction…