SUMMARY: Setting screen resolution and color depth

From: Grant Schoep <grant_at_storm.com>
Date: Mon, 26 Feb 2001 14:38:04 +0000

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_at_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_at_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_at_storm.com
Software Developer
L3 Com - Storm Control System
Basingstoke, UK
Received on Mon Feb 26 2001 - 14:41:58 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT