diff options
author | Holger Paradies <retabell@gmx.de> | 2015-12-22 12:01:53 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2015-12-22 13:53:57 +0100 |
commit | 131f16e0ec53b4e5c3b0fd50c3b604529dd1c628 (patch) | |
tree | 2d7b120443c8ff6835ee546894bbacb108fa2c5c | |
parent | 106904309f02f306b6483fc81a00556e53c623e9 (diff) | |
download | kanotix-131f16e0ec53b4e5c3b0fd50c3b604529dd1c628.zip kanotix-131f16e0ec53b4e5c3b0fd50c3b604529dd1c628.tar.gz |
lightdm hook
-rwxr-xr-x | config/chroot_local-hooks/03-lightdm | 7 | ||||
-rwxr-xr-x | config/chroot_local-hooks/03-lxde-fixes | 2 |
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 |