-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathrun-skype.sh
More file actions
executable file
·22 lines (18 loc) · 829 Bytes
/
run-skype.sh
File metadata and controls
executable file
·22 lines (18 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
xhost +si:localuser:$(whoami) >/dev/null
docker run \
--privileged \
--rm \
-ti \
-e DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-v ~/docker-data/wine:/home/docker/wine/ \
-v /etc/localtime:/etc/localtime:ro \
-u docker \
yantis/wine /bin/bash -c "sudo initialize-graphics >/dev/null 2>/dev/null; vglrun /home/docker/templates/skype.template;"
# Without virtualgl (Skype setup does not seem to work here)
# yantis/wine /bin/bash -c "sudo initialize-graphics >/dev/null 2>/dev/null; sh /home/docker/templates/skype.template;"
# With virtualgl
# yantis/wine /bin/bash -c "sudo initialize-graphics >/dev/null 2>/dev/null; vglrun /home/docker/templates/skype.template;"
# Note make sure to create your ~/docker-data/X
# directory beforehand or you might have permissions issues
# if it gets auto created.