🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25454

xsetroot in startup file

#25454
From: Timothy Freeman
Date: Mon, 13 Apr 1987 00:57
38 lines
1685 bytes
Here's how I start up X V10R4 on my Sun 3/160 running release 3.0 of
the OS:

#! /bin/csh -f
setenv DISPLAY ${HOST}:0
xinit xruncomm -- Xsun 0 -l -a 3 -t 10

and here's a version of my xruncomm file which exhibits my problem:

#!/bin/csh -f
xsetroot -bitmap /usr/tsf/bitmaps/black.bitmap unix:0
sleep 30

The perverse result of all this is that the call to xsetroot briefly
displays the bitmap I want when the server starts, but that pattern is
immediately written over with the mundane default grey.  

When I run xsetroot outside of my startup file, it works fine.

There was a post with a fix for xinit which waits for the server to
start up all the way before invoking xruncomm (or whatever other
process the user specified).  I've tried using the changed xinit, but
it didn't help.

This doesn't seem to be a timing problem.  I can put a 10 second sleep
before the call to xsetroot without it making any difference.

Has anyone else encountered this problem?
--
Tim Freeman

Arpanet: tsf@theory.cs.cmu.edu
Uucp:    ...!seismo!theory.cs.cmu.edu!tsf
-- 
Tim Freeman

Arpanet: tsf@theory.cs.cmu.edu
Uucp:    ...!seismo!theory.cs.cmu.edu!tsf
Technical Details
Message-ID: <1030@theory.cs.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!theory.cs.cmu.edu!tsf

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!theory.cs.cmu.edu!tsf
From: tsf@theory.cs.cmu.edu (Timothy Freeman)
Newsgroups: comp.windows.x
Subject: xsetroot in startup file
Message-ID: <1030@theory.cs.cmu.edu>
Date: Sun, 12-Apr-87 19:57:38 EST
Article-I.D.: theory.1030
Posted: Sun Apr 12 19:57:38 1987
Date-Received: Sun, 19-Apr-87 09:40:33 EST
Organization: Carnegie-Mellon University, CS/RI
Lines: 38
Keywords: xsetroot V10R4