.bash_profile 214 B

12345678910111213141516
  1. #
  2. # ~/.bash_profile
  3. #
  4. [[ -f ~/.bashrc ]] && . ~/.bashrc
  5. export DESKTOP_SESSION=LXDE
  6. ~/.automated_script.sh
  7. if [[ -n $DESKTOP_SESSION ]] && [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
  8. exec startx
  9. fi