Thursday, March 27, 2014

How to change font size of terminal emulators on the fly

There is no shortage of Linux X Window terminal emulators. For a power user who works long hours with the terminal, it is important to know how to zoom in, that is, make the text larger. Your strained eyes will thank you for it.

The table below summarizes how to increase and decrease the font size on the fly for an non-exhaustive list of terminal emulators.

Terminal emulators + font size - font size
xterm Shift + Keypad Plus(+) Shift + Keypad Minus(-)
GNOME terminal Control + Shift + Plus(+)
Do not use keypad.
Control + Minus(-) Do not use keypad.
Terminator Control + Shift + Plus(+)
Do not use keypad.
Control + Minus(-) Do not use keypad.
Konsole Control + Mouse Wheel Scroll Up, or
Control + Plus(+)
Control + Mouse Wheel Scroll Down, or
Control + Minus(-)
lilyterm Control + Plus(+)
Do not press Shift, or use keypad.
Control + Minus(-)
Do not use keypad.
xfce4-terminal Right Click/Preferences/Appearance. No keyboard or mouse shortcut.
lxterminal Edit/Preferences/Style. No keyboard or mouse shortcut.
mlterm Control + Right click to bring up settings. Encoding tab/Font Size. No keyboard or mouse shortcut.
kterm Control + Right click to bring up font size menu.
rxvt-unicode (urxvt) Doable but archaic. Issue printf command inside terminal window.
Eg: printf '\33]50;%s\007' "xft:DejaVu Sans Mono-8"

My next post aims to further reduce your eye strain by increasing the font size of virtual terminals.

9 comments:

Anonymous said...

Thanks for a well organized presentation! Very Very helpful.

Anonymous said...

Thanks for good info. Its really helped... :)

egy said...

I am grateful to you and so are my eyes :)

Anonymous said...

Great post thanks! These changes are temporary. Any possibility of including information to make the changes permanent?

Unknown said...

You are my hero!
Thanks!

Anonymous said...

thanx alot man!!

Jesus Briales said...

Very useful!
It seems in xfce4-terminal Ctrl+Shift+'+' and Ctrl+'-' also work as keyboard shortcuts now. Maybe worth trying and updating the table?

me said...

My eyes feel much better. Thanks for the great help.

nick said...

thanks, been looking for my ubuntu on windows system to get the font bigger and the ctrl + scroll in has done it. makes it much beter on my eyes. from 6 font to 16 font. eyesaver you are!