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,6 +122,20 @@ latex() {
fschl/latex "$@" fschl/latex "$@"
} }
libreoffice(){
del_stopped libreoffice
docker run -d \
-v /etc/localtime:/etc/localtime:ro \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
-v $HOME/Documents:/root/Documents \
-e GDK_SCALE \
-e GDK_DPI_SCALE \
--name libreoffice \
fschl/libreoffice
}
pulseaudio() { pulseaudio() {
del_stopped pulseaudio del_stopped pulseaudio
@ -115,17 +144,29 @@ pulseaudio() {
--device /dev/snd \ --device /dev/snd \
-p 4713:4713 \ -p 4713:4713 \
--restart always \ --restart always \
-v /var/run/dbus:/var/run/dbus \
-v /etc/machine-id:/etc/machine-id \
--name pulseaudio \ --name pulseaudio \
fschl/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() { skype() {
del_stopped skype del_stopped skype
docker run -d \ docker run -d \
-v /home/kani/Downloads:/root/skype/Downloads \ -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 \