选题[tech]: 20210909 How to change Ubuntu Terminal Font and Size [Beginner’s Tip]

sources/tech/20210909 How to change Ubuntu Terminal Font and Size -Beginner-s Tip.md
This commit is contained in:
DarkSun 2021-09-09 05:03:51 +08:00
parent faf2782389
commit 3954a92b74

View File

@ -0,0 +1,109 @@
[#]: subject: "How to change Ubuntu Terminal Font and Size [Beginners Tip]"
[#]: via: "https://itsfoss.com/change-terminal-font-ubuntu/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lujun9972"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
How to change Ubuntu Terminal Font and Size [Beginners Tip]
======
If you are spending a lot of time using the terminal on Ubuntu, you may want to adjust the font and size to get a good experience.
Changing the font is one of the simplest but most visual way of [Linux terminal customization][1]. Let me show you the detailed steps for changing the terminal fonts in Ubuntu along with some tips and suggestions on font selection.
_**Note:**_ _The steps should be the same for most other [Linux terminal emulator][2] but the way you access the option can differ._
### Change Ubuntu Terminal font and size using GUI
**Step 1.** [Launch the terminal on your Ubuntu][3] system by using Ctrl+Alt+T keys.
**Step 2.** Head to the “**Preferences**” option that you can find when you click on the menu.
![][4]
You can also perform a right-click anywhere on the terminal to access the option as shown below.
![][5]
**Step 3.** Now, you should be able to access the settings for the terminal. By default, there will be an unnamed profile. This is the default profile. **I suggest creating a new profile** so that your changes do not impact the default settings.
![][6]
**Step 4**. To change the font, you need to enable the “**Custom font**” option and then click on “**Monospace Regular**”
![][7]
It will show a list of fonts available for selection.
![][8]
Here, you get a quick preview of the font at the bottom of the font listing and also the ability to tweak the font size of your Ubuntu terminal.
By default, it uses a size of **12** for the font and **Ubuntu mono** style.
**Step 5**. Finally, you can search for your preferred font style and hit “**Select**” to finalize it after looking at the preview and adjusting the font size.
![][9]
Thats it. You have successfully changed the fonts. See the changes in the image below. Move the slider to see the difference.
![Ubuntu terminal font change][10]
#### Want to Customize the Look of your Linux Terminal?
Check out our detailed article on some terminal customization tips and tricks.
[Linux Terminal Tweaks][1]
### Tips on getting new fonts for Ubuntu terminal
You can download fonts from the internet in TTF file format and [easily install these new fonts in Ubuntu][11] by double-clicking the TTF file.
![][12]
You should open a new terminal window to load the newly installed fonts.
However, keep in mind that **Ubuntu will not show ALL the newly installed fonts in the terminal**. Why? Because the terminal is designed to use monospaced fonts. Fonts that have letters too close to each other may look weird. Some fonts do not offer proper clarity between the alphabet O and the number 0. Similarly, you may face issues in differentiating the lowercase l and i.
This is why youll see the available fonts in the terminal are often have mono in their name.
Overall, there can be plenty of readability issues that could create more confusion. Hence, it is best to select a font that does not make the terminal hard to read.
You should also check if a font looks good/weird when you increase/decrease the size of the font to ensure that you do not have a problem when customizing the look of your terminal.
### Font suggestions for terminal customization
Free mono and Noto mono are some of the good fonts available from the default list of font selections to apply on your terminal.
You can try [installing new fonts in Linux][11] like **JetBrains Mono**, and **Robo Mono**, Larabiefont, Share Tech Mono and more from Google Fonts and other sources.
_What font style/size do you prefer to use with the Ubuntu terminal? Let us know in the comments below!_
--------------------------------------------------------------------------------
via: https://itsfoss.com/change-terminal-font-ubuntu/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/customize-linux-terminal/
[2]: https://itsfoss.com/linux-terminal-emulators/
[3]: https://itsfoss.com/open-terminal-ubuntu/
[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2021/09/terminal-preference.png?resize=800%2C428&ssl=1
[5]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2021/09/terminal-right-click-menu.png?resize=800%2C341&ssl=1
[6]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/09/ubuntu-terminal-preference-option.png?resize=800%2C303&ssl=1
[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2021/09/enable-font-change-ubuntu-terminal.png?resize=798%2C310&ssl=1
[8]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/09/monospace-font-default.png?resize=800%2C651&ssl=1
[9]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2021/09/ubuntu-custom-font-selection.png?resize=800%2C441&ssl=1
[10]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2021/09/ubuntu-terminal-font-2.png?resize=723%2C353&ssl=1
[11]: https://itsfoss.com/install-fonts-ubuntu/
[12]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/12/install-new-fonts-ubuntu.png?resize=800%2C463&ssl=1