Sent from ProtonMail, encrypted email based in Switzerland.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, October 30, 2020 3:03 PM, Matthew Miller <mattdm(a)fedoraproject.org>
wrote:
On Fri, Oct 30, 2020 at 07:49:51PM +0000, None via users wrote:
> I installed imagemagick to be able to use import and display commands. I used to be
able to run
> $ import picture.jpg
> or
> $ import picture.png
> and capture an area of the screen or window. Now if I try to run that command
nothing happens or freezes the computer and i have to reboot. How can I capture part of a
window?
> import command does not appear to work like it used to.
> IS there an other command that can do the job?
> Running default Gnome btw on
This will only work in X, not in Wayland. This is by design -- random other
windows can't steal images of your screen. If you want it, when you log in,
pick the X session rather than the default one from the little gear on the
login screen.
You can, however, take screenshots in Wayland -- it just needs to be done by
programs which work through Wayland to do it. There is an included
screenshot utility which might work for you, if you don't need to control it
from the command line.
Thank you for your reply. I can take a screenshot with [Print Screen] Key. But how can I
select an area? and create an image? in Wayland. Otherwise I have to logout and use Xorg
then to be able to use import command.
Best Regards,
Antonio