diff options
-rw-r--r-- | os-plugins/plugins/theme/XX_theme.sh | 4 |
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 ..."; |