File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM bitnami/minideb:stretch
4
4
LABEL maintainer=
"@ManuelLR <[email protected] >"
5
5
6
6
ENV GIT_URL https://github.com/lupoDharkael/flameshot.git
7
- ENV GIT_BRANCH v0.5.0
7
+ ENV GIT_BRANCH v0.5.1
8
8
9
9
ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5-default qttools5-dev-tools
10
10
ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Dockerized - [Flameshot](https://github.com/lupoDharkael/flameshot)
5
5
Based on https://gist.github.com/slok/acb235ae30129307fd53
6
6
7
7
``` bash
8
- KEY=$( xauth list | grep $( hostname) | awk ' { print $3 }' | head -n 1)
8
+ KEY=$( xauth list | grep $( hostname) | awk ' { print $3 }' | head -n 1)
9
9
DCK_HOST=docker-flameshot
10
10
xauth add $DCK_HOST /unix:0 . $KEY
11
11
@@ -24,3 +24,12 @@ docker run -it --rm \
24
24
- ` --env="QT_X11_NO_MITSHM=1" `
25
25
- ` --privileged ` : Fix LibGL errors
26
26
27
+ ## Troubleshooting
28
+ ### Could not connect to display
29
+ Maybe the container haven't access to the GUI because it run with root permission.
30
+
31
+ Try this command:
32
+ ``` bash
33
+ xhost local:root
34
+ ```
35
+
You can’t perform that action at this time.
0 commit comments