File: initialize-linux.sh

package info (click to toggle)
crispy-doom 7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,972 kB
  • sloc: ansic: 254,242; makefile: 986; objc: 951; python: 722; sh: 90; xml: 7
file content (9 lines) | stat: -rwxr-xr-x 310 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#!/bin/bash
HERE=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )

### Create the xauth file allowing the container to interact with a forwarded X11
XAUTH="$HERE/share/devcontainer.xauth";
touch "$XAUTH"
xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -

### TODO: pulseaudio pasthrough