5

I'm using Lubuntu 11.10, and I use my console a lot. Today I discovered that its font was changed; specifically, this screen is from yesterday:

yesterday

and this is from today:

today

First of all, any idea of how I changed it? I'm pretty sure I did nothing to justify this, but I'm also certain that if something happened there's always a reason, so...

Besides, how do I restore the previous font? The main issue is that I'm not sure what it was.

  • My guess is that you hit a key combination that told the terminal to increase the font size. – Kyle Jones Aug 31 '12 at 17:53
  • As far as I can see there is no way to change the font size with a key combination; actually, as far as I can see the only way to change the font is by modifying something on grub, so, well, I'm kinda confident I didn't do anything like that. – gcali Aug 31 '12 at 18:41
  • What files in /etc have been modified since the last reboot? Did you reboot since yesterday? What did you do before to set the console font: are you using a font on the graphic card, or the framebuffer? – Gilles 'SO- stop being evil' Aug 31 '12 at 23:32
5

I'm wondering why you chose a bunch of dots and arrows to demonstrate a font instead of... you know... letters.

Anyway the command for changing font on the VTs is setfont or consolechars. Running setfont with no args or consolechars -d loads a "default" font. Others that you can load are found in /usr/share/consolefonts.

In Debian there's a file /etc/default/console-setup which the boot scripts use to decide what to do with the console font.

  • 1
    Of course, matching an old screenshot made for a different purpose makes sense – Alan Curry Sep 2 '12 at 0:45
2

You can use the reset command in bash to reset everything in your shell, such as color and so on.

  • 1
    Oh ,So you didn't changed font already , and you want to change now ... ok? or default font deleted. – PersianGulf Sep 2 '12 at 11:50
  • What command works in dash? – neverMind9 Dec 10 '18 at 2:31
  • 1
    @neverMind9 reset command works in dash. – PersianGulf Dec 10 '18 at 14:10
  • Surprisingly, it does not work in jackpal.androidterm. Android Terminal uses Bash. Is there any alternative that works in Android Terminal? – neverMind9 Dec 10 '18 at 14:30
  • 1
    I remember android used mksh @neverMind9 – PersianGulf Dec 11 '18 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.