[101754] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: RH 5.1: X starts with wrong color depth

daemon@ATHENA.MIT.EDU (Hossein S. Zadeh)
Sun Nov 29 05:25:30 1998

Date: Sun, 29 Nov 1998 21:24:59 +1100 (EST)
From: "Hossein S. Zadeh" <hossein@bf.rmit.edu.au>
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.96.981128150220.2244A-100000@salmo>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Sat, 28 Nov 1998, Rich Shepard wrote:

> On Sat, 28 Nov 1998, Jeff wrote:
> 
> > Not sure why you have this issue, but if you're just looking to save
> > keystrokes, you could always 
> >     alias x='startx -- -bpp 32 >& startx.log' (in your ~/.bashrc)
> > for example.
>  
> 
> Jeff,
> 
>   Thanks. I know that there are kledges, but I'd rather understand why I
> have the problem and then solve it.
> 

X defaults to b bit. To change the default edit /etc/X11/XF86Config file
and towards the end of it where color depths are defined add the following
line:
DefaultColorDepth  16

Replace 16 with whatever color depth you'd like to make the default.

cheers,
Hossein


P.S: Here's where I've added mine:

....blah
....blah
Section "Screen"
    Driver      "accel"
    Device      "ViRGE/DX or /GX"
    Monitor     "My Monitor"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       24                      
....blah
....blah



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post