The alias solution listed below is one way, or you can edit your xf86config
file.

Open the config file ( mine is in /etc/  your mileage may vary..i have
another in /etc/X11/ , but I'm using an xbf server, so check to make sure
you are editing the correct one )
Find the *screen* section (towards the bottom of the file )and between the
Monitor line and subsection line insert
DefaultColorDepth 16
(if you want to default to 16 colors)

This is from memory, so you may wish to have a look at an example before
editing yours.  I personally think the startx alias is a more elegant and
flexible solution, but if your default runlevel is 5, I don't think that
would work.  Also run the vi tutorial, so if it doesn't work, you can fix it
without having to reinstall :)

Ben

----- Original Message -----
From: John Aldrich <[EMAIL PROTECTED]>
To: Wayne Boaz <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 1999 3:13 PM
Subject: Re: [newbie] Changing the default X windows color depth.


> On Wed, 18 Aug 1999, you wrote:
> > Can anyone tell me how to change the default startup color depth from
8bpp
> > to 16bpp?
> >
> Should be able to do it with "startx -- -bpp 16" Does this
> not work for you?
> >
> > Is there an init file I can edit to add the '-- -bpp 16' settings to?
I've
> > tried a lot and learned a lot but this has me stumped! ;.-(
> >
> Not that I'm aware of, but you CAN create a command in your
> ~/.bashrc file to autostart X in 16bpp mode. Here's what I
> did:
> alias sx='startx -- -bpp 16'
> Cut that out and paste it into your .bashrc and when you
> want to start x, just type "sx" instead of startx. You can
> make the alias whatever you want, of course. :-)

Reply via email to