startw 216 B

123456789
  1. #!/bin/sh
  2. exec &> ~/.wsession-errors
  3. export XDG_RUNTIME_DIR=/tmp/runtime-$UID
  4. mkdir -p $XDG_RUNTIME_DIR
  5. chown $UID:$UID $XDG_RUNTIME_DIR
  6. chmod 700 $XDG_RUNTIME_DIR
  7. export XKB_DEFAULT_LAYOUT=`initc keyboard`
  8. exec $1