tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Setting screen resolution and color depth
@ 2001-02-26 14:38 Grant Schoep
  0 siblings, 0 replies; only message in thread
From: Grant Schoep @ 2001-02-26 14:38 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-26 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-26 14:38 SUMMARY: Setting screen resolution and color depth Grant Schoep

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