XTerm supports changing the font (of the entire current terminal window) by outputting an escape sequence, if allowed by configuration and menu settings: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.
Code:
printf "\033]50;DejaVu Sans Mono:size=14\a"
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