From 59b85bce3e365403b7dc085c03e97c91ef1a8688 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Fri, 21 Jun 2013 19:21:22 +0200
Subject: lxde configs

reenable vim

enable kanotix old-logo in lightdm

call for lightdm script

enable user list at lightdm login prompt

change to Clearlooks-Phenix
---
 config/chroot_local-hooks/03-lxde-fixes | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/config/chroot_local-hooks/03-lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes
index 0428a7e..60be728 100755
--- a/config/chroot_local-hooks/03-lxde-fixes
+++ b/config/chroot_local-hooks/03-lxde-fixes
@@ -3,10 +3,19 @@
 if [ -x /usr/sbin/lightdm ]; then
     # dirty hack kanotix wallpaper on login-screen
     echo "background=/usr/share/images/kanotix-starrise/kanotix-starrise.png" >>/etc/lightdm/lightdm-gtk-greeter.conf
-    sed -i s/Industrial/Clearlooks/ /etc/skel/.gtkrc-2.0
+    # enable display of users at login prompt
+    sed -i 's/^greeter-hide-users=true/greeter-hide-users=false/' /etc/lightdm/lightdm.conf
+    # script is called by lightdm
+    if [ -x /usr/sbin/kanotix-lightdm-display-setup-script ]; then
+	sed -i 's/^#display-setup-script=/display-setup-script=\/usr\/sbin\/kanotix-lightdm-display-setup-script/' /etc/lightdm/lightdm.conf
+    fi
+    # old kanotix icon in login
+    sed -i 's/computer/kanotix/' /usr/share/lightdm-gtk-greeter/greeter.ui
+    # Industrial conflicts
+    sed -i s/Industrial/Clearlooks-Phenix/ /etc/skel/.gtkrc-2.0
 
     # on lxde delete packages to reduce image-size
     apt-get purge --yes aptitude aptitude-common
-    apt-get purge --yes vim vim-common vim-runtime
+    #apt-get purge --yes vim vim-common vim-runtime
 
 fi
-- 
cgit v1.0