tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Grant Schoep <grant () storm ! com>
To: tru64-unix-managers
Subject: SUMMARY: Setting screen resolution and color depth
Date: Mon, 26 Feb 2001 14:38:04 +0000	[thread overview]
Message-ID: <98319847805607.tru64-unix-managers.marc@archive.invalid> (raw)

To set the screen resolution and/or color depth in CDE. You will need to 
copy the file from /usr/dt/config/Xservers over to /etc/dt/config/Xservers.

You should see a line near the end of the file like the following.

:0   Local local@console /usr/bin/X11/X :0

To modify the settings, add arguments to the end. The three arguments I 
found were

-depth
-screen
-vclass

To set it to 24 bit TrueColor, at 1600x1200 the line would look like

:0   Local local@console /usr/bin/X11/X :0 -vclass TrueColor -screen 1600 
-depth 24

I couldn't find the arguments documented anywhere. So I am not sure of all 
the ins and outs of them. But this worked for me.

Also, a number of older machines don't let you set the resolution via 
software, you need to change a setting on the card itself.

To make the new settings take effect. You need to restart the Xserver.

You can restart the Xserver via the following:

To Stop-
/sbin/init.d/xlogin stop

To Start-
/sbin/init.d/xlogin start

Thanks goes out to the following for their assistance:
David Hull
Ed Notari
Kevin Bowers
bac

-grant


-------original question-----------------
I figured this out once long ago, but can't remember how to do it again. I 
am running CDE on a V4.0f Tru64 box with an 8 meg framebuffer. It is 
currently set to at
1280x1024 and 8 bit color, how do I set it to 24 bit color?

It looks like its a supported mode from the output from xdpyinfo, I can't 
find this info in any of the documentation.

I seem to remember having to edit the /etc/dt/config/X??? file...

Any pointers?
Thanks, will SUM
-grant
---------------------------------------------------------------------------
Grant Schoep, grant@storm.com
Software Developer
L3 Com - Storm Control System
Basingstoke, UK

                 reply	other threads:[~2001-02-26 14:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox