Someone posted this to me: >Have you tried using a ~/.xinitrc file instead of ~/.xsession? I use the former >and have never had a problem with background apps staying up when X closes. >But then all the apps I background are X based. What are you running background >that's staying up? That xplanetbg?
I believe that ~/.xinitrc is only used either by startx or kdm/xdm. I'm not 100% sure so I will try this if I'm home. The program staying up is xplanetbg. This is a bigger problem because it calls every 1200 seconds xplanet to render a backgroundimage. This takes about 7 seconds on my k6-2/333. If I start/stop X some time xplanet starts too often. On Fri, Mar 23, 2001 at 03:46:00PM +0000, Bastian Bowe wrote: > I've setup a $HOME/.xsession to run programs on kdm and startx startup. > The problem is that programs started in the back (with &) will stay > alive after closing X. > > Here is my .xsession: > #! /bin/bash > # set bellvolume,-pitch,-duration > xset b 100 300 30 > #xplanetbg runs every 1200 secs xplanet to render a nice backgroundimage > xplanetbg -nice 15 -projection orthographic -blend -markers \ > -cloud_ssec /usr/local/share/xplanet/latest_moll.gif -label \ > -latitude 1 -shade 44 -wa 1200 -i /usr/local/share/xplanet/earth.ppm & > exec wmaker > #exec gnome-session --disable-sound > > I'm using the debian unstable with X 4.0.2-11. > > Thanks in advance. > -- > Bastian Bowe > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Bastian Bowe

