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

Re: X help



On Fri, 25 Dec 1998, Kent West wrote:

>On Wed, 23 Dec 1998 WuArMy490@aol.com wrote:
>
>> ok I recently installed Debian on my computer and when I set up X I set the
>> resolution and everything right in xf86config and I did the xf86setup also
>> 
>> But then I do startx and my resolution is way to big for my screen
>> I tried changing the resolution about 10 times then I finally gave up and
>> asked you guys
>> 
>
>I've noticed that I have better luck if I answer "no" when XF86Setup asks
>if I want to use my existing XF86Config file for defaults. You might try
>that (make a backup of /etc/X11/XF86Config first).

To add to Ken's response, there's a "Screen" section in
/etc/X11/XF86Config that looks something like this:


Section "Screen"
   Driver          "Accel" <-- the Driver you are interested in is most
				likely either "Accel" (if you use a server
				other than XF86_SVGA), or "SVGA", if --
				you guessed it -- you are using XF86_SVGA
   Device          "Trio64"
   Monitor         "ASTVision"
   DefaultColorDepth 8
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display" <-- this is the interesting section for video
				modes
 
for each depth, the server will try the modes in the order  they are
listed here (if you don't give the server a -bpp optiion, it will likely
run with 8 bpp, thus the "Depth  8" section woul be relevant).  If you
don't like the order the server tries the modes in here, just become root
and reorder 'em. Also you can normally go through these modes with
Ctrl-Alt-KP+ or Ctrl-Alt-KP-, where KP+ and KP- are "grey" + and - on the
"ten-key-calculator" keypad, respectively.  And there're plenty more
goodies in the XF86Config manual page.

      Depth        8
      Modes       "800x600" "640x480" "640x400" "1280x1024"  "1152x864"
"1024x76
8" "512x384" "480x300" "400x300" "320x240" "320x200"
      ViewPort     0 0
   EndSubSection

......  more SubSection "Display" entries here ....

EndSection


--
Evgeny Roubinchtein, eroubinc@u.washington.edu
...................
Logic:   The art of being wrong with confidence...


Reply to: