Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 1999 09:55:03 +0930 (CST)
From:      Gregory Lewis <glewis@dartagnan.maths.adelaide.edu.au>
To:        kevin.weiss@mail.utexas.edu (Kevin Weiss)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: xdm and painting the root window
Message-ID:  <9904190025.AA18456@dartagnan.maths.adelaide.edu.au>
In-Reply-To: <19990418201414.72D5714F1B@hub.freebsd.org> from Kevin Weiss at "Apr 18, 99 03:11:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> I now have xdm working, not I'm just wondering how to customize it.
> 
> I want to change the background login screen (root window).  I checked
> previous mailing list archives, and found references to using "xsetroot".
> I tried "xsetroot -bitmap ....", but xdm-errors reported "bad bitmap file
> format",
> or something like that.
> 
> I also saw reference to using "xv" to do this.  However, it wasn't clear
> (to me)
> how to use "xv" with graphical file.  Does the graphical file have to be in
> a certain
> format (*.bmp, *.jpg, *.gif)?  In my case, it's a *.gif file.
> 
> Any recommendations? Suggestions?

In the file /usr/X11R6/lib/X11/xdm/Xsetup_0 you can add a line to load a
background image with xv (or xsetroot if you have a file in the appropriate
format -- xv can convert), e.g. mine looks like this:

#!/bin/sh
# $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $
#xsetroot -solid CadetBlue &
xv -quit -root -rmode 5 -maxpect -owncmap /usr/X11R6/lib/X11/backgrounds/xena/MI.jpg &
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

Dunno if thats the right way to do it, but it works for me :)
-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 3237
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9904190025.AA18456>