Author Topic: enlarge the font of the xterm  (Read 5909 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
enlarge the font of the xterm
« on: August 30, 2018, 05:35:48 pm »
anyone an idea how the font size of the text in the console (terminal) window can be enlarged ?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1557
Re: enlarge the font of the xterm
« Reply #1 on: August 30, 2018, 06:54:54 pm »
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

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: enlarge the font of the xterm
« Reply #2 on: August 30, 2018, 08:00:06 pm »
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)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: enlarge the font of the xterm
« Reply #3 on: August 30, 2018, 08:07:20 pm »
it works when you adjust the "General Settings" :
"terminal to launch console programs:

Code
xterm  -T $TITLE -e

to
Code
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 ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: enlarge the font of the xterm
« Reply #4 on: August 30, 2018, 08:21:10 pm »
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!]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: enlarge the font of the xterm
« Reply #5 on: August 30, 2018, 08:34:00 pm »
I was a bit afraid of that :-(

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: enlarge the font of the xterm
« Reply #6 on: August 30, 2018, 09:35:08 pm »
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!]