Change the resolution on xorg.conf

This is a discussion on Change the resolution on xorg.conf within the X forums, part of the Help category; Hi When I start KDE I run this script to change the screen resolution: xrandr --newmode 1280x1024 159.36 1280 1376 1512 1744 1024 1025 1028 1075 -HSync +Vsync xrandr --addmode ...

Go Back   Unix Linux Forum > Unix > Linux > Help > X

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-11-2008, 09:22 PM
Default Change the resolution on xorg.conf

Hi

When I start KDE I run this script to change the screen resolution:

xrandr --newmode 1280x1024 159.36 1280 1376 1512 1744 1024 1025 1028
1075 -HSync +Vsync
xrandr --addmode DVI-I_1/analog 1280x1024
xrandr --output DVI-I_1/analog --mode 1280x1024

I wish to move this configuration to xorg.conf but I don't know how. This is
part of my xorg.conf:

Section "Monitor"
#this is the monitor I want to setup
Identifier "cuadrado"
Option "RightOf" "panel"
Modeline "1280x1024" 159.36 1280 1376 1512 1744 1024 1025 1028 1075
EndSection

Section "Monitor"
Identifier "panel"
EndSection

Section "Device"
Identifier "Card0"
Driver "radeonhd"
Option "monitor-DVI-I_1/analog" "cuadrado"
Option "monitor-DVI-I_2/digital" "panel"
Option "RROutputOrder" "DVI-I_2/digital"
EndSection

Can anyone help me please.

Thanks a lot

Reply With Quote
  #2  
Old 06-23-2008, 02:17 PM
Default Re: Change the resolution on xorg.conf

javi said:
>When I start KDE I run this script to change the screen resolution:
>
>xrandr --newmode 1280x1024 159.36 1280 1376 1512 1744 1024 1025 1028
>1075 -HSync +Vsync
>xrandr --addmode DVI-I_1/analog 1280x1024
>xrandr --output DVI-I_1/analog --mode 1280x1024
>
>I wish to move this configuration to xorg.conf but I don't know how.


I think your xorg.conf sample below is missing just one line (and
I'll add it there); I've just been solving this same problem.
In addition to the PreferredMode line, I would change the "Modeline"
capitalization to "ModeLine" (even though I'm not certain whether
it matters).

>Section "Monitor"
> #this is the monitor I want to setup
> Identifier "cuadrado"
> Option "RightOf" "panel"
> Modeline "1280x1024" 159.36 1280 1376 1512 1744 1024 1025 1028 1075

PreferredMode "1280x1024"
>EndSection
>
>Section "Monitor"
> Identifier "panel"
>EndSection
>
>Section "Device"
> Identifier "Card0"
> Driver "radeonhd"
> Option "monitor-DVI-I_1/analog" "cuadrado"
> Option "monitor-DVI-I_2/digital" "panel"
> Option "RROutputOrder" "DVI-I_2/digital"
>EndSection


I hope that was the help you needed.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 12:43 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger