Mail from ILUG-BOM list (Non-Digest Mode)

Philip S Tellis wrote:
> 
> Mail from ILUG-BOM list (Non-Digest Mode)
> 
> To always start X with 16 bit colour depth, create a file in
> /etc/X11/xinit called xserverrc
> 
> make this file executable and add this line to it:
> 
> exec Xwrapper -bpp 16
> 
> If you want the settings for your login only, then add it to
> $HOME/.xserverrc instead.
> 
> Still not sure if this works if you start directly into run level 5
> (Redhat)

In ur /etc/X11/XF86Config in Screen section (where all modes
are listed with each color depth) add line

        DefaultColorDepth 16

Snipet from my XF86Config

Section "Screen"
    Driver      "svga"
    # Use Device "Generic VGA" for Standard VGA 320x200x256
    #Device      "Generic VGA"
    Device      "Cirrus Logic GD544x"
    Monitor     "My Monitor"
    DefaultColorDepth   16      <-- not this line
    Subsection "Display"
        Depth       8
        # Omit the Modes line for the "Generic VGA" device
        Modes       "1280x1024" "1024x768" "800x600"
"640x480"
        ViewPort    0 0
        # Use Virtual 320 200 for Generic VGA
        #Virtual     1600 1200
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600"
"640x480"
        ViewPort    0 0
        #Virtual     1152 900
    EndSubsection

This will enable 16 bit color for all X server whether u r
starting from xdm / gdm (runlevel 5) or startx

> 
> Philip
> 
> --
> Those lovable Brits department:
>         They also have trouble pronouncing `vitamin'.
> 

HTH
-- 
With regards.

Dinesh Shah :-)
[EMAIL PROTECTED]
Alt - [EMAIL PROTECTED] OR [EMAIL PROTECTED]
http://dineshah.tripod.com
+91-22-886 2711
+91-22-886 8214
+91-22-887 6589


_______________________________________________
Linuxers mailing list
[EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to