Change KDE Konsole Line Spacing

linux

If you don't want or cant use the gui, you can manually edit the Konsole profile.
Edit the file ~/.local/share/konsole/<profile_name>.profile and add the following line to the Appearance section:

LineSpacing[$i]=3

The last value is the number of pixels you want to add to the line spacing. For example, if you want to add 2 pixels to the line spacing, you would add the following line to the Appearance section:

[Appearance]
ColorScheme=InspiredGithub
Font=Liberation Mono,10,-1,5,50,0,0,0,0,0
LineSpacing[$i]=2

This allowed me to adjust the line spacing for vim in the terminal.

From:

https://unix.stackexchange.com/questions/1111/how-to-change-the-line-spacing-in-konsole

https://invent.kde.org/utilities/konsole/-/commit/57994c1d5ddd917ac037b7107253775a256eebfb