Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome2 Nautilus scripts ;)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Thu Jun 27, 2002 9:51 pm    Post subject: Gnome2 Nautilus scripts ;) Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum