How to Change the System Fixed Width Font Using Terminal

Introduction

Are you tired of the default fixed width font on your system? Do you want to change it to something more visually appealing or easier to read? Well, you’re in luck! In this blog post, we will guide you through the process of changing the system fixed width font using the terminal.

Step 1: Open the Terminal

The first step is to open the terminal on your system. You can do this by searching for ‘terminal’ in the applications menu or by using the shortcut key combination ‘Ctrl + Alt + T’.

Step 2: Locate the Configuration File

Once the terminal is open, you need to locate the configuration file where the system fixed width font settings are stored. This file is usually located at ‘/etc/profile.d/defaults.list’. To open the file, type the following command in the terminal:

sudo nano /etc/profile.d/defaults.list

Step 3: Edit the Configuration File

After opening the configuration file, you will see a list of default settings. Scroll down until you find the line that starts with ‘export FONTSIZE’. This line specifies the font and size for the system fixed width font.

To change the font, simply replace the existing font name with the name of the font you want to use. You can find the available font names on your system by running the command ‘fc-list’ in the terminal. To change the font size, modify the number after the equal sign.

export FONTSIZE=Monospace 12

Step 4: Save and Exit

Once you have made the necessary changes to the configuration file, press ‘Ctrl + O’ to save the file and then ‘Ctrl + X’ to exit the nano text editor.

Step 5: Restart the System

Finally, you need to restart your system for the changes to take effect. You can do this by clicking on the ‘Restart’ option in the system menu or by running the command ‘sudo reboot’ in the terminal.

Conclusion

By following these simple steps, you can easily change the system fixed width font using the terminal. Experiment with different fonts and sizes until you find the perfect combination for your needs. Enjoy the new look and improved readability of your system!

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button