#!/bin/bash PATH_TO_RECURSOS="$HOME/lliurex-recursos/" [ -d "$PATH_TO_RECURSOS" ] || mkdir -p "$PATH_TO_RECURSOS" gconftool-2 --set /apps/nautilus/preferences/always_use_browser --type bool False nautilus "$PATH_TO_RECURSOS" & sleep 2 gconftool-2 --set /apps/nautilus/preferences/always_use_browser --type bool True exit 0