View previous topic :: View next topic |
Author |
Message |
Jgoulart n00b
Joined: 23 Sep 2003 Posts: 4
|
Posted: Tue Sep 23, 2003 12:27 pm Post subject: X Desktop |
|
|
Hi. I just installed Gentoo. How can I configure the resolution that is very poor. My video card is Nvidia Geforce2 MX400, my monitor is a Samsung 17", but my Desktop looks like the old days. There is a tool to configure this?
By the way. My kernel was compiled 4 times until I get it running. |
|
Back to top |
|
|
X Apprentice
Joined: 30 Apr 2002 Posts: 192 Location: Lexington KY
|
Posted: Tue Sep 23, 2003 1:31 pm Post subject: |
|
|
There are a couple ways to configure X. Using the command 'xf86config' is the way I usually do it. However, if you have X up and running already, you can just modify the file /etc/X11/XF86Config
In the /etc/X11/XF86Config file, the part about resolutions and color depth is under the title "Screen sections" as shown below. You need a default depth (mine's 24 bpp) and when you list your screen resolutions, place the default screensize first (1024x768 in my case).
Code: |
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "geforce2"
Monitor "hpm70"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubsection
EndSection
|
More information:
Gentoo Desktop Configuration Guide: http://www.gentoo.org/doc/en/desktop.xml#doc_chap2
IBM Tutorial linked from GDCG: http://www-106.ibm.com/developerworks/edu/os-dw-linuxxwin-i.html |
|
Back to top |
|
|
Jgoulart n00b
Joined: 23 Sep 2003 Posts: 4
|
Posted: Tue Sep 23, 2003 10:12 pm Post subject: X Desktop |
|
|
It worked! Thank you. |
|
Back to top |
|
|
|