summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/03-lightdm7
-rwxr-xr-xconfig/chroot_local-hooks/03-lxde-fixes2
2 files changed, 7 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/03-lightdm b/config/chroot_local-hooks/03-lightdm
new file mode 100755
index 0000000..e04babc
--- /dev/null
+++ b/config/chroot_local-hooks/03-lightdm
@@ -0,0 +1,7 @@
+#!/bin/sh
+for file in /root/config/*; do [ -r $file ] && . $file; done
+
+if [ -x /usr/sbin/lightdm ]; then
+ # enable display of users at login prompt
+ sed -i 's/^greeter-hide-users=true/greeter-hide-users=false/' /etc/lightdm/lightdm.conf
+fi
diff --git a/config/chroot_local-hooks/03-lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes
index e94eb1b..aec69b0 100755
--- a/config/chroot_local-hooks/03-lxde-fixes
+++ b/config/chroot_local-hooks/03-lxde-fixes
@@ -4,8 +4,6 @@ for file in /root/config/*; do [ -r $file ] && . $file; done
if [ -x /usr/bin/lxde-logout ]; then
# dirty hack kanotix wallpaper on login-screen
echo "background=/usr/share/images/kanotix-starrise/kanotix-starrise.png" >>/etc/lightdm/lightdm-gtk-greeter.conf
- # enable display of users at login prompt
- sed -i 's/^greeter-hide-users=true/greeter-hide-users=false/' /etc/lightdm/lightdm.conf
# old kanotix icon in login
if [ "$LB_DISTRIBUTION" = "wheezy" ]; then