* This really only makes sense when installed as part of an image or you will end up with some users with files and some without ;-).
--- /dev/null
+DESCRIPTION = "Default 'new user' files on the OpenPandora."
+
+COMPATIBLE_MACHINE = "omap3-pandora"
+
+## /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
+#RDEPENDS = "shadow"
+
+PR = "r0"
+
+SRC_URI = " \
+ file://.xinitrc \
+"
+
+do_install() {
+ install -d ${D}${sysconfdir}/skel/
+ install -m 0777 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${prefix} ${datadir}"
--- /dev/null
+#HACK: Run Xsession.d in this place :-o
+
+SYSSESSIONDIR=/etc/X11/Xsession.d
+run-parts $SYSSESSIONDIR
+
+# The following variable defines the session which is started if the user
+# doesn't explicitely select a session in SLiM.
+
+DEFAULT_SESSION=startxfce4
+
+case $1 in
+xfce4)
+ exec startxfce4
+ ;;
+pmenu)
+ exec pmenu
+ ;;
+*)
+ exec $DEFAULT_SESSION
+ ;;
+esac