system

the Chamesle handbook, init, live ISO and install helpers
git clone https://github.com/tortr-rs/system
Log | Files | Refs | README | LICENSE

Xsession (421B)


      1 #!/bin/sh
      2 # xdm's session: the login shell's environment, then ~/.xsession if there is one, else slate.
      3 # a profile that sets its own XAUTHORITY would lose the cookie xdm just made, so that one stays
      4 x=${XAUTHORITY:-$HOME/.Xauthority}
      5 [ -f /etc/profile ] && . /etc/profile
      6 [ -f "$HOME/.profile" ] && . "$HOME/.profile"
      7 export XAUTHORITY="$x"
      8 [ -x "$HOME/.xsession" ] && exec "$HOME/.xsession"
      9 exec dbus-run-session slate