From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98456574511135.tru64-unix-managers.marc@archive.invalid> From: Uwe Lienig Date: Wed, 14 Mar 2001 10:28:22 +0000 To: tru64-unix-managers Subject: X Visuals X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98456574511135 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------2264CF52350F2E06C1D37AD9" This is a multi-part message in MIME format. --------------2264CF52350F2E06C1D37AD9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Dear friends, we are using Compaq XP900 (former PWS 600au) with PowerStorm 300. The odd thing I am facing is, that we do have an old application, which we will continue to used for quite some time. This application will only run correctly (regarding colors) if the default visual is PseudoColor. Well, seting this in Xservers.conf isn't the issue. But, most of the other X applications will default to this visual failing to allocate colors (due to color map full). But there are some other applications (Netscape, xv) which use the present TrueColor Visual. Will the application interfere, if a setup is used: default visual: TrueColor application requests: PseudoColor So, my questions are: 1. Is it possible to force a application to use a dedicated visual, even if this visual is not the default visual of the root window, but offered as a supported visual ? To clarify: xdpyinfo of the rootwindow gives (at least on a PowerStorm 300) number of visuals: 10 default visual id: 0x24 visual: visual id: 0x24 class: PseudoColor visual: visual id: 0x25 class: PseudoColor depth: 8 planes visual: visual id: 0x21 class: TrueColor depth: 24 planes (to be continued) 2. If (1.), is it possible to force an application to use a PseudoColor visual if the root window is TrueColor? Purpose is, to run the Xserver in TrueColor and force the application to open a PseudoColor visual. Thanks to all --------------2264CF52350F2E06C1D37AD9 Content-Type: text/x-vcard; charset=us-ascii; name="Uwe.Lienig.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Uwe Lienig Content-Disposition: attachment; filename="Uwe.Lienig.vcf" begin:vcard n:Lienig;Uwe tel;fax:(+49 351) 462 3476 tel;work:(+49 351) 462 2780 x-mozilla-html:FALSE org:Forschungsinstitut Fahrzeugtechnik -FiF-;Computer Aided Design and Advanced Simulation Technology adr:;;Friedrich-List-Platz 1;Dresden;Saxony;01069;Germany version:2.1 email;internet:uwe.lienig@fif.mw.htw-dresden.de note;quoted-printable:... have you ever seen MicroSoft users smiling ...=0D=0A=0D=0ASysAdmin x-mozilla-cpt:;-6720 fn:Uwe Lienig end:vcard --------------2264CF52350F2E06C1D37AD9--