RE: [Xpert]Changing what X looks like on startup

2002-02-12 Thread Rob Taylor

here's a context patch to make the default background black (i'm workinng on an
embedded device and the flash of moire was just too messy ;)

Rob


--- xc/programs/Xserver/dix/window.cMon Jan 28 15:45:50 2002
+++ xc.orig/programs/Xserver/dix/window.c   Wed Jan 17 22:36:44 2001
@@ -114,12 +114,12 @@
  *HandleSaveSet, ReparentWindow, MapWindow, MapSubWindows,
  *UnmapWindow, UnmapSubWindows, ConfigureWindow, CirculateWindow,
  *
  **/

-static unsigned char _back_lsb[4] = {0x00, 0x00, 0x00, 0x00};
-static unsigned char _back_msb[4] = {0x00, 0x00, 0x00, 0x00};
+static unsigned char _back_lsb[4] = {0x88, 0x22, 0x44, 0x11};
+static unsigned char _back_msb[4] = {0x11, 0x44, 0x22, 0x88};

 int screenIsSaved = SCREEN_SAVER_OFF;

 ScreenSaverStuffRec savedScreenInfo[MAXSCREENS];


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Jim Gettys
> Sent: Wednesday, January 23, 2002 7:16 PM
> To: Thomas Steffen
> Cc: pesarif; [EMAIL PROTECTED]
> Subject: Re: [Xpert]Changing what X looks like on startup
>
>
>
> > Sender: [EMAIL PROTECTED]
> > From: Thomas Steffen <[EMAIL PROTECTED]>
> > Date: 23 Jan 2002 09:35:45 +0100
> > To: pesarif <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [Xpert]Changing what X looks like on startup
> > -
> > pesarif <[EMAIL PROTECTED]> writes:
> >
> > > I was just wondering, though, why the XFree86 developers chose a
> > > black and white background?
> >
> > Well, back in the old days, a lot of machines had a 1-bit framebuffer.
> > I wouldn't make much sense to use that default background that would
> > fail on these, wouldn't it?
> >
> > Then again pure black or pure white is not that telling. So by logical
> > conclusion, something like 50% grey seems perfect for this purpose.
> >
>
> Perfect gray patterns don't rubber band worth a d***.
>
> So I (or Bob) designed the cross hatch, which does.  I have memories
> of doing this, so I think I'm the person.
>   - Jim
>
> --
> Jim Gettys
> Cambridge Research Laboratory
> Compaq Computer Corporation
> [EMAIL PROTECTED]
>
> ___
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
>


___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Changing what X looks like on startup

2002-01-23 Thread Jim Gettys


> Sender: [EMAIL PROTECTED]
> From: Thomas Steffen <[EMAIL PROTECTED]>
> Date: 23 Jan 2002 09:35:45 +0100
> To: pesarif <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Xpert]Changing what X looks like on startup
> -
> pesarif <[EMAIL PROTECTED]> writes:
> 
> > I was just wondering, though, why the XFree86 developers chose a
> > black and white background?
> 
> Well, back in the old days, a lot of machines had a 1-bit framebuffer.
> I wouldn't make much sense to use that default background that would
> fail on these, wouldn't it?
> 
> Then again pure black or pure white is not that telling. So by logical
> conclusion, something like 50% grey seems perfect for this purpose.
> 

Perfect gray patterns don't rubber band worth a d***.

So I (or Bob) designed the cross hatch, which does.  I have memories
of doing this, so I think I'm the person.
- Jim

--
Jim Gettys
Cambridge Research Laboratory
Compaq Computer Corporation
[EMAIL PROTECTED]

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Changing what X looks like on startup

2002-01-17 Thread Dr Andrew C Aitchison

On Thu, 17 Jan 2002, pesarif wrote:

> 
> Hello,
> 
> When X starts up, it has a black and white background with an "X" mouse 
> cursor.
> 
> Is there a way to change the background to something else (e.g. plain black 
> or plain blue), like in Windows?  The Xsetup_0 script is called too late to 
> change the background (i.e. the black and white background can be seen before 
> Xsetup_0 is called).
> 
> Can the "X" mouse cursor be changed to a "proper" mouse pointer _before_ the 
> kdm/gdm login menu appears?

You have the source, you can do what you want.

As far as I know there is no way of changing either of these without
using something like Xsetup_0 or the startx/xinit scripts, since most
people are happy to wait until these scripts kick in to do their
customization. 

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert