summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorSebastian Schmelzer2008-03-07 19:27:57 +0100
committerSebastian Schmelzer2008-03-07 19:27:57 +0100
commit0fafa0d3f141c94d3dd972946592fd5cf3b72250 (patch)
treee5aaaa261ae0e2ae84356c393e5a05b1bbfe2958 /os-plugins
parent* improved setting a password such that is able to cope with a (diff)
downloadcore-0fafa0d3f141c94d3dd972946592fd5cf3b72250.tar.gz
core-0fafa0d3f141c94d3dd972946592fd5cf3b72250.tar.xz
core-0fafa0d3f141c94d3dd972946592fd5cf3b72250.zip
* 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
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/theme/XX_theme.sh4
1 files changed, 4 insertions, 0 deletions
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 ...";