[PC-BSD Commits] r5981 - pcbsd/trunk/pc-sysinstall/backend
svn at pcbsd.org
svn at pcbsd.org
Tue Jan 12 14:03:18 PST 2010
Author: kris
Date: 2010-01-12 14:03:18 -0800 (Tue, 12 Jan 2010)
New Revision: 5981
Modified:
pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh
Log:
Also fix KDM not using selected keyboard layout / variant / model :)
Modified: pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh 2010-01-12 21:45:21 UTC (rev 5980)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-localize.sh 2010-01-12 22:03:18 UTC (rev 5981)
@@ -63,9 +63,14 @@
then
echo "#!/bin/sh" >${FSMNT}/usr/share/skel/.xprofile
fi
+
+ # Save the keyboard layout for user / root X logins
echo "setxkbmap ${SETXKBMAP}" >>${FSMNT}/usr/share/skel/.xprofile
chmod 755 ${FSMNT}/usr/share/skel/.xprofile
cp ${FSMNT}/usr/share/skel/.xprofile ${FSMNT}/root/.xprofile
+
+ # Save it for KDM
+ echo "setxkbmap ${SETXKBMAP}" >>${FSMNT}/usr/local/kde4/share/config/kdm/Xsetup
fi
};
More information about the Commits
mailing list