#!/bin/sh LAYOUT=`grep -o 'Xlayout=[^ ]*' /proc/cmdline` if [ -n "$LAYOUT" ]; then exec /usr/X11R6/bin/Xorg -layout "${LAYOUT#*=}" $@ else exec /usr/X11R6/bin/Xorg $@ fi