Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When coding with Geany, I often have quite long lines. I want them to wrap automatically, so that I don`t have to scroll horizontally to see what I've written.

share|improve this question

Press Alt+D and then L to toggle line wrapping on or off.

Line wrapping off

Line wrapping off

Line wrapping on

Line wrapping on

share|improve this answer
Is there any way to make geany wrap on the long line marker column, rather than at the edge of the doc? – Benubird Feb 28 at 21:35

Go to Edit > Preferences. In the Preferences dialog, go to Editor > Features and then check the first checkbox (the one corresponding to "Line wrapping") :

enter image description here

share|improve this answer
I activated that. But my lines are anyway about 4 to 5times my screen wide. – Paul Woitaschek Jun 20 '13 at 14:16
This did not work for me, so I closed the file and re-opened it, and then it worked. – Erel Segal-Halevi Nov 13 '14 at 7:58

Open the menu Document and check Line Wrapping which is the top-most entry in the menu.


share|improve this answer
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – v2r Oct 25 '14 at 10:37
@v2r - actually it did; this was the only thing that worked for me, after all the other answers on this page failed to enable word wrapping. So I added a screenshot to this post just to make it clearer. Cheers! – sdaau Sep 15 '15 at 6:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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