#!/bin/bash # # Tools-Set_as_Splash -> (set image as splash screen) # # Owner : Largey Patrick from Switzerland # patrick.largey@nazeman.org # www.nazeman.org # # Licence : GNU GPL # # Copyright (C) Nazeman # # Dependency : Nautilus # # Encoding UTF-8 # # Vers.: 1.00 11.02.2004 # # fix gnome 2.2 bug # curpath=`echo $NAUTILUS_SCRIPT_CURRENT_URI | sed 's/file\:\/\///'` cd $curpath # # gconf editor # gconftool-2 --type string --set /apps/gnome-session/options/splash_image "$curpath/$1"