Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4965

General discussion • Re: Changing font size from a terminal

$
0
0
XTerm supports changing the font (of the entire current terminal window) by outputting an escape sequence, if allowed by configuration and menu settings:

Code:

printf "\033]50;DejaVu Sans Mono:size=14\a"
LXTerminal does not appear to support this.

Really if you want to change fonts on the fly you need to write a graphical application, and not just run as text in a terminal emulator.

If you just want to start different terminals at different font sizes, XTerm supports this via the -fa or -fs options, and again LXTerminal does not. You could do a nasty hack with editing the config file just before you start each instance.

Statistics: Posted by jojopi — Wed Aug 28, 2024 5:49 pm



Viewing all articles
Browse latest Browse all 4965

Trending Articles