-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Wayland Support #220
Comments
I can't say I've ever tested it, but I would be interested to hear if you try it. |
Nope I don't think it does. I get the following error:
Are there any plans to support it? |
Ah, that's a shame. A pull request would be very welcome, but I won't be working on it myself, at least not for the foreseeable future. |
I suppose that for wayland this line needs to change? some more info here https://imagemagick.org/discourse-server/viewtopic.php?t=30759 it looks like imagemagick is catching up with wayland, but surely there must be a way. To detect wayland then how does one screenshot here is a bash script that supposedly does it for you theres some cmd line tools too |
You could use this tool which does support wayland. Perhaps copy their solution and refactor it heres one that works for gnome orr scrap these scripts and add ksnip as a dependency. From there on you could do
|
ksnip is actually an interesting idea because it also is able to return the image as "buffer" like imagemagick. it also works on gnome wayland but it uses the screenshot portal which again makes it difficult to use from a terminal because it triggers a new window to pop up... gnome-screenshot could also be an option but it flashes the screen everytime it takes a screenshot and i didn't find a way to return the image as buffer |
关注解决 |
Could I make a donation to get this issue resolve? |
after a long time playing around (again) i figured out that spectacle can take quiet screenshots of the whole desktop now: spectacle imagemagick can now import a window without interaction as long as you provide the id or the name: flameshot can also capture the whole screen and with the -r switch deliver the raw image information (this is most likely the option we need) in any case this would be an additional dependency BUT you could switch entirely to flameshot instead of imagemagic |
Super! Could certainly add some form of checking for availability if a library hasn't been strictly specified. I'm not able to work on this anytime soon but PR welcome :) |
have a look at this.. very basic but works for me |
No description provided.
The text was updated successfully, but these errors were encountered: