Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X Desktop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jgoulart
n00b
n00b


Joined: 23 Sep 2003
Posts: 4

PostPosted: Tue Sep 23, 2003 12:27 pm    Post subject: X Desktop Reply with quote

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
View user's profile Send private message
X
Apprentice
Apprentice


Joined: 30 Apr 2002
Posts: 192
Location: Lexington KY

PostPosted: Tue Sep 23, 2003 1:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jgoulart
n00b
n00b


Joined: 23 Sep 2003
Posts: 4

PostPosted: Tue Sep 23, 2003 10:12 pm    Post subject: X Desktop Reply with quote

It worked! Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum