Skip to content

Commit

Permalink
Updated flameshot to v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelLR committed Feb 27, 2018
1 parent 1e3b129 commit 2e12b4f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM bitnami/minideb:stretch
LABEL maintainer="@ManuelLR <manuellr.git@gmail.com>"

ENV GIT_URL https://github.com/lupoDharkael/flameshot.git
ENV GIT_BRANCH v0.5.0
ENV GIT_BRANCH v0.5.1

ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5-default qttools5-dev-tools
ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Dockerized - [Flameshot](https://github.com/lupoDharkael/flameshot)
Based on https://gist.github.com/slok/acb235ae30129307fd53

```bash
KEY=$(xauth list | grep $(hostname) | awk '{ print $3 }' | head -n 1)
KEY=$(xauth list | grep $(hostname) | awk '{ print $3 }' | head -n 1)
DCK_HOST=docker-flameshot
xauth add $DCK_HOST/unix:0 . $KEY

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

## Troubleshooting
### Could not connect to display
Maybe the container haven't access to the GUI because it run with root permission.

Try this command:
```bash
xhost local:root
```

0 comments on commit 2e12b4f

Please # to comment.