On Monday 2015-08-17 10:09:07 Jack Montana wrote:
> Hi all
> 
> I have an external monitor placed above my laptop monitor. At start-up
> WM puts VGA at right of LVDS by default. So any time I log-in I issue
> the following:
> 
> $ xrandr --output VGA1 --above LVDS1
> 
> Once monitors are correctly aligned I then need to issue a "Restart
> Window Maker" from menu to make background correctly displayed and
> dockapps correctly aligned. Who can I automatize this?
> 
> Is there a way to tell WM to start with VGA above LVDS? Putting the
> command in the autostart file still requires me to manually issue the
> "Restart Window Maker" command. So, otherwise, is there a way to call
> internal command "Restart Window Maker" from script?
> 
> Thank you
> Jack


I have configured my /etc/X11/xorg.conf like this (this is the excerpt
from my config file):

Section "ServerLayout"
        Screen        0  "Screen0"  0 0
        Option        "Xinerama"  "on"
        ...
EndSection

Section "ServerFlags"
        Option       "RandR"    "on"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Lenovo"
        Option "PreferredMode" "1600x900_60.00"
        Option      "Position" "80 1050"
        Option "Primary" "true"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Dell"
        Option "PreferredMode" "1680x1050_60.00"
        Option      "Position" "0 0"
EndSection


The Dell monitor (vga) would sit on top of the Lenovo (LVDS) hence
the "Position" options.
This configuration is probably using xinerama and not xrandrd but you
can use xrandr later to change the layout and position of your monitors
if you need.

In my case the primary monitor will be the LVDS and it will be positioned
under the VGA monitor. If I understood correctly this is what you are
trying to achieve.

Hope that helps.


-- 
Josip Deanovic


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to