FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-25-2011, 03:24 AM
Mitchell Laks
 
Default what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

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 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.

Thank you. I dont know why the directory file entry did not get used.
maybe because i had another xorg.conf file it overrode that setting?

I have to tell it to use nouveau somewhere?

Mitchell


> and put your settings there
>
>
>
> Cheers
>
> --
> "People say, “Don’t be hard on the New Kids [on the Block], Bill.
> They’re good kids. They’re role models.” When did banality and
> mediocrity become good examples for your children? They are demons sent
> to the earth to LOWER THE STANDARD."
> — Bill Hicks
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/4E7E939E.80806@gmail.com
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110925032424.GA6531@earthlink.net">http://lists.debian.org/20110925032424.GA6531@earthlink.net
 
Old 09-25-2011, 12:53 PM
Camalen
 
Default what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

On Sat, 24 Sep 2011 21:58:20 -0400, Mitchell Laks wrote:

> i have switched to the noveau drivers from nvidia binary drivers and
> therefore my old xorg.conf for the dual monitor setup with different
> dimensions of the 2 monitors wont work as the nvidia drivers used a
> "Twinhead" stanza.
>
> what should my xorg.conf look like for my nouveau drivers.
>
> I am currently running
>
> xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0
>
> which dynamically sets me up. what is the static stanza corresponding?

Hum... AFAIK, xrandr setting should remain between boots. Are you using
GNOME/KDE applet to set up the displays? :-?

Anyway, I would read this doc:

http://wiki.debian.org/XStrikeForce/HowToRandR12

And remember that you can also instruct your system to use the desired
xrandr stanza instead using a static xorg.conf configuration file:

http://www.jejik.com/articles/2008/10/setting_up_dual_monitors_system-wide_with_xrandr_on_debian_lenny/

Greetings,

--
Camalen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.09.25.12.53.18@gmail.com">http://lists.debian.org/pan.2011.09.25.12.53.18@gmail.com
 
Old 09-25-2011, 02:02 PM
Camalen
 
Default what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

On Sat, 24 Sep 2011 23:24:24 -0400, Mitchell Laks wrote:

> I did the following for the xorg.conf and it works
>
>
> Section "Device"
> Identifier "Card0"
> Driver "nouveau"
^^^^^^^^^^^^^^^^^^^^^^^
(...)

> I have to tell it to use nouveau somewhere?

You already did ;-)

Greetings,

--
Camalen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.09.25.14.02.34@gmail.com">http://lists.debian.org/pan.2011.09.25.14.02.34@gmail.com
 
Old 09-26-2011, 02:43 AM
Scott Ferguson
 
Default 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E7FE6CA.6050503@gmail.com">http://lists.debian.org/4E7FE6CA.6050503@gmail.com
 

Thread Tools




All times are GMT. The time now is 09:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org