Paste Code
Paste Blends
Paste Images
#!/bin/bash
# script to rotate GNOME backgrounds

# set this to your delay time. see man sleep for info
delay=15m


# update gnome backgound in gconf
gconftool-2 -t string -s /desktop/gnome/background/picture_filename $(ls /usr/share/backgrounds/*.{jpg,png,gif} | shuf -n1)


sleep $delay
exec $0
  1. #!/bin/bash
  2. # script to rotate GNOME backgrounds
  3.  
  4. # set this to your delay time. see man sleep for info
  5. delay=15m
  6.  
  7.  
  8. # update gnome backgound in gconf
  9. gconftool-2 -t string -s /desktop/gnome/background/picture_filename $(ls /usr/share/backgrounds/*.{jpg,png,gif} | shuf -n1)
  10.  
  11.  
  12. sleep $delay
  13. exec $0
go to heaven