#! /bin/bash # # This script configures the logged in users xsession to properly # configure unity to launch # # Major thanks to: http://c-nergy.be/blog/?p=10752 for the tips. # if [ ! $(id -u) ]; then echo 'This script must be run with root privileges' >&2 exit 1 fi bash -c "cat > ~/.xsession <