--- gdm2setup-0.5.3-lucid/gdm2/gdm2gconf.py.orig 2010-03-21 04:29:48.000000000 +0900 +++ gdm2setup-0.5.3-lucid/gdm2/gdm2gconf.py 2012-07-16 17:18:12.000000000 +0900 @@ -44,7 +44,7 @@ class GDM2Theme(object): GDMCONF_FILE = u"/etc/gdm/custom.conf" THEMES_DIRECTORY = u"/usr/share/themes/" ICONS_DIRECTORY = u"/usr/share/icons/" - XSPLASH_IMAGE_LOCATION = u"/usr/share/images/xsplash/bg.jpg" + XSPLASH_IMAGE_LOCATION = u"/usr/share/pixmaps/backgrounds/Vine/default.jpg" def __init__(self): # Lets switch to the GDM user, since that is who all our changes need to take place as @@ -192,17 +192,6 @@ class GDM2Theme(object): retcall = subprocess.Popen(["sudo", "-u", "gdm", "gconftool-2", "-s", "/desktop/gnome/background/picture_filename", "--type", "string", self.XSPLASH_IMAGE_LOCATION], stdout=subprocess.PIPE).wait() - ###TODO: this is a temp-hack - we need to actually create the image sizes even though the system will - ### automatically do it, because it introduces some image jumping during it's efforts - looks ugly - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_800x600.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1024x768.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1280x800.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1280x1024.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1440x900.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1680x1050.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1920x1200.jpg"], stdout=subprocess.PIPE).wait() - retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_2560x1600.jpg"], stdout=subprocess.PIPE).wait() - def GetWallpaper(self, ): retcall = subprocess.Popen(["sudo", "-u", "gdm", "gconftool-2", "-g", "/desktop/gnome/background/picture_filename"], stdout=subprocess.PIPE)