[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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


Reply to: