Rotate My Wallpaper Over Time

I find a nice script from to rotate my wallpaper over time (GNOME). Just follow this tutorial:

  • Make sure you have all dependencies
    sudo apt-get install libgnomevfs2-dev build-essential
  • Download source code from here
  • Compile source code
    gcc -Wall -o change-bg `pkg-config
    --cflags --libs gnome-vfs-2.0 gconf-2.0` change-bg.c
  • Place all of your backgrounds in one folder
  • Get into terminal and type:
    ./change-bg [seconds] [location of wallpapers]

    For example:

    ./change-bg 10 /home/sUpricak3p/background
  • You can run this script from Run Application (press Alt+F2) and type
    ./change-bg [seconds] [location of wallpapers]
  • You can add this script at your startup by following this menu:
    System -> Preferences -> Sessions [Startup Programs] [Add] . . .

Have fun…

Link

4 Comments to “Rotate My Wallpaper Over Time”
  1. kuriharu says:

    Doesn’t seem to work — program compiled and it runs, but the background image doesn’t change. I made sure to change the permissions to make all of the pictures readable, but they still don’t change.

    Any clues?

  2. kuriharu says:

    Okay, got it to work, but is there any way to get it to randomly draw pictures? As it is it starts in one directory and always starts there, so I see the same images each time. Other than that, it’s pretty cool.

  3. Hi kuriharu, You should try WP Tray to rotate your wallpaper. Download from here: http://wildbill.nulldevice.net/ubuntu/wp-tray_0.4.6-1_i386.deb
    and install to your Ubuntu with:
    sudo dpkg -i wp-tray_0.4.6-1_i386.deb

    Gud lak

  4. kuriharu says:

    Thanks! They’ve made it Ubuntu compatible. I tried it before but w/ Ubuntu you couldn’t choose a directory. Looks like it works now.

    Thanks for the update!

Leave a Reply

Message