Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-25 Thread Camaleón
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,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.09.25.12.53...@gmail.com



Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-25 Thread Camaleón
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,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.09.25.14.02...@gmail.com



Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-25 Thread Scott Ferguson
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 PrimaryTrue
 Option PreferredMode 1900x1200
 EndSection
 
 Section Monitor
   Identifier DVI-I-2
   Option RightOf DVI-I-1 
 Option PreferredMode 1900x1080
 #  Option PrimaryFalse
 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-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e7fe6ca.6050...@gmail.com



Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-24 Thread Scott Ferguson
On 25/09/11 11:58, 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?
 
 Mitchell Laks
 
 

I don't know the answer to your specific question, but...
If you're running KDE you can set the default with KRandRTray which will
create ~/.kde/share/config/krandrrc containing:-

[Display]
ApplyOnStartup=true
StartupCommands=xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0
--output DVI-I-2 --mode 1920x1080 --pos 1920x0

It'll also creat the appropriate [screen_0] and [screen_1] entries.

I'd be surprised if GNOME and other DE's didn't have a similar tool.

If running GNOME put your settings in:-
/etc/gdm/Init/Default (check that - I haven't run GNOME for years)
below the $IFS line - see man xrandr and your search engine for syntax.

A non-DE way of achieving the same thing is to create:-
/etc/X11/Xsession.d/45custom_xrandr-settings

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-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e7e939e.80...@gmail.com



Re: what is xorg.conf equivalent of xrandr --output DVI-I-1 --mode 1920x1200 --pos 0x0 --output DVI-I-2 --mode 1920x1080 --pos 1920x0

2011-09-24 Thread Mitchell Laks
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 PrimaryTrue
Option PreferredMode 1900x1200
EndSection

Section Monitor
  Identifier DVI-I-2
  Option RightOf DVI-I-1 
Option PreferredMode 1900x1080
#  Option PrimaryFalse
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-requ...@lists.debian.org 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4e7e939e.80...@gmail.com
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110925032424.ga6...@earthlink.net