#!/bin/sh KEY=/apps/nautilus/preferences/show_desktop DESKTOP="gconftool --set $KEY -t bool" if [ "`gconftool -g $KEY`" == "false" ] ; then $DESKTOP "true" nautilus -n & else $DESKTOP "false" fi