Option to display control characters in gedit

Santhosh Pai picture Santhosh Pai · Jun 18, 2013 · Viewed 48.8k times · Source

I'm a newbie to Linux. Is there a way to see the control characters in gedit. I went to options->preferences and all I got is option to see the line numbers of the text file. Is there any plugin that needs to be installed to see the same? I'm on Ubuntu 12.04 LTS and the gedit version is 3.4.1.

Answer

Rob picture Rob · Jun 18, 2013

There is a gedit-plugins package available for Ubuntu. Install that and take a look at the Draw Spaces section in the gedit preferences. You can configure it to show spaces, tabs, line feeds etc.

You can use this command in a terminal: sudo apt-get install gedit-plugins