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

Re: Screen Size



Alan DeJong wrote:
> 
> I am running Red Hat 6.0 and i just installed it on my computer today.
> X windows and everything went up fine, but when i use programs, i can
> only see part of the window.  I am guessing my screen size or something
> is not correct, but i can not see how i can change it in gnome or kde or
> anything.  any suggestions?
> -alan


There are a couple of ways to fix this.  The first is to press
ctrl+alt+keypadminus and/or ctrl+alt+keypadplus until the full screen is
displayed.  The other way is to edit the file /etc/X11/XF86Config.  Open the
file as root in your favorite editor and find the "Screen" section.  I use vi. 
Add the following type of line in your display subsection.  Here is my screen
section for an example.

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
#               Modes "800x600"
                Modes "1024x768"
        EndSubSection
#        Subsection "Display"
#               Depth 24
#               Modes "1024x768"
#       EndSubSection
EndSection

For the subsection which the DefaultDepth line says will be default, add all the
Modes that you would like to be able to view your desktop.  The largest one
determines the overall size of the desktop.  I would recommend copying the file
to a hold file just in case before you edit it.  I am used to XFree ver 4.  RH 6
used XFree ver 3.  I edit the file /etc/X11/XF86Config-4.  They are almost the
same in the config files though.

Hope this helps

Dirk