tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: changing X server colour depth
@ 1998-06-04 15:27 Pedro J. Serrahima Bartolome
  0 siblings, 0 replies; only message in thread
From: Pedro J. Serrahima Bartolome @ 1998-06-04 15:27 UTC (permalink / raw)
  To: tru64-unix-managers

Hi, 

Thanks a lot to all of you who answered for your quick response time (I
needed it)

Spaciel thanks to Chris Vandersip who has given me a detailed
explanation of how to solve my problem. I have followed his instructions
and it works fine. 

This is his answer: 


> 1.  First run "xdpyinfo > xdpyinfo.out".  This will list, among other
> things, the "default visual id" for the system.   Further down the
> list
> you'll see a description of all possible visual id defaults.  Our
> default was "0x22", which corresponds to TrueColor, 24-plane mode.
> 
> 2.  This default is established in the "Xservers" file, located in
> /usr/lib/X11/xdm directory.  Within this file is the command to launch
> 
> the Xserver, given by:  ":0 local /usr/bin/X11/X", which should be a
> link to /usr/bin/X11/Xdec.  The "-vclass" option for Xdec allows one
> to
> configure the default visual.  If it isn't specifically set in your
> Xserver file (as in our case), then the system should default to 24
> bit
> mode.
> 
> 3.  To change the default to 8-bit PseudoColor, append that Xserver
> launch command with the following:
> 
>                         -vclass0 PseudoColor
> 
>     Note:  On our system the Xserver file was initially read-only,
> which
> was easily changed with "chmod".
> 
> 4.  Shutdown and reboot the system.  Logon and execute "xdpyinfo"
> again
> and your new default visual id should be PseudoColor, 8-plane mode.
> Our
> new default is "0x2e".  You will still be able to access 24-bit color
> visuals, just the default will be 8-bit.
> 
> Hope this helps.
> 
> Chris
> 
> 
> 
> Pedro J. Serrahima Bartolome wrote:
> 
>      Hi,
> 
>      I'm working on an Alpha 500 with dunix 4.0b running.
> 
>      I need some urgent help, because I need to display some 8
>      bits gif
>      images on a X application, and It say me that it cannot
>      handle 8 bits
>      depth images on a 24 bit depth X server.
> 
>      Does anyone know how can I change the X server colour depth
>      to 8 bits?
> 
>      TIA.
>
..
> --
> 
> ----------------------------------------
> Chris Vandersip
> Mesoscale Analysis and Forecasting Lab
> Res. III Bldg., Centennial Campus
> North Carolina State University
> Raleigh, NC 27695
> 
> Phone: 919.515.1447
> E-mail:  cvander@thunder.meas.ncsu.edu
> 
> 




-- 
==============================================
Pedro J. Serrahima Bartolome
Instituto de Ingenieria del Conocimiento (IIC)
UAM - Canto Blanco Modulo C-XVI planta 2
28049 Madrid - Spain
Phone +34 1 397 85 28     Fax: +34 1 397 39 72
mailto:Pedro.Serrahima@lulu.iic.uam.es
~
~
:wq
==============================================

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

only message in thread, other threads:[~1998-06-04 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-04 15:27 Summary: changing X server colour depth Pedro J. Serrahima Bartolome

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