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

Re: Screen Size in X



On Mon, Feb 22, 1999 at 09:53:06AM +1100, Stephen Lavelle wrote:
> How do I adjust the size of myscreen in X. Its too tall (vertical) and when
> I open some apps (Emacs, MAKE xCONFIG) i cannot see some parts of them.
> I think its currentlt set to 640x480 . also how do i get the output of the
> Xserver?

You will have to have defined modelines for higher resolutions in
/etc/X11/XF86Config, and then use them in the "Screen" section that
corresponds to the X server you use.

For instance, in the "Monitor" section:

Modeline "1152x864" 110 1152 1156 1316 1446 864 865 875 899 # 76.7kHz/85Hz
Modeline "1024x768" 85 1024 1028 1148 1276 768 772 775 795 # 66.4kHz/84Hz
Modeline "800x600" 50 800 804 924 984 600 601 607 626 # 50.5kHz/81Hz

Note that these modelines may not work for your monitor or video card.

And then, in the "Screen" section that uses the driver that corresponds to
your X server:

   SubSection "Display"
      Depth        16
      Modes        "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection

Knowing out to redirect standard output and standard error is one of the
most fundamental things to learn about using Unix shells.

startx > xserver.output 2>&1

This says, "run the startx command, but instead of sending output to the
screen, send it to the file xserver.output; also, send standard error there
as well".

This works for Bourne-type shells (sh, bash, ksh).

If you use csh or tcsh, try:

startx >& xserver.output

-- 
G. Branden Robinson              |    Damnit, we're all going to die; let's
Debian GNU/Linux                 |    die doing something *useful*!
branden@ecn.purdue.edu           |    -- Hal Clement, on comments that space
cartoon.ecn.purdue.edu/~branden/ |       exploration is dangerous

Attachment: pgpFcNMlPZNLT.pgp
Description: PGP signature


Reply to: