-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
black image on gnome wayland #67
Comments
this "bug" is shared with other screenshot tools like scrot and import from imagemagick. please follow my (mis)adventures with the screenshot tools in this arch linux forum thread: https://bbs.archlinux.org/viewtopic.php?pid=1662309 |
Maim simply doesn't support wayland. It's due for a re-write, but until I have time for it you'll be better off submitting bug reports to the wayland team since imlib2's X11 calls aren't being translated properly. |
Also wayland is a protocol. The compositors, GNOME in this case implement calls like screenshotting themselves. "supporting wayland" means means independently supporting GNOME, KDE, sway, enlightenment, etc. |
I reported the bug to the wayland developers |
Yeah wayland is unusable for modular deskop usage by design in the name of """"security"""" sadly, now you just need to exploit the compositor. |
On sway it's has trouble too. |
I mean that's actually xdotool not working. X tools probably won't work on Wayland, but I don't think maim will either. Neither xdotool or maim are made with wayland in mind. |
Any update on this? @naelstrof |
Wayland doesn't support 3rd party screenshot apps and currently doesn't plan to. It's too secure and would require Wayland to be re thought a bit. |
I use grim in combination with slurp in order to get screenshots on Wayland (I use sway as my WM). My script that I trigger: #!/bin/bash
SCREENSHOTS_DIR=$(xdg-user-dir PICTURES)/screenshots
[[ ! -d "$SCREENSHOTS_DIR" ]] && mkdir -p "$SCREENSHOTS_DIR"
slurp | grim -g - "$SCREENSHOTS_DIR"/$(date +%F_%T).png |
maim used to work fine on my system. I use arch linux. I updated my system and now have gnome 3.22. gnome 3.22 uses wayland by default. Since that update maim produces black images. the images have the same resolution as my screen. 1280x800.
Please confirm whether this is a problem with wayland or just a problem on my system.
Please tell me what more information do you need.
The text was updated successfully, but these errors were encountered: