From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210639.tru64-unix-managers.marc@archive.invalid> From: =?iso-8859-1?Q?C=E9sar?= Arriaga Date: Mon, 24 Nov 1997 09:36:53 +0000 To: tru64-unix-managers Subject: SUM: More Colors! X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210639 Last week I asked for the way to know if my graphics card was or not able to display more than 256 color at a time. Thanks to: Olle Eriksson, Roberto Furlani and Stuart C. Sides. As they say my graphics hardware 8 plane, 2MB, is able to display only 256 colors at the same time. But I enclose Stuart's answer as is, becouse I find it very interesting: > Cesar, >=20 > Try typing the command xdpyinfo from a terminal window with the DISPLAY > environment variable set. Look for a line like this: >=20 > default visual id: 0x20 >=20 > This is the visual of your screen (0x20). Find the infomation about you= r > visual below that. Like class, depth... >=20 > If your default visual has a depth of 8, you only have 256 colors. If > your default has a depth of 24 you should have 16.7 million colors. The > available visuals depend on what graphics option you have. >=20 > If you don't like your default and you do like one of the other choices > do the following (I suggest using TrueColor 24, a lot of programs like > Netscape can't handle DirectColor 24 or some of the other non standard > depths): >=20 > 1. Make a copy of /usr/dt/config/Xservers in /etc/dt/config/Xservers. > 2. Change the line at the bottom of the file > :0 Local local@console /usr/bin/X11/X :0 > to look something like: > :0 Local local@console /usr/bin/X11/X :0 -vclass DirectColor >=20 > 3. Restart the X server by rebooting or try: > /sbin/init.d/xlogin stop > /sbin/init.d/xlogin start > You may have to type Return to get to a prompt after the stop. >=20 > Good luck, > Stuart My Xservers file is /usr/var/X11/xdm/Xservers. Bye. --=20 C=E9sar Arriaga Eg=FC=E9s e-mail:carriaga@tracasa.es