Add gimp docker alias (debian gimp is broken again)

This commit is contained in:
Simon Bruder 2019-09-10 12:15:48 +00:00
parent 272c42d6e2
commit 895b77ac22
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -4,6 +4,22 @@ function speedtest() {
docker run --rm tianon/speedtest docker run --rm tianon/speedtest
} }
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939876
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939768
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939754
function docker-gimp() {
docker run --rm -it \
-e DISPLAY \
-e HOME=/home/gimp \
-u $(id -u) \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v $PWD:/home/gimp/data/ \
-v /tmp/:/home/gimp/tmp/ \
-v ~/.local/share/gegl-0.4:/home/gimp/.local/share/gegl-0.4 \
-v ~/.config/GIMP/:/home/gimp/.config/GIMP/ \
jess/gimp $@
}
function vobsub2srt() { function vobsub2srt() {
docker run \ docker run \
--rm \ --rm \