From: Thomas L. <ta...@ec...> - 2003-01-10 11:28:56
|
On Sun, Dec 15, 2002 at 01:46:41AM -0500, Matthew Weier OPhinney wrote: > -- Matthew Weier OPhinney <wei...@gr...> wrote [...] > Okay, so what I've done now is to write a script (did it in perl; > probably could have done it in bash) that bsetbg calls: > setRoxBg [-tile|-center|-full] imagename > > setRoxBg then removes all images found in > {CHOICESPATH}/Wallpaper/(Tiled|Centred|Scaled) and links the new image > in the appropriate directory. Finally, it calls Wallpaper, at which poin > the user needs to Activate the "random" image, which sets the > background. > > It's a hack, admittedly... but it will certainly work for now, until I > figure out how to write an AppDir that can set the backdrop with only an > image as its argument. What about running Choices/ROX-Filer/pb_Default through a sed script to set <backdrop style="tile">image</backdrop>? It would only work if you did it on login before running the filer, of course. Otherwise, I suppose we could add a new SOAP message. -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 |