On Sun, Mar 22, 2009 at 11:53:13PM +0100, Josselin Mouette wrote:
>
> Come on, if we are to do something like this, it should be based on
> alternatives, not on such a half-baked solution.
Here.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
diff -ur gdm-2.20.9/debian/gdm.postinst gdm-2.20.9.new/debian/gdm.postinst
--- gdm-2.20.9/debian/gdm.postinst 2009-03-25 01:22:21.000000000 +0100
+++ gdm-2.20.9.new/debian/gdm.postinst 2009-03-25 01:24:18.000000000 +0100
@@ -7,6 +7,14 @@
THIS_PACKAGE=gdm
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+if ! test -e /etc/alternatives/gdm-theme ; then
+ ln -sf /usr/share/gdm/themes/debian-moreblue /etc/alternatives/gdm-theme
+fi
+
+if ! test -e /usr/share/gdm/themes/default ; then
+ ln -sf /etc/alternatives/gdm-theme /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.9/debian/gdm.prerm gdm-2.20.9.new/debian/gdm.prerm
--- gdm-2.20.9/debian/gdm.prerm 2009-03-25 01:22:21.000000000 +0100
+++ gdm-2.20.9.new/debian/gdm.prerm 2009-03-25 01:25:00.000000000 +0100
@@ -10,6 +10,8 @@
THIS_PACKAGE=gdm
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
+rm -f /usr/share/gdm/themes/default
+
if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
diff -ur gdm-2.20.9/debian/patches/35_gdm.conf.patch gdm-2.20.9.new/debian/patches/35_gdm.conf.patch
--- gdm-2.20.9/debian/patches/35_gdm.conf.patch 2009-03-25 01:22:21.000000000 +0100
+++ gdm-2.20.9.new/debian/patches/35_gdm.conf.patch 2009-03-25 01:22:57.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