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.
 
 
 
 

22 lines
480 B

  1. #!/bin/sh
  2. # Ensure dbus is either already running, or safely start it
  3. if [[ -z "${DBUS_SESSION_BUS_ADDRESS}" ]];
  4. then
  5. eval $(dbus-launch --sh-syntax --exit-with-session)
  6. fi
  7. if test -z "${XDG_RUNTIME_DIR}"; then
  8. export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
  9. if ! test -d "${XDG_RUNTIME_DIR}"; then
  10. mkdir "${XDG_RUNTIME_DIR}"
  11. chmod 0700 "${XDG_RUNTIME_DIR}"
  12. fi
  13. fi
  14. eval "$(gpg-agent --daemon)"
  15. eval "$(ssh-agent)"
  16. exec /etc/X11/Sessions/awesome