Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuellr/docker-flameshot
Flameshot (Dockerized) - Powerful yet simple to use screenshot software for GNU/Linux
https://github.com/manuellr/docker-flameshot
docker docker-image flameshoot gnu-linux gplv3
Last synced: 1 day ago
JSON representation
Flameshot (Dockerized) - Powerful yet simple to use screenshot software for GNU/Linux
- Host: GitHub
- URL: https://github.com/manuellr/docker-flameshot
- Owner: ManuelLR
- License: gpl-3.0
- Created: 2017-11-09T19:39:31.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2022-07-04T05:05:10.000Z (over 2 years ago)
- Last Synced: 2023-02-28T09:45:46.015Z (almost 2 years ago)
- Topics: docker, docker-image, flameshoot, gnu-linux, gplv3
- Language: Dockerfile
- Homepage: https://github.com/flameshot-org/flameshot
- Size: 27.3 KB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-Flameshot
[![](https://img.shields.io/docker/pulls/manuellr/flameshot.svg)](https://hub.docker.com/r/manuellr/flameshot 'DockerHub')
Dockerized - [Flameshot](https://github.com/lupoDharkael/flameshot)
# Running
Based on https://gist.github.com/slok/acb235ae30129307fd53```bash
KEY=$(xauth list | grep $(hostname) | awk '{ print $3 }' | head -n 1)
DCK_HOST=docker-flameshot
xauth add $DCK_HOST/unix:0 . $KEYdocker run -it --rm \
-e DISPLAY=unix$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.Xauthority:/root/.Xauthority \
-e XAUTHORITY=/root/.Xauthority \
-h $DCK_HOST \
manuellr/flameshot
```### Others arguments could be added
- `--env="QT_X11_NO_MITSHM=1"`
- `--privileged`: Fix LibGL errors
- `--net=host`## 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
```