Konsole in KDE is not displayed correctly

PROBLEM DESCRIPTION


This article explains how you can fix the following issues with Konsole.

  • Incorrect font spacing
  • Terminal gets corrupted after the 'clear' command


Konsole is the default KDE terminal emulator.


REASON


This problem occurs because Konsole has a bug in font settings. 


Since Konsole is a terminal emulator, it uses the fixed-width fonts by default. For some reason, if Konsole cannot retrieve the fixed-width font, it uses proportional font instead which results in incorrect screen display of text. When this happens, the same problem occurs on console as well. 



RESOLUTION


To resolve this issue, select the fixed-width font in Konsole:

  1. Open Konsole.
  2. Click Settings and then Font.
  3. Click on the Select menu.
    RESULT: Select Font dialog box opens.
  4. Select a fix-width font from the list such as monospace


If you want to apply this settings every time you open Konsole, click on the Settings menu and then Save as Default.