how to kill script started in Autostart on logout

Todd Slater dontodd at gmail.com
Thu Jan 12 16:41:52 UTC 2006


I switched from gnome to xfce4 on a laptop, and one thing I missed was
the ability to randomly change wallpapers or backgrounds every n
minutes. I discovered that you could simply issue the command
"xfdesktop" to get a random wallpaper.

Sooo, I added a script to ~/Desktop/Autostart that runs xfdesktop
every 10 minutes. I have it in a while loop that will never exit, but
I need a way to kill it because it continues to run when I log out. I
tried killing it in .bash_logout, but that doesn't work. Any ideas?

Todd




More information about the ubuntu-users mailing list