Page 1 of 1
Using import root causes me to have to select an area twice.
Posted: 2016-08-25T21:14:52-07:00
by TremorAcePV
TL;DR: I'm running the following command:
. The cursor changes to a cross and I select the area I wish to make an image of. The cursor switches from the cross to the pointer for a moment then back to the cross once I've selected the area. This forces me to select the area a second time. This creates two images (named <filename>-0.png and <filename>-1.png).
System & software information:
4.7.1-1 Arch Linux x86_64
awesome 3.5.9-1 - Tiling Window Manager
imagemagick 6.9.5.5-1 (pulled from the official Arch repos)
X.Org X Server 1.18.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.5.4-1-ARCH x86_64
Current version of pixman: 0.34.0
I'm running the command from rxvt-unicode 9.22-2 terminal emulator.
So essentially, it's having me select the area twice which creates two files. This isn't in a script. I've tried running it from dmenu (fast and lightweight dynamic menu for X) but same issue.
Re: Using import root causes me to have to select an area twice.
Posted: 2016-08-28T22:21:15-07:00
by TremorAcePV
Hmmm, bump?
Is this such a hard issue to fix? I'm not sure what could be causing it. Asking me to select an area to create an image twice is weird.
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-02T04:55:44-07:00
by TremorAcePV
Is this placed in the wrong section or something?
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-02T09:23:32-07:00
by fmw42
Sorry, I cannot help. I do not use import nor am I on Linux. Are you clicking and releasing the first time and then clicking and releasing the second time. Or are you clicking, holding down and dragging to the to second point, then releasing.
I do not see any instructions about mouse actions at
http://www.imagemagick.org/script/import.php
This probably needs to be answered by one of the developers or someone on your version of Linux experienced with import.
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-02T20:19:09-07:00
by TremorAcePV
I am clicking, selecting the area, then releasing. Then it switches back to the crosshair and I have to do it again. Pressing escape doesn't cancel the second image capture.
I don't either. I wonder if it's my windows manager that's doing it. Though I'm not sure why that'd be.
Thank you for the reply.
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-02T20:47:16-07:00
by fmw42
Have you tried holding down the control or option/alt key while using the mouse?
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-08T03:40:43-07:00
by TremorAcePV
fmw42 wrote:Have you tried holding down the control or option/alt key while using the mouse?
Yes, after you mentioned it I tried each and both at the same time. It still has me capture an image twice.
Mind you, I don't need both captures and imagemagick is smart enough to name the first image with -0 at the end and the second with -1, so I get two images regardless and don't have to worry about which is the one I want.
It's just a weird issue and I'd rather it not do it. I'm running the command to capture using import from a script but running it from a terminal doesn't make a difference unfortunately.
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-08T09:02:27-07:00
by fmw42
Have you tried calling import from the terminal directly without using the script?
Unfortunately, I do not know the solution or answer. My Mac X11 is limiting and I cannot test what you are doing. One of the IM developers on Linux might be able to check this out for you.
Re: Using import root causes me to have to select an area twice.
Posted: 2016-09-09T23:09:30-07:00
by TremorAcePV
fmw42 wrote:Have you tried calling import from the terminal directly without using the script?
TremorAcePV wrote:but running it from a terminal doesn't make a difference unfortunately.
Yeah, running it directly from the terminal without the script doesn't change it.
fmw42 wrote:One of the IM developers on Linux might be able to check this out for you.
Cool. Should I message them, make a new thread elsewhere or....?