Michel,

What about using an aliases in ~/.bashrc :

alias x16='startx -- -bpp 16'
alias x8='startx -- -bpp 8'
...

The advantage here is that each user (if there are more than one) can
use start X in the color depth they prefer.

I believe adding these (or other) aliases to 

/etc/skel/.bashrc  

will automatically add it to any new users, as well.

I definitely don't claim to be a guru, but I think this would work for
me.


Gerry


Michel Besancon wrote:
> 
> The, 08 mai 1999, you wrote :
> 
> > I would like to start x windows with the following command but do not want to type 
>the whole thing everytime.
> >
> > startx -- -bpp 16
> >
> > Thanks
> >
> > Luke & Tina Vandervort
> > [EMAIL PROTECTED]
> > ICQ# 13963194
> 
> Hello.
> 
> Look in /etc/X11/xdm/Xservers, you find a line like this =
> 
> :0 local /usr/X11R6/bin/X
> 
> Complete line with -bpp 16 =
> 
> :0 local /usr/X11R6/bin/X -bpp 16
> 
> You allways start X directly in -bpp 16 at boot with id 5 on /etc/inittab
> file.   ;-)
> 
> Ciao.
> @+
> --
> [EMAIL PROTECTED]
> http://perso.wanadoo.fr/besancon

Reply via email to