Comment 8 for bug 589355

Revision history for this message
Josh Brown (joshbrown) wrote :

On Wed, 2010-07-14 at 00:30 +0000, Tom Swartz wrote:
> What if we read the user's original background image setting through
> gconf, save it as a variable and then invoke it back when the script
> exits?

Tom, that's exactly what the script does. I'm using trap to catch
SIGTERM and run the above mentioned code before exiting, quite a common
scripting technique: http://www.google.com/search?q=shell+trap+sigterm