Closed SoptikHa2 closed 4 years ago
[x] Bug [ ] Feature Request [ ] Other (Please describe in detail)
When the image is read from /dev/stdin or /proc/self/fd/0, an "out of memory" error is displayed every time.
/dev/stdin
/proc/self/fd/0
The image is read from stdin successfully.
I tried to take an image, resize it, and send it to i3lock:
convert -resize $(xrandr -q | grep -Eo '[0-9]+x[0-9]+' -m 1 | cut -dx -f1) ~/archlinux-dotfiles/lockscreen.png - | i3lock -i /dev/stdin -ue Could not load image "/dev/stdin": out of memory convert -resize $(xrandr -q | grep -Eo '[0-9]+x[0-9]+' -m 1 | cut -dx -f1) ~/archlinux-dotfiles/lockscreen.png - | i3lock -i /proc/self/fd/0 -ue Could not load image "/proc/self/fd/0": out of memory
Writing it to tmp and then reading it works like expected:
convert -resize $(xrandr -q | grep -Eo '[0-9]+x[0-9]+' -m 1 | cut -dx -f1) ~/archlinux-dotfiles/lockscreen.png /tmp/img.png && i3lock -i /tmp/img.png -ue
The image I used is here.
Output of i3lock --version:
i3lock --version
i3lock version: version 2.12
This is a duplicate of https://github.com/i3/i3lock/issues/227
I'm submitting a…
Current Behavior
When the image is read from
/dev/stdin
or/proc/self/fd/0
, an "out of memory" error is displayed every time.Expected Behavior
The image is read from stdin successfully.
Reproduction Instructions
I tried to take an image, resize it, and send it to i3lock:
Writing it to tmp and then reading it works like expected:
The image I used is here.
Environment
Output of
i3lock --version
: