LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red Hat 8.0 set screen resolution, color depth and update frequency (https://www.linuxquestions.org/questions/linux-newbie-8/red-hat-8-0-set-screen-resolution-color-depth-and-update-frequency-239754/)

TroelsSmit 10-07-2004 05:49 AM

Red Hat 8.0 set screen resolution, color depth and update frequency
 
Hi,

using Red Hat 8.0 I would like to set screen resolution, color depth and update frequency.
I have tried to set XFree86, but after a re-login the setup for the screen hasn't changed.
I would like to use:
1280x1024, 24 bit farver, 85Hz update.

thanks for your help !!

-----------------------------------------------------

I have set XFree86 as follows:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
FontPath "unix/:7100"
EndSection

Section "Module"
# Load "record" # X event recorder
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "dk"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "My Monitor"
VendorName "Unknown"
ModelName "Dell P991"
HorizSync 30.0 - 107.0
VertRefresh 48.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier "ATI Rage 128"
Driver "r128"
BoardName "Unknown"
EndSection

Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection

Section "Screen"
Identifier "Screen0"
Device "ATI Rage 128"
Monitor "My Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

ToeShot 10-11-2004 01:51 AM

Change this line

Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"

to this

Modes "1024x768" "800x600" "640x480" "1280x1024" "1280x960" "1152x864"

TroelsSmit 10-11-2004 04:52 AM

ok, thank you !!

How and why does that work ?


All times are GMT -5. The time now is 02:39 PM.