How to move an inserted text box in GIMP

21

1

How do I move a selected text box (not a layer) in GIMP? I selected the box, but when I use the move tool, it moves the image (layer) instead of the box. I tried following the documentation here, but when I hold down ctrl-alt and click, a forbidden sign appears.

a pie chart I'm trying to label

wdkrnls

Posted 2014-11-13T16:05:23.897

Reputation: 924

My mistake was to confuse the 'Alignment' and 'Move' tools – icc97 – 2018-04-01T10:20:29.610

@wdkrnls how about accepting an answer or adding comments if something is still missing? – Michael Schumacher – 2018-09-16T15:55:25.317

Answers

25

Move tool

By default, the move tool in GIMP moves the uppermost layer that has a non-transparent pixel at the click location. Text layers tend to have many transparent pixels, and thus it is easy to grab a layer behind them (that is, lower in the layer stack). The same would happen if you had a few thin lines on an otherwise transparent layer.

What you can do:

  • Make sure that you click on a pixel of the text, or
  • Switch from the Pick a layer mode to Move the active layer mode

The latter is what holding the Shift key accomplishes. You can see this mode in the move tool options:

GIMP Move tool options

You can also change the default there - switch to Move the active layer mode with the mouse and save the tool options. Then holding the Shift key will switch to Pick a layer mode.

Text tool

You can also move the text layer with the text tool.

Hold the Alt key and drag the layer with the text tool. If your window manager or desktop environment uses Alt+Drag for its own purposes, you can use Ctrl+Alt and drag.

You might want to change this in your WM or DE configuration, as Alt is a frequently used modified key in GIMP.

Michael Schumacher

Posted 2014-11-13T16:05:23.897

Reputation: 811

2Ctrl+Alt works for me – Eka – 2018-03-12T05:09:41.090

2

Try again, while holding the shift key.

octosquidopus

Posted 2014-11-13T16:05:23.897

Reputation: 826

THIS is the right answer – manifestor – 2018-09-16T15:14:26.313

1

both responses seem to ignore the part about not moving the layer. the requester asked to move a text box, not the whole layer. i'm guessing because he/she wants to move just the one text box, not every text box on that layer. i want to have many text boxes and i want to be able to move them independently. i am not clear if/how i can do that.

i just tried combining the answers from above. i created a text box on a layer. then i held down shift and clicked on a pixel that had text in it, and dragged it. this had the desired effect - it moved the text selection i clicked on and did not move the whole layer.

thanks for the help!

user657015

Posted 2014-11-13T16:05:23.897

Reputation: 19

There are no "Text boxes on a layer". Each "text box" is its own layer in GIMP, and they are known as and commonly referred to as "text layers". The layer that gets accidentally moved in the original question is the pie chart, and to avoid this, the mode of the move tool is switched to more the currently active text layer instead. – Michael Schumacher – 2018-04-03T14:34:31.843