Configure Debian Command Prompt

If you like to carry out all your tasks through a terminal like me, you may have noticed how bored it sometimes becomes its black background and white / gray text. Fortunately, there are several ways to bring some life and color to the command line. Some try to change the background to a few spot colors that are comfortable for the eyes, while others change the color and font of the text. In this article, we will discuss two ways to customize your overall terminal experience:

  • Change terminal font
  • Terminal call setup

If the terminal is so boring, why do we use the command line at all?

If you are familiar with the terminal, you do not want to leave the command line and go somewhere else to perform your daily technical activities. There is always a way to accomplish almost all of our tasks directly in the terminal. Using the terminal makes certain tasks more efficient and even faster. Command line tools do not consume too many resources, which is why they are a great alternative to regular graphics applications, especially if you are stuck on outdated hardware.

So, let’s look at how you can customize the Debian command line to suit your visual needs on a Debian 10 system.

Change terminal font

If you are afraid that the default font size may damage your eyesight in the long run, or if the font itself does not like your eyes, there are ways to change this. The terminal interface is more customizable than you think. Setting the font size is just one of many settings that you can configure to work on the command line.

Please follow these steps to configure your terminal text font:

Step 1: Open Terminal

Open the “Terminal” application by accessing it through a search in the application launcher as follows:

Step 2: Access Terminal Settings

Terminal settings allow you to make several settings for your overall terminal experience. This also includes changing the font and font size of the terminal text. There are two ways to access the Preferences view:

1. Open the “Edit” menu and select “Settings” as follows:

Terminal settings

2. Right-click in the terminal window and select “Settings” in the menu as follows:

Use the context menu to access the settings.

Advertisement

The settings view opens in the next view. By default, the settings window opens. Settings allow you to create your own profiles, which you can apply to your terminal according to your needs. However, we will use this default Nameless profile to edit the font settings:

Preference Profile

Step 3: Change Terminal Settings

In the Settings view, try to find the Custom Font option, which is not checked by default. Now that you want to enable a custom font, select this option and then click the “Type and Size Font” button. By default, this button will have the selected font Monospace Regular 12. The next option “Select Terminal Font” will open when you click on this button:

Choose terminal font

This dialog allows you to search for a font, scroll through the list of fonts, and preview the selected font. Select the desired font, and then enter the text size either using the slider or through the input field.

Then click the “Select” button located in the upper right corner of the dialog box to confirm your choice. This will return you to the settings window:

Text Appearance

Click the Close button, and you will see that the newly selected font and font size are included in your terminal:

New font displayed in Debian terminal

With this simple method, you can adjust the size of your text and the font size in the terminal according to what is convenient and pleasant for your eyes.

Terminal call setup

Regardless of whether you are a frequent user of the Terminal or a beginner, you could hear an annoying beep when you do something that is “forbidden”. For example, if you are in your terminal and press the Backspace key when there are no characters to delete, this call will ring. Another case when this call sounds is when you try to complete a command, although there are no completions for it. If you still cannot understand what kind of sound we are talking about, try the following command in your terminal, and you will find out how this terminal call sounds:

$ echo -e ‘ a’

The solution for muffling this annoying sound is through the Terminal itself. All you have to do is use the terminal settings interface to mute this sound. Thus, you can focus more on work, rather than experiencing a disturbing sound that only distracts you.

Please follow these steps to disconnect the terminal call from the terminal itself:

The first thing you will do is access the terminal settings, as described in the section “Changing the terminal font” above.

In the “Settings” window, try to find “Terminal call”In the category“ Sound ”. This option is enabled by default, which means the hardware beep is on.

Terminal call

Clear this check box to disable the terminal ringing. Click on the Close button and check the terminal’s call; it will not beep for any trigger. You can easily verify this by pressing “Backspace” or “Tab” when nothing is entered on the command line.

Now you will no longer be bothered by this “mostly” annoying beep when you try to focus on more important things.

Thus, there were several ways in which you can customize the appearance of your Debian terminal and gain even more control over the command line.

Configure Debian Command Prompt

Sidebar