Package: gdm
Version: 2.20.7-4
Severity: normal
Tags: patch
This patch makes it easy to override the default gdm theme from another
package. It's specially useful for Debian-based distributions.
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
diff -ur gdm-2.20.7/debian/gdm.postinst gdm-2.20.7.new/debian/gdm.postinst
--- gdm-2.20.7/debian/gdm.postinst 2009-03-22 18:11:55.000000000 +0100
+++ gdm-2.20.7.new/debian/gdm.postinst 2009-03-22 18:11:44.000000000 +0100
@@ -7,6 +7,10 @@
THIS_PACKAGE=gdm
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+if ! test -e /usr/share/gdm/themes/default ; then
+ ln -sf debian-moreblue /usr/share/gdm/themes/default
+fi
+
# creating gdm group if he isn't already there
if ! getent group gdm >/dev/null; then
addgroup --system gdm
diff -ur gdm-2.20.7/debian/patches/35_gdm.conf.patch gdm-2.20.7.new/debian/patches/35_gdm.conf.patch
--- gdm-2.20.7/debian/patches/35_gdm.conf.patch 2009-03-22 18:11:55.000000000 +0100
+++ gdm-2.20.7.new/debian/patches/35_gdm.conf.patch 2009-03-22 18:11:44.000000000 +0100
@@ -203,7 +203,7 @@
# and specify just one theme.
-#GraphicalTheme=circles
-#GraphicalThemes=circles/:happygnome
-+GraphicalTheme=debian-moreblue-orbit
++GraphicalTheme=default
+#GraphicalThemes=debian-moreblue-orbit:/bijou/:blueswirl/:circles/:debblue-list/:debblue/:ayo/:debian-dawn/:debian-greeter/:debian/:glassfoot/:hantzley/:happygnome/:industrial/:crystal/:linsta
graphicalthemed...@datadir@/gdm/themes/
GraphicalThemeRand=false