Hi and thanks for stopping by. Searched for "gimme wallpaper" and could not find anything, hopefully I am not asking something already covered.

I found a script online to rotate background images called gimme wallpaper. It actually works, but i cannot see it. Let me explain; after putting the script in and setting it up I cannot see the wallpapers I set it to use, instead the one being used by the Sabayon shows. When I log off/on or shut down, it will flash the wallpapers, a different one each time. So, it is working, but seems to be in a layer below the Sabayon background image.

If anyone knows a way to make the Sabayon desktop transparent (choosing the blank one does not work either), tell Sabayon to display the script in preference, or to tell the script how to display in preference that would be great. Thanks!!!!!

#!/usr/bin/env bash## vim:ft=sh:fenc=UTF-8:ts=4:sts=4:sw=4:expandtab:foldmethod=marker:foldlevel=0:## $Id$## This script will load a random wallpaper on each boot.# Copyright (C) 2006, Wael Nasreddine <[email protected]>## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2# of the License, or (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.#

# Load the functions.#{{{# Determine the location of the functions file and source it.if [ -f "${HOME}/bin/functions/scripts" ]; then source "${HOME}/bin/functions/scripts"elif [ -f "${HOME}/lib/functions/scripts" ]; then source "${HOME}/lib/functions/scripts"elif [ -f "$(dirname "${0}")/functions/scripts" ]; then source "$(dirname "${0}")/functions/scripts"elif [ -f "$(dirname "${0}")/../bin/functions/scripts" ]; then source "$(dirname "${0}")/../bin/functions/scripts"elif [ -f "$(dirname "${0}")/../lib/functions/scripts" ]; then source "$(dirname "${0}")/../lib/functions/scripts"elif [ -f "./functions/scripts" ]; then source "./functions/scripts"elif [ -f "./scripts" ]; then source "./scripts"else echo "The required functions file could not be found, Aborting..." exit 54fi#}}}# Source/Create the configurations file.#{{{if [ -f ${HOME}/.gwallrc ]; then source ${HOME}/.gwallrcelse cat <<EOF > ${HOME}/.gwallrc## Configurations for Gwall.## First you have to set which program you want to use, I've# tested this script with feh and gconftool-2, to set the# background with feh use the following combination:# PROG="feh"# ARGS="--bg-scale"# If you would like to use gconftool-2 which is used by# Gnome desktop, use the following combination:# PROG="gconftool-2"# ARGS="-s /desktop/gnome/background/picture_filename -t string --"## Next you should set the time to wait before actually rotating# the background(ROTATE_SLEEP), this time is defined in seconds# and will be passed to sleep(1), you can disable the rotating# feature by setting ROTATE to 'false'...## Last but not least you should add wallpaper folders to the# FOLDERS array which we will take the wallpapers from, remember# that it is an array so it should look like this example:## FOLDERS=(# \${HOME}/Pictures/Wallpapers/1024x768# \${HOME}/Pictures/Wallpapers/1280x1024# \${HOME}/Pictures/Wallpapers/1280x800# \${HOME}/Pictures/Wallpapers/1600x1200# \${HOME}/Pictures/Wallpapers/800x600# \${HOME}/Pictures/Wallpapers/Other# )## You can disable the image randomizer by setting DISABLE# to true, this will disable looking for any wallpaper, and# actually will use the image you have used before (or# define by yourself). NOTE: this currently works with feh# and gconftool-2 only, so don't bother setting it to false# if you use another program.#

if [ ${#images[@]} -lt 1 ]; then print_error 0 "Folders does not contain any image." exit 1fi#}}}# Set the wallpaper.#{{{# If ROTATE is true then rotate the wallpaper while sleeping for ROTATE_SLEEP( while true; do

# Generating a random number between 0 and ${#images[@]} rand="$(expr $RANDOM % ${#images[@]})"