Changing the backdrop
iscurrah at fmail.co.uk
Wed Nov 9 16:16:30 CET 2005
On Tuesday 08 November 2005 20.34, Brian J. Tarricone wrote:
> On 11/8/2005 12:53 PM, Iain Scurrah wrote:
> > The only problem is that it never ends. After Exiting Xfce and re-logging
> > in, either as myself, or as my wife, the script keeps running. I would
> > have two copies of this script running, my wife has one (and she uses KDE
> > (although she wouldn't be able to tell you that)).
> > Is there anyway I can get Xfce to kill this script on exiting Xfce? Maybe
> > I could use the session manager to start the (or similar) script when I
> > login, but it would need to kill it on logout...
> Hmm, interesting problem. Easiest (though not cleanest) fix would be to
> modify xfce's xinitrc, and run your script (with an & at the end) from
> there. It should get killed properly on session quit that way. See the
> docs for what you need to do to copy and edit xinitrc.
I tried this earlier, changing the /etc/X11/xinit/xinitrc file (which is
indirectly linked to /etc/X11/xdg/xfce4/xinitrc) to include :
# Launch xscreensaver (if available), but only as non-root user
test $UID -gt 0 -a -z "$VNCSESSION" && xscreensaver -no-splash &
# Launch desktop wallpaper changer
# Use ssh-agent if installed and not already running. Run it separately
After login, I have these processes running :
(The tree organization was by ksysguard. Can I do this from the command line?)
After exitting Xfce, and logging back in :
And after logging in a third time :
So running my little script from the xinitrc script doesn't work either... Any
further other ideas ?
Yes, ~/Desktop/Autostart was emptied before I tried this...
More information about the Xfce