add icedove & libreoffice

This commit is contained in:
Frieder Schlesier 2015-12-15 01:20:42 +01:00
parent 748d00a1af
commit 75dce0f82f
1 changed files with 56 additions and 15 deletions

View File

@ -97,6 +97,21 @@ go() {
golang:1.5 go "$@" golang:1.5 go "$@"
} }
icedove() {
del_stopped icedove
docker run -d \
-v /etc/localtime:/etc/localtime:ro \
-v $HOME/Downloads/:/root/Downloads \
-v $HOME/.thunderbird/:/root/.icedove \
-v $HOME/.gnupg/:/root/.gnupg \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--name icedove \
fschl/icedove
}
latex() { latex() {
del_stopped latex del_stopped latex
@ -107,25 +122,51 @@ latex() {
fschl/latex "$@" fschl/latex "$@"
} }
pulseaudio() { libreoffice(){
del_stopped pulseaudio del_stopped libreoffice
docker run -d \ docker run -d \
-v /etc/localtime:/etc/localtime:ro \ -v /etc/localtime:/etc/localtime:ro \
--device /dev/snd \ -v /tmp/.X11-unix:/tmp/.X11-unix \
-p 4713:4713 \ -e DISPLAY=unix$DISPLAY \
--restart always \ -v $HOME/Documents:/root/Documents \
-v /var/run/dbus:/var/run/dbus \ -e GDK_SCALE \
-v /etc/machine-id:/etc/machine-id \ -e GDK_DPI_SCALE \
--name pulseaudio \ --name libreoffice \
fschl/pulseaudio fschl/libreoffice
} }
skype() { pulseaudio() {
del_stopped skype del_stopped pulseaudio
docker run -d \ docker run -d \
-v /home/kani/Downloads:/root/skype/Downloads \ -v /etc/localtime:/etc/localtime:ro \
--device /dev/snd \
-p 4713:4713 \
--restart always \
--name pulseaudio \
fschl/pulseaudio
}
# pulseaudio() {
# del_stopped pulseaudio
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# --device /dev/snd \
# -p 4713:4713 \
# --restart always \
# -v /var/run/dbus:/var/run/dbus \
# -v /etc/machine-id:/etc/machine-id \
# --name pulseaudio \
# fschl/pulseaudio
# }
skype() {
del_stopped skype
docker run -d \
-v $HOME/Downloads:/root/skype/Downloads \
-v /run/user/1000/pulse:/run/user/1000/pulse \ -v /run/user/1000/pulse:/run/user/1000/pulse \
-v /var/lib/dbus:/var/lib/dbus \ -v /var/lib/dbus:/var/lib/dbus \
-v ~/.pulse:/root/.pulse \ -v ~/.pulse:/root/.pulse \