Page 1 of 1

import error on gnome wayland

Posted: 2016-10-28T14:15:13-07:00
by Lesmana
I use this command to take a screenshot:

Code: Select all

$ import -window root foo.png
It used to work fine until i updated my arch linux installation to gnome 3.22. gnome 3.22 uses wayland by default.

Since gnome 3.22 the command produces following error message:

Code: Select all

$ import -window root foo.png
import: unable to read X window image `root': Resource temporarily unavailable @ error/xwindow.c/XImportImage/4983.
import: missing an image filename `foo.png' @ error/import.c/ImportImageCommand/1287.
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.

Re: import error on gnome wayland

Posted: 2016-10-28T14:36:00-07:00
by fmw42
How about your IM version and platform?

Re: import error on gnome wayland

Posted: 2016-10-28T14:56:28-07:00
by Lesmana

Code: Select all

$ import --version
Version: ImageMagick 6.9.6-2 Q16 x86_64 2016-10-13 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP 
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps rsvg tiff webp wmf x xml zlib

Code: Select all

$ uname -a
Linux lestop 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux

Code: Select all

$ gnome-shell --version
GNOME Shell 3.22.1

Re: import error on gnome wayland

Posted: 2016-11-04T09:28:29-07:00
by Lesmana
this "bug" is shared with other screenshot tools like scrot and maim.

please follow my (mis)adventures with the screenshot tools in this arch linux forum thread: https://bbs.archlinux.org/viewtopic.php?pid=1662309