From 0fafa0d3f141c94d3dd972946592fd5cf3b72250 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Fri, 7 Mar 2008 18:27:57 +0000 Subject: * the plugin init script is now setting theme paths in gdm.conf git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1610 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/theme/XX_theme.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os-plugins') diff --git a/os-plugins/plugins/theme/XX_theme.sh b/os-plugins/plugins/theme/XX_theme.sh index b7d84761..5acadab4 100644 --- a/os-plugins/plugins/theme/XX_theme.sh +++ b/os-plugins/plugins/theme/XX_theme.sh @@ -16,6 +16,10 @@ if [ -e /initramfs/plugin-conf/theme.conf ]; then cp -a /usr/share/themes/displaymanager \ /mnt/var/lib/openslx/themes sed -i "s,UseTheme=false,UseTheme=true," /mnt/${D_KDMRCPATH}/kdmrc + if [ -f /mnt/etc/gdm/gdm.conf ]; then + sed -i "s,^\(GraphicalThemeDir=.*\)$,#\1 \nGraphicalThemeDir=/var/lib/openslx/themes/displaymanager," /mnt/etc/gdm/gdm.conf + sed -i "s,^\(GraphicalTheme=.*\)$,#\1 \nGraphicalTheme=gdm," /mnt/etc/gdm/gdm.conf + fi fi [ $DEBUGLEVEL -gt 0 ] && echo "done with 'theme' os-plugin ..."; -- cgit v1.2.3-55-g7522