linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* changing color depth in XFree86
@ 2003-04-17 17:48 Barry Gamblin
  2003-04-17 20:23 ` Glynn Clements
  0 siblings, 1 reply; 16+ messages in thread
From: Barry Gamblin @ 2003-04-17 17:48 UTC (permalink / raw)
  To: linux-admin

I'm using Redhat 7.3 (kernel 2.4.18-19.7.x). I'm using the gnome 
desktop. I have a need to allow a user to change back and forth between 
24 bit color depth and 8 bit color depth. The XFree86 man page says I 
can use Ctl-Alt-Keypad-plus to go to the next mode in the config file. 
For me it is just changing the resolution, but not the color depth.

Here is my XF86Config-4 file:
-----
# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance

Section "Files"
        FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
        Load  "dbe"             # Double-buffering
#       Load  "GLcore"          # OpenGL support
#       Load  "dri"             # Direct rendering infrastructure
        Load  "glx"             # OpenGL X protocol interface
        Load  "extmod"          # Misc. required extensions
        Load  "v4l"             # Video4Linux
        # Load  "record"        # X event recorder
        # You only need the following two modules if you do not use xfs.
        # Load  "freetype"       # TrueType font handler
        # Load  "type1"         # Adobe Type 1 font handler
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons" "off"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier "HP P1130"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 30 - 130
        VertRefresh 48 - 170
        Option "dpms"
EndSection

Section "Device"
        Identifier "NVIDIA GeForce 2 MX (generic)"
        Driver "nvidia"
        BoardName "Unknown"
EndSection

Section "Device"
        Identifier "Linux Frame Buffer"
        Driver "fbdev"
        BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "NVIDIA GeForce 2 MX (generic)"
        Monitor "HP P1130"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1600x1200" "1280x1024"
        EndSubSection
        Subsection "Display"
                Depth 8
                Modes "1600x1200" "1280x1024"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
-----

Could someone help me figure out how to make this work?

Thanks, Barry

Barry S. Gamblin, UNIX Administrator III, bgamblin@ucar.edu
High Altitude Observatory - National Center for Atmospheric Research
P.O.Box 3000, Boulder CO 80307-3000
voice - 303-497-1509  fax - 303-497-1589


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-04-21 16:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-17 17:48 changing color depth in XFree86 Barry Gamblin
2003-04-17 20:23 ` Glynn Clements
2003-04-19  4:10   ` Stewart
2003-04-19 13:42     ` Glynn Clements
2003-04-19 15:55       ` Stewart
2003-04-19 23:19         ` Rant [Was: Re: changing color depth in XFree86] Glynn Clements
2003-04-19 23:42           ` Bill Sneed
2003-04-20 15:21           ` Stewart
2003-04-20 14:17         ` changing color depth in XFree86 terry white
2003-04-20 15:11           ` Stewart
2003-04-20 15:52             ` terry white
2003-04-20 23:24               ` Stewart
2003-04-21  1:36                 ` terry white
2003-04-21  4:44                   ` Stewart
2003-04-21  7:04                     ` terry white
2003-04-21 16:34                       ` Milan P. Stanic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).