Path: utzoo!attcan!uunet!decwrl!sdd.hp.com!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: pive@BANRUC01.BITNET Newsgroups: comp.windows.x Subject: Re: xdm root window Message-ID: Date: 27 Jan 91 20:10:54 GMT References: <1991Jan26.001505.29420@dsd.es.com> Sender: daemon@athena.mit.edu (Mr Background) Reply-To: Organization: The Internet Lines: 48 A few months ago there was a simmilar discussion, this was one of the answers (I kept it, but never tried it out) hopes this helps Excerpts from X.varia: 2-Aug-90 Re: xsetroot in xdm? Keith Packard@expo.lcs.m (905) > > > > > > Try to put the next command in the file /usr/lib/X11/xdm/Xreset: > > > xsetroot -bitmap "filename" > > > > I have tried this before, but there was no result. Is there > > any other way to change the background inbetween the xdm > > sessions? > The only place you can put xsetroot and get it to work is inside a shell scrip > which runs as a replacement for xrdb (the name of which is configurable inside > xdm-config). You'll need to extract the display name from the argument list > passed to xrdb (fixed in next release). Here's an example: > (/usr/lib/X11/xdm/xrdb+xsetroot) > #!/bin/sh > /usr/bin/X11/xrdb "$@" > /usr/bin/X11/xsetroot -display $2 -bitmap /usr/include/X11/bitmaps/escherknot > exit 0 > (add to /usr/lib/X11/xdm/xdm-config) > DisplayManager*xrdb: /usr/lib/X11/xdm/xrdb+xsetroot > No, I haven't tested this exact script, but I have run similar scripts quite > successfully. > Keith Packard > MIT X Consortium P. Verhaeghe University of Antwerp, RUCA Algebra / Geometry Groenenborgerlaan 171 B-2020 Antwerpen, Belgium Tel: +32 3 2180308 Fax: +32 3 2180217 Telex: RUCABI 33362 E-mail: pive@banruc01.bitnet (or pive@ccu.uia.ac.be)