xrandr script for dual monitor

massimiliano cialdi massimiliano.cialdi at powersoft.it
Wed Jan 29 00:00:21 PST 2014


I have two monitor and I use xrandr for extend the desktop (ubuntu 13.04).
With arandr I have configured it and I save a shell script 
(/usr/share/setdualmonitor.sh) to obtain the desired result:
xrandr --output DP3 --off --output DP2 --off --output HDMI2 --off 
--output HDMI1 --mode 1680x1050 --pos 1920x0 --rotate normal --output 
DVI-I-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off 
--output VGA1 --off

I want to make it the default behaviour, so I added  to 
*# for your login screen, e.g. LightDM (Ubuntu 11.10) or GDM (11.04 or 
**# for your desktop session**

This doesn't works. In both monitors I have the same output, and the 
desktop is not extended.

How can I make the desktop extended at startup?

best regards



*Massimiliano Cialdi* |  Senior engineer

*email:* massimiliano.cialdi at powersoft.it 
<mailto:massimiliano.cialdi at powersoft.it>

*HQ Italy:* Via E. Conti, 5   |   50018 Scandicci (FI) Italy

*direct phone:* +39 055 0153429   | *Fax: * +39 055 735 6235
*web* site: www.powersoft.it <http://www.powersoft.it/>   | 
www.powersoft-audio.com <http://www.powersoft-audio.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20140129/9a75f644/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: powersoft-logo
Type: image/jpeg
Size: 2431 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20140129/9a75f644/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bottom-image
Type: image/gif
Size: 8596 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20140129/9a75f644/attachment.gif>

More information about the xorg mailing list