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,
>
> Try typing the command xdpyinfo from a terminal window with the DISPLAY
> environment variable set. Look for a line like this:
>
> default visual id: 0x20
>
> This is the visual of your screen (0x20). Find the infomation about your
> visual below that. Like class, depth...
>
> 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.
>
> 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):
>
> 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_at_console /usr/bin/X11/X :0
> to look something like:
> :0 Local local_at_console /usr/bin/X11/X :0 -vclass DirectColor
>
> 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.
>
> Good luck,
> Stuart
My Xservers file is /usr/var/X11/xdm/Xservers.
Bye.
--
César Arriaga Egüés
e-mail:carriaga_at_tracasa.es
Received on Mon Nov 24 1997 - 10:03:47 NZDT