On Sun, 26 Feb 2017 at 10:43:50 +0100, Landry Breuil wrote:
> On Wed, Mar 09, 2016 at 05:09:13PM -0600, joshua stein wrote:
> > Is anyone seriously finding video/Xorg bugs through the default X
> > stipple pattern anymore?  Xorg changed the default to draw a black
> > background a while ago (with stipple enabled using the -retro flag),
> > but we have this local change that reverted it while adding a silly
> > -retard flag in order to show the black background.
> > 
> > I think we can finally stop partying like it's 1989 (vax is dead,
> > after all) and have X show a solid black background by default.
> 
> Reviving this thread because everyone likes to party like it's
> 1989^W^W^W^Wthe smell of a sunday morning bikeshed.... From what i
> understand, we default to the -retro mode, that option is #ifndef'ed
> out, but Xserver(1) still mentions it. We instead provide (since xserver
> 1.6.4, 8 years ago) an undocumented -retard option which is supposed to
> have the default 'black background' behaviour. And then, there's -br
> flag.
> 
> So.. should we fix the code (from what i understood in the thread,
> there was opposition) or the manpage ?
> Or document (where?) that one can use xsetroot -solid in
> /etc/X11/xdm/Xsetup_0 to paint the default xdm/X background to its
> own bikeshed color ?

While I still think we should get rid of the stipple by default, I
propose this diff to xdm which paints the background black after X
fully starts up.

The stipple pattern will still appear briefly, to bring
enlightenment to all of those lost souls troubleshooting their X
startup problems in 2017 without consulting /var/log/Xorg.0.log, or
those using startx because they like the stipple and fvwm.  But once
X has loaded far enough to start xdm, it will paint the background
black.


diff --git app/xdm/config/Xsetup_0 app/xdm/config/Xsetup_0
index a24818c9d..7ff2260ee 100644
--- app/xdm/config/Xsetup_0
+++ app/xdm/config/Xsetup_0
@@ -1,5 +1,8 @@
 #!/bin/sh
 # $OpenBSD: Xsetup_0,v 1.3 2010/03/28 09:33:02 matthieu Exp $
+
+xsetroot -solid black
+
 if [ "$DISPLAY" = ":0" -o "$DISPLAY" = ":0.0" ]
 then
        xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed 
-exitOnFail

Reply via email to