OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
663 B

  1. ""|default)
  2. if test -x $HOME/.xsession; then
  3. exec $HOME/.xsession $*
  4. else
  5. sess=kde
  6. fi
  7. ;;
  8. esac
  9. # start windowmanager
  10. type "$sess" >/dev/null 2>&1 && exec "$sess" $*
  11. type "start$sess" >/dev/null 2>&1 && exec "start$sess" $*
  12. type "$sess-session" >/dev/null 2>&1 && exec "$sess-session" $*
  13. sess=`echo "$sess" | tr A-Z a-z`
  14. type "$sess" >/dev/null 2>&1 && exec "$sess" $*
  15. type "start$sess" >/dev/null 2>&1 && exec "start$sess" $*
  16. type "$sess-session" >/dev/null 2>&1 && exec "$sess-session" $*
  17. # windowmanager not found, tell user
  18. exec xmessage -center -buttons OK:0 -default OK "Sorry, $sess not found."