Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0
On 25/09/11 13:24, Mitchell Laks wrote:
> On 12:36 Sun 25 Sep , Scott Ferguson wrote:
>> A non-DE way of achieving the same thing is to create:-
>> /etc/X11/Xsession.d/45custom_xrandr-settings
>>
>
> I tried it
>
> and put my
>
> xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0
>
> line in that file and did chmod 755 to the file
>
> and it did not work.
I'm not sure why it failed - seems correct, except 0622 is the correct
permissions (use run-parts to test). Maybe, as you stated, xorg takes
precedence. Format and scripting is described in XSessions man
"CUSTOMIZING THE STARTUP PROCEDURE" section.
>
> I did the following for the xorg.conf and it works
>
>
> Section "Device"
> Identifier "Card0"
> Driver "nouveau"
> Option "DVI-I-1" "DVI-I-1"
> Option "DVI-I-2" "DVI-I-2"
> EndSection
>
> Section "Monitor"
> Identifier "DVI-I-1"
> # Option "Primary" "True"
> Option "PreferredMode" "1900x1200"
> EndSection
>
> Section "Monitor"
> Identifier "DVI-I-2"
> Option "RightOf" "DVI-I-1"
> Option "PreferredMode" "1900x1080"
> # Option "Primary" "False"
> EndSection
>
>
> so I am happy.
That's what counts.
<snipped>
>
> I have to tell it to use nouveau somewhere?
I don't know (sorry).
>
> Mitchell
>
>
<snipped>
Cheers
Reply to: