News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

enlarge the font of the xterm

Started by killerbot, August 30, 2018, 05:35:48 PM

Previous topic - Next topic

killerbot

anyone an idea how the font size of the text in the console (terminal) window can be enlarged ?

Miguel Gimenez

If you ask about doing it from command line:
xterm -fa 'Monospace' -fs 14
From GUI you need to create a configuration file, see https://askubuntu.com/a/161704

killerbot

the use case is, when I give presentations with CB, i can easily enlarge the font of the editor, but then we then example program runs (console application type of project, launched from within CB), then the font in the terminal is very small, and only the first rows in the audience can read it.

So wondering if it could be configured from within CB (just like the normal editor font)

killerbot

it works when you adjust the "General Settings" :
"terminal to launch console programs:


xterm  -T $TITLE -e


to

xterm  -fa 'Monospace' -fs 14 -T $TITLE -e


Maybe it would be a nice idea to be able to select the font size (or maybe the font" in our settings windows ?

What do people think about this ?

oBFusCATed

Won't work because we support multiple terminals and I'm sure the setting is different in all of them.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

killerbot


oBFusCATed

One possible solution would be to replace the current terminal strings with format like strings where certain patterns are replaced with the correct string.
But this requires testing with most popular terminals and I'm not sure there is a lot of value we'll gain.
I guess if this is requested more in the future we might consider it. ;)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]