Comment 5 for bug 469114

Revision history for this message
Michael Rooney (mrooney) wrote : Re: Gnome wallpaper

Okay, I updated my branch to include a scripts directory, included the broken out versions of Toon's ruby scripts in it, and updated the packaging to ship them in /usr/share/disper/scripts and depend on the necessary packages.

Now I have a ~/.disperCallback of:

#!/bin/sh
if [ "$1" = "extend" ]; then
    /usr/share/disper/scripts/move_panel_to_largest_display.rb
    /usr/share/disper/scripts/random_wallpaper.rb
fi

and it works!

The only issue I ran into was that if you run the wallpaper script after a "disper -s" or "disper -S" it still generates the split up version, but it ends up on one monitor of course. Ideally it would check if the second screen is actually enabled and if not, make it just one image of the correct resolution, or perhaps we need a "random_wallpaper_extend.rb" and "random_wallpaper_clone.rb".

Any thoughts on integrating this into trunk and/or the wallpaper script?