#!/bin/bash Xorg -configure sed '/Section "Device"/a\ Option "MonitorLayout" "LVDS"' /root/xorg.conf.new > /etc/X11/xorg.conf startx