Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven.umd.edu!umd5!lewhoosh.umd.edu!matthews From: matthews@lewhoosh.umd.edu (Mike Matthews) Newsgroups: comp.sys.next Subject: Re: default background scene Message-ID: <8468@umd5.umd.edu> Date: 23 Apr 91 23:41:37 GMT References: <1991Apr23.162616.22465@magnus.acs.ohio-state.edu> <1991Apr23.222112.13095@wam.umd.edu> Sender: news@umd5.umd.edu Organization: Computer Science Center, University of Maryland, College Park Lines: 27 In article <1991Apr23.222112.13095@wam.umd.edu> mikec@wam.umd.edu (Michael D. Callaghan) writes: >This will center the eps file in the screen and leave it there until >you power off the machine or change the background again. Well, if the window server dies, so does the background... >What I would like to do is write a shell script to pick a file from >my graphics directory at random, and put it on the screen. I could >put the command in crontab.local, and call it every few hours for >variety. I can do the whole thing, except the random part... I wrote a lil' program that does just that, in the spirit of the random sound player program I wrote a while ago (well, actually, I use a mod done by someone else, to get rid of the shell script entirely). The only problem is if you try to run background as root, or at least as the person not logged in, pft will complain about not being able to open a connection. Anyone know exactly why root can't do this? >MikeC >_________________________________________________________ >Michael D. Callaghan, MDC Designs, University of Maryland >mikec@wam.umd.edu ------ Mike Matthews, matthews@lewhoosh.umd.edu (NeXT)/matthews@umdd (bitnet) ------ Everyone can be taught to sculpt: Michelangelo would have had to be taught how _not to_. So it is with the great programmers.