[[ -f ~/.bashrc ]] && . ~/.bashrc export DESKTOP_SESSION=LXDE export EDITOR=nano ~/.automated_script.sh [ -n "$DESKTOP_SESSION" -a -z "$DISPLAY" -a "$(tty)" = /dev/tty1 ] && exec startx