Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to print the line numbers along with c source-code in the text editor "Gedit". I am tired to look all day at the display.

Thank you for any time or effort.

share|improve this question

2 Answers 2

up vote 10 down vote accepted
  1. Open the Print... menu from the File tab

    screenshoot_1

  2. Select the 3º tab called "Text Editor"

  3. Click the second option "Print line numbers" so this checkbox remains enabled

    screenshoot_2

Now you can choice Print Preview and you will see the line numbers before print it:

result

share|improve this answer

In the edit menu click on preferences and in the in the first tab "View" tick the check box labeled display line numbers

share|improve this answer
1  
I can see the line numbers in gedit but when I print the document there is no line numbers –  Ioannis Papaioannou Apr 2 '13 at 18:35

Your Answer

 
discard

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.