Facebook Twitter Instagram Pinterest YouTube
    Trending
    • Pi Pico W Launched
    • Add Kodi to RetroPie Menu
    • Disable Auto-login in Raspberry Pi OS
    • Raspberry Pi Cloud Storage with MEGA
    • RetroPie Temperature Monitor from Menu
    • Pi Pico Pinout and Power Pins
    • Install Arduino IDE on Raspberry Pi
    • Raspberry Pi 400 SSD Upgrade
    Facebook Twitter Instagram Pinterest YouTube RSS
    Raspberry Pi SpyRaspberry Pi Spy
    • Home
    • Categories
      • General
      • Hardware
      • Programming
      • Python
      • Software
      • Tutorials & Help
    • BerryClip
      • BerryClip Instructions
      • BerryClip Plus Instructions
      • Videos & Reviews
    • Buy
      • Buy Pi
      • Buy Pi Accessories
      • Buy Books
    • Tools
      • Ultimate Raspberry Pi Alexa Skill
      • Pi Power Estimator App
      • Pi-Lite 14×9 LED Matrix Sprite Editor
      • RPiREF Pin-out Reference App
      • Simple Ohm’s Law Calculator
      • Web Sites & Links
    • Tutorials & Help
        Featured
        November 9, 20200

        Raspberry Pi Temperature Monitoring

        Recent
        May 6, 2022

        Add Kodi to RetroPie Menu

        February 26, 2022

        Disable Auto-login in Raspberry Pi OS

        February 2, 2022

        Raspberry Pi Cloud Storage with MEGA

      1. Contact Us
      2. Site Map
      Raspberry Pi SpyRaspberry Pi Spy
      You are at:Home»Software»Raspbian»How To Change The Command Line Font Size
      Changing Raspbian Font Size

      How To Change The Command Line Font Size

      12
      By Matt on April 6, 2014 Raspbian, Tutorials & Help

      If you are using your Raspberry Pi with a smaller screen you may want to change the font used on the command line to make it easier to read. I usually do this when I am using various portable LCD screens (eg the HDMIPi).

      It only changes the font within the console if you are using a screen connected directly to the Pi. It won’t affect Putty/SSH sessions.

      Changing the font size on the console is easy to do and there are two methods you can choose.

      Method 1

      This method uses a system utility called “dpkg-reconfigure”. Run it using the command shown below :

      sudo dpkg-reconfigure console-setup

      This will launch a “Package Configuration” screen :

      Changing Raspbian Font Size

      Using the up/down arrow keys select “UTF-8”. Using the right arrow key select “OK” and press ENTER.

      Changing Raspbian Font Size

      Using the up/down arrow keys select “Guess optimal character set”. Using the right arrow key select “OK” and press ENTER.

      Changing Raspbian Font Size

      Using the up/down arrow keys select “Terminus”. Using the right arrow key select “OK” and press ENTER.

      Changing Raspbian Font Size

      Using the up/down arrow keys select “16×32”. Using the right arrow key select “OK” and press ENTER. There will be short delay before you are returned to the command prompt with the new font size. 16×32 is a font size that will be twice the size of the default.

      See below for a video showing this method.

      Method 2

      This method involves editing a system file called “console-setup”. You just need to load it into your preferred text editor and tweak a few lines :

      sudo nano /etc/default/console-setup

      You will see the default settings :

      Changing Raspbian Font Size

      Using the arrow keys position the cursor and change the FONTFACE and FONTSIZE lines to :

      FONTFACE="Terminus"
      FONTSIZE="16x32"

      Your file should look something like this :

      Changing Raspbian Font Size

      Press CTRL-X, then Y then ENTER to save the changes.

      To apply these new settings to your command prompt without rebooting you can run the following command :

      sudo /etc/init.d/console-setup restart

      See below for a video showing this method.

      Video

      Here is a video showing both methods. I created it using Putty on my Windows PC so it may look slightly different to your setup but the process is the same.

      Which method you use is up to you. I tend to use Method 1 the first time I change the defaults and then Method 2 if I need to make a quick change at a later date. Method 1 is actually possible even if the current font size is unreadable as you can follow the screenshots above and do most of it with guess work!

      Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
      Previous ArticleBerryClip Assembly Articles, Videos and Reviews
      Next Article Lumsing 11000mAh Li-on Battery Power Bank Test

      Related Posts

      Add Kodi to RetroPie Menu

      Disable Auto-login in Raspberry Pi OS

      Raspberry Pi Cloud Storage with MEGA

      12 Comments

      1. C Johnson on April 11, 2014 6:51 am

        Before and after shots of the screen would be a useful addition to the article.

        Reply
        • Matt on April 12, 2014 11:11 am

          Very true. I was struggling to get decent photos. It’s on my list of things to sort out.

          Reply
      2. Eric Johnson on April 17, 2014 4:50 pm

        Excellent article. Do you know of any way to install additional, larger fonts? I would like to use something larger than 16×32. Assistance would be much appreciated.

        Reply
      3. Laurie Jones on June 28, 2014 12:58 pm

        I’m new to the Raspberry Pi and attempting to increase the font size to make it readable to 83 year-old eyes.
        I’ve tried method 1 and get: “dkpg-reconfiguer command not found”
        I get further with method 2,; have now got “Terminus” and “16×32” in the file on screen, Then ctrl/X followed by y and return tells me “We are not in the console, not reconfigured, then “done.” and back to the command prompt.
        what did I do wrong?

        Reply
        • Matt on June 28, 2014 4:34 pm

          For method 1 make sure you are spelling “dkpg-reconfigure” correctly. That’s the most likely cause of the “not found” error.
          For method 2 are you using the command prompt when the Pi boots or are you in the graphical desktop? Use the standard command prompt without running “startx” first.

          Reply
      4. Mahesh Jadhav on July 12, 2014 10:18 am

        Very Very relevant and useful to me . Thanks a lot! (always was facing problem with small fonts on start up)

        Reply
      5. Jan on August 15, 2014 2:03 pm

        Hey!
        Do you know a way how to use a 5×10 or 4×8 font? Wold need ist for my pitft…

        Greets,
        Jan

        Reply
        • Busby on December 30, 2015 3:06 pm

          You could try to change the FONTSIZE value in /etc/default/console-setup to one of those values, “5×10” or “4×8”. I don’t know for sure whether it would work (whether the console can auto-scale the font, or whether it requires specific font-sizes to be installed for the given font).

          Reply
      6. Brian on June 24, 2015 3:06 am

        Thank you so much. i used method one and had no trouble.

        Reply
        • Andrew on February 18, 2016 1:21 pm

          And after reboot?…

          Reply
      7. a on May 23, 2020 11:06 am

        in my version
        sudo /etc/init.d/console-setup.sh restart

        Reply
      8. Jordan Blue on May 21, 2021 2:44 am

        This is a winner! Thank you so much for the post

        Reply

      Leave A Reply Cancel Reply

      This site uses Akismet to reduce spam. Learn how your comment data is processed.

      Recent Posts
      June 30, 2022

      Pi Pico W Launched

      May 6, 2022

      Add Kodi to RetroPie Menu

      February 26, 2022

      Disable Auto-login in Raspberry Pi OS

      February 2, 2022

      Raspberry Pi Cloud Storage with MEGA

      January 7, 2022

      RetroPie Temperature Monitor from Menu

      Categories
      • 1-wire
      • 3D Printing
      • Add-ons
      • BBC Micro:bit
      • BerryClip
      • Books
      • Camera Module
      • Cases
      • Events
      • General
      • Hardware
      • I2C
      • Infographics
      • Interfaces
      • Minecraft
      • Model A+
      • Model B+
      • News
      • Pi Models
      • Pi Pico
      • Pi Zero
      • Power
      • Programming
      • Python
      • Raspberry Pi OS
      • Raspbian
      • RetroGaming
      • Robotics
      • Sensors
      • Software
      • SPI
      • Tutorials & Help
      Tags
      3D Printing Arduino audio battery berryclip Birthday bluetooth cambridge camera CamJam DigiMakers display games GPIO I2C interface Kickstarter LCD LED Linux media Minecraft Model A Model B motionEyeOS PCB photography photos Pi-Lite portable power python Raspberry Jam Raspberry Pi Bootcamp raspbian Retrogaming retroPie screen SD card security sensor SPI temperature ultrasonic video
      Raspberry PI Related
      • Adafruit Blog
      • Average Maker
      • Official RaspBerry Pi Site
      • Raspberry Pi Pod
      • RasPi.tv
      • RaspTut
      • Stuff About Code
      Tech Resources
      • MattsBits – Pi Resources
      • Microbit Spy
      • Technology Spy
      Archives
      About

      Unofficial site devoted to the Raspberry Pi credit card sized computer offering tutorials, guides, resources,scripts and downloads. We hope to help everyone get the most out of their Pi by providing clear, simple articles on configuring, programming and operating it.

      Popular Posts
      September 19, 2014

      Top 5 Reasons The Raspberry Pi Sucks

      July 27, 2012

      16×2 LCD Module Control Using Python

      October 20, 2013

      Analogue Sensors On The Raspberry Pi Using An MCP3008

      Recent Posts
      June 30, 2022

      Pi Pico W Launched

      May 6, 2022

      Add Kodi to RetroPie Menu

      February 26, 2022

      Disable Auto-login in Raspberry Pi OS

      Facebook Twitter Instagram Pinterest YouTube RSS

      Entries RSS | Comments RSS

      This site is not associated with the official Raspberrypi.org site or the Raspberry Pi Foundation. Raspberry Pi is a trademark of the Raspberry Pi Foundation.

      Copyright © 2022 - All Rights Reserved - Matt Hawkins

      Type above and press Enter to search. Press Esc to cancel.