spacepaste

  1.  
  2. $ cat .xinitrc
  3. ##!/bin/sh
  4. if [ -d /etc/X11/xinit/xinitrc.d ] ; then
  5. for f in /etc/X11/xinit/xinitrc.d/?* ; do
  6. [ -x "$f" ] && . "$f"
  7. done
  8. unset f
  9. fi
  10. exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde
  11. $ cat .xserverrrc
  12. #!/bin/sh
  13. exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
  14. $ cat .bash_profile
  15. # /etc/skel/.bash_profile
  16. [[ -f ~/.bashrc ]] && . ~/.bashrc
  17. # Autostartx
  18. if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
  19. startx
  20. fi
  21.