*BSD News Article 82743


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!news13.agis.net!agis!newsgod1.agis.net!agis!news4.agis.net!agis!www.nntp.primenet.com!nntp.primenet.com!enews.sgi.com!news.sgi.com!news1.best.com!bofh.noc.best.net!not-for-mail
From: rone@bofh.noc.best.net (Ron Echeverri)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: virtual desktop size
Date: 12 Nov 1996 22:28:27 -0800
Organization: fidgety systems administrators gmbh
Lines: 39
Message-ID: <56bpqb$15h@bofh.noc.best.net>
References: <56bk8a$sl7@msunews.cl.msu.edu>
NNTP-Posting-Host: bofh.noc.best.net

[posted and mailed]

In article <56bk8a$sl7@msunews.cl.msu.edu>,
Nguyen-Anh Le <len@acm.cps.msu.edu> wrote:
>    I just installed FreeBSD, so pleaes forgive my stupid newbie question.
>How do you adjust the virtual desktop size to fit your screen resolution?
>I've run twm and fvwm, and it's sticking to 1280x1024 virtual.  I'd like it
>down to 800x600 or 1024x768 AND NOT SCROLL DAMMIT (hehe), but I can't find
>where to do it.  Any help would be appreciated.

It should be in /etc/XF86Config, something like this...

Section "Screen"
   Driver          "Accel"
   Device          "Primary Card"
   Monitor         "Primary Monitor"


Look for 'SubSection "Display"', with "Depth" equal to the bit depth
of your display (8bit, 16bit).  For example, mine is 16bit.

   SubSection "Display"
      Depth        16
      Modes        "1024x768" "800x600" "640x480" "640x400" "480x300" "400x300" "320x240" "320x200"
      Virtual      1152 900
   EndSubSection

Set the mode that you wish to see first before the rest.  Then adjust
"Virtual" to the same resolution as your screen.  That should do it.
As you can see above, i run X at 1024x768, but i have a virtual
desktop of 1152x900, so it rolls around.  If you're running at
1024x768, then just change the Virtual line to "1024 768".

rone
-- 
Ron Echeverri         Best Internet Usenet Administration         rone@best.net
  ---------------------------------------------------------------------------  
     "If a tree falls in the forest...  and we've already sold the tree...
                      does it have quality?"  - The Boss