This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
M. Keith, You can avoid the entire 8 bit color limitations by running the current GEMPAK distribution in 24 bit/true color mode. The current distribution is 5.6.J (24 bit support has been available since 5.6.h). The Xfree86-4.2 server had a bug which allocated all 8 bit colors read-only by the window manager. These problems were reportedly fixed (somewhat) by available patches....but with 24 bit support now available, I would suggest that route since most users were vehemently asking for 24 bit support. Steve Chiswell >From: stallmk <address@hidden> >Organization: UCAR/Unidata >Keywords: 200304071658.h37GwG7U022767 >We are having running the GUI components of GEMPAK. I've read the emails >posted to your site about freeing colors for the programs using 8-bit depth; >however, I'm unable to free any using KDE, 8 colors using TWM, and just 12 >colors running xinit without a windows manager. We are currently running >Redhat 8.0 with XFree86-4.2.0-72. I've included our XF86Config file. > >Thanks, >M. Keith Stallins II >Chief Programmer/Webmaster >The Kentucky Climate Center >Western Kentucky University > > > > # File generated by anaconda. > >Section "ServerLayout" >Identifier "Anaconda Configured" >Screen 0 "Screen0" 0 0 >InputDevice "Mouse0" "CorePointer" >InputDevice "Keyboard0" "CoreKeyboard" >EndSection > >Section "Files" ># The location of the RGB database. Note, this is the name of the ># file minus the extension (like ".txt" or ".db"). There is normally ># no need to change the default. ># Multiple FontPath entries are allowed (they are concatenated together) ># By default, Red Hat 6.0 and later now use a font server independent of ># the X server to render fonts. >RgbPath "/usr/X11R6/lib/X11/rgb" >FontPath "unix/:7100" >EndSection > >Section "Module" >Load "GLcore" >Load "dbe" >Load "extmod" >Load "fbdevhw" >Load "dri" >Load "glx" >Load "record" >EndSection > >Section "InputDevice" ># Option "AutoRepeat" "500 5" ># when using XQUEUE, comment out the above line, and uncomment the ># following line ># Option "Protocol" "Xqueue" ># Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) ># Option "Xleds" "1 2 3" ># To disable the XKEYBOARD extension, uncomment XkbDisable. ># Option "XkbDisable" ># To customise the XKB settings to suit your keyboard, modify the ># lines below (which are the defaults). For example, for a non-U.S. ># keyboard, you will probably want to use: ># Option "XkbModel" "pc102" ># If you have a US Microsoft Natural keyboard, you can use: ># Option "XkbModel" "microsoft" ># ># Then to change the language, change the Layout setting. ># For example, a german layout can be obtained with: ># Option "XkbLayout" "de" ># or: ># Option "XkbLayout" "de" ># Option "XkbVariant" "nodeadkeys" ># ># If you'd like to switch the positions of your capslock and ># control keys, use: ># Option "XkbOptions" "ctrl:nocaps" >#Option "XkbOptions" "" >Identifier "Keyboard0" >Driver "keyboard" >Option "XkbRules" "xfree86" >Option "XkbModel" "pc105" >Option "XkbLayout" "us" #Option "XkbVariant" "" >EndSection > >Section "InputDevice" >Identifier "Mouse0" >Driver "mouse" >Option "Protocol" "IMPS/2" >Option "Device" "/dev/psaux" >Option "ZAxisMapping" "4 5" >Option "Emulate3Buttons" "no" >EndSection > >Section "Monitor" >Identifier "Monitor0" >VendorName "Monitor Vendor" >ModelName "Dell P1130" >HorizSync 30.0 - 130.0 >VertRefresh 48.0 - 170.0 >ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync >+vsync >ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync >+vsync >ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync >+vsync >ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync >+vsync >Option "dpms" # -- 1400x1050 -- ># 1400x1050 @ 60Hz, 65.8 kHz hsync >EndSection > >Section "Device" ># no known options >#BusID >Identifier "NVIDIA GeForce 2 GTS (generic)" >Driver "nv" >VendorName "NVIDIA GeForce 2 GTS (generic)" >BoardName "NVIDIA GeForce 2 GTS (generic)" >EndSection > >Section "Screen" >Identifier "Screen0" >Device "NVIDIA GeForce 2 GTS (generic)" >Monitor "Monitor0" >DefaultDepth 8 >SubSection "Display" >Depth 8 >Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" >"800x600" "640x480" >EndSubSection >SubSection "Display" >Depth 8 >Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" >"800x600" "640x480" >EndSubSection >EndSection > >Section "DRI" >Mode 0666 >EndSection > >