Skip to content

Commit 2e12b4f

Browse files
committed
Updated flameshot to v0.5.1
1 parent 1e3b129 commit 2e12b4f

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM bitnami/minideb:stretch
44
LABEL maintainer="@ManuelLR <[email protected]>"
55

66
ENV GIT_URL https://github.com/lupoDharkael/flameshot.git
7-
ENV GIT_BRANCH v0.5.0
7+
ENV GIT_BRANCH v0.5.1
88

99
ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5-default qttools5-dev-tools
1010
ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Dockerized - [Flameshot](https://github.com/lupoDharkael/flameshot)
55
Based on https://gist.github.com/slok/acb235ae30129307fd53
66

77
```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)
99
DCK_HOST=docker-flameshot
1010
xauth add $DCK_HOST/unix:0 . $KEY
1111

@@ -24,3 +24,12 @@ docker run -it --rm \
2424
- `--env="QT_X11_NO_MITSHM=1"`
2525
- `--privileged`: Fix LibGL errors
2626

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+

0 commit comments

Comments
 (0)