2

I manually edit lot of images in GIMP: scrolling to corners, sometimes making small changes, but always "circling" more than few times. (Top-left, top-right, bottom-right, bottom-left... top-left, top-right, bottom-right, bottom-left... and again... and again, etc.)

Because I'm spending more time navigating than making changes, I'd like to be able to quick-jump to corner. ("Jump to top-left", "Jump to top-right", "Jump to bottom-right" and "Jump to bottom-left".)

More precisely, to move the corner of the "viewport" to the corner of the document:

Jump to corner

1 - I did try Navigation dock (and "Navigate the image display" button and preview window), but for me a) it isn't very "quick" and precise jump, and b) if I navigate to the corner, then it puts the corner of the document in center:

Navigation dock

I think that is "canvas padding", but I don't know how to disable it:

GIMP canvas padding settings

2 - I tried to find/create "jump to corner" scm script, but (if my understanding is correct) GIMP script can't control GIMP user interface.

3 - I also made few tests with xdotool and xbindkeys (Debian bullseye/sid, BTW.), but nothing happens in GIMP:

# this scrolls up/down in xterm when I press control+shift+alt+ h/l

# wheel up
"xdotool click 4" 
  control+shift+alt + h

# wheel down
"xdotool click 5" 
  control+shift+alt + l

Thanks for any suggestion you may have.

0

2 Answers 2

2

Here's a method that doesn't involve any coding.

  1. Open the image and do View > New View three times, to open the same image file in 4 tabs.

  2. Zoom and navigate to the location you want in each tab.

  3. Click on the tabs along the top to work on the part of the image you want.

  4. You can also use Ctrl+Alt+PgUp or PgDn to cycle through the open tabs.

enter image description here

1
  • This is what I call creative thinking. I'll definitely keep this method in mind. Thanks!
    – galeksic
    Nov 9, 2020 at 7:23
1

As far as I can tell, Ctrl-cursor scrolls to the end of the scrolling range, so, for instance:

  • Ctrl-(CursUp,CursLeft) puts you in the top left corner
  • Ctrl-(CursUp,CursRight,CursDown,CurlLeft,CursUp) cycles you through the 4 corners in clockwise order.
1
  • Thank you! This is exactly what I want.
    – galeksic
    Nov 9, 2020 at 7:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.