mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Thu Jun 27, 2002 9:51 pm Post subject: Gnome2 Nautilus scripts ;) |
|
|
Hi, i just spend some time fiddeling with nautilus, and came up with a little script to change the background image
Code: |
NEW=$NAUTILUS_SCRIPT_SELECTED_URIS
NEW=`echo $NEW | sed "s/file:\/\///"`
NEW=`echo $NEW | sed "s/%20/ /"`
gconftool -t string -s /desktop/gnome/background/picture_filename "$NEW"
gconftool -t string -s /desktop/gnome/background/picture_options scaled
|
you can change the last line to wallpaper when using small images, that should not be stretched |
|