Text Editing
Prev
Next

Text Editing

All of the configurations and settings in Linux are saved in text files. Even though you most often can edit configurations through the graphical interface, you may occasionally have to edit them by hand. Kate is the default Kubuntu text editor, which can be launched by clicking K-menu->Utilities->Kate (Advanced Text Editor) from the desktop menu system.

At times in this guide, Kate is run from the command line using kdesu, as most configuration files require root privileges to alter them. It is recommended that you also run kdesu from the command line when shown in this guide.

If you need to use a text editor from the command line, you can use nano, which is a simple to use text editor. When running it from the command line, always use the following command, which ensures that the editor will not introduce line breaks:

nano -w

For more information about how to use nano, refer to the guide on the wiki.

There are also quite a few other terminal-based editors available in Kubuntu, popular ones include VIM and Emacs (the pros and cons of each are cause for much friendly debate within the Linux community). These are often more complex to use than nano, but are also more powerful.

Prev
Next
Home