new file mode 100755
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -euC
+
+## Source X session startup scripts.
+for path in "$HOME/.xsession.d/"*".sh"
+do
+ if [ -r "$path" ]
+ then
+ . "$path"
+ fi
+done
+unset path