How do I restore my console default font, and why has it changed?

5,653

Solution 1

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.

Solution 2

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

Share:
5,653

Related videos on Youtube

gcali
Author by

gcali

Oh, freddled gruntbuggly, thy micturations are to me as plurdled gabbleblotchits on a lurgid bee. Groop, I implore thee, my foonting turlingdromes, and hooptiously drangle me with crinkly bindlewurdles, or I will rend thee in the gobberwarts with my blurglecruncheon, see if I don't!"

Updated on September 18, 2022

Comments

  • gcali
    gcali over 1 year

    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.

    • Kyle Jones
      Kyle Jones over 11 years
      My guess is that you hit a key combination that told the terminal to increase the font size.
    • gcali
      gcali over 11 years
      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.
    • Gilles 'SO- stop being evil'
      Gilles 'SO- stop being evil' over 11 years
      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?
  • Alan Curry
    Alan Curry over 11 years
    Of course, matching an old screenshot made for a different purpose makes sense
  • PersianGulf
    PersianGulf over 11 years
    Oh ,So you didn't changed font already , and you want to change now ... ok? or default font deleted.
  • neverMind9
    neverMind9 over 5 years
    What command works in dash?
  • PersianGulf
    PersianGulf over 5 years
    @neverMind9 reset command works in dash.
  • neverMind9
    neverMind9 over 5 years
    Surprisingly, it does not work in jackpal.androidterm. Android Terminal uses Bash. Is there any alternative that works in Android Terminal?
  • PersianGulf
    PersianGulf over 5 years
    I remember android used mksh @neverMind9