Post

Development Environments [2]: Ubuntu 20.04 Settings on RTX 4080 -4 -

D2Coding Font


0D2CodingFont

D2 Coding font was created for developers and coding based on Nanum Barun Gothic. It is a font optimized for readability, differentiation between similar characters, and harmony with Korean in terms of design. D2 Coding font has enhanced differentiation and readability for not only similar English letters and numbers, but also Korean and special characters when coding. It is also designed to maintain the spacing between letters and lines in any development environment as it is a fixed-width font.

1) Download D2Coding Font

  1. Download D2Coding font zip file to current directory.
1
wget <https://github.com/naver/d2codingfont/releases/download/VER1.3.2/D2Coding-Ver1.3.2-20180524.zip>
  1. Unzip the downloaded file to /usr/share/fonts/d2coding.
1
sudo unzip -d /usr/share/fonts/d2coding D2Coding-Ver1.3.2-20180524.zip
  1. 내려받은 zip 파일을 삭제해준다.
1
rm D2Coding-Ver1.3.2-20180524.zip

2) Install FontConfig

1
2
3
sudo apt install fontconfig
sudo fc-cache -f -v
fc-list | grep -i d2c

3) Set On the Terminal

  1. First, let’s go to Preferences from the button.

1Let’s go to Preferences!

  1. Then go to Profiles > Choose A Terminal Font

2Setting up to D2Coing Bold

  1. You can check the changed font right away!

3D2 Coding Font Installed!

Terminator


4Terminator

What is Terminator?

It is a terminal emulator like xterm, gnome-terminal, konsole, etc. It also is an open source terminal emulator written in Java. Terminator can be used on Windows, MacOS, Linux, and other Unix systems.

I usually use iTerm2 on my MacBook, but for the server desktop I installed Terminator since the Ubuntu default terminal, which is good, but has no the spliting window and other functions.

1) Install the Terminator

Type the commands below one by one in order to install the Terminator.

1
2
sudo apt update
sudo apt install terminator

5This is what it looks like for the installation!👩‍💻

2) Set the Terminator

You can find the Terminator through search.

6Search for Terminator!

This is what it looks like when you open the terminator!

7This is how it looks!

3) Set the Font Globally

  1. Check out: Right click > Preferences > Keybindings
  2. Uncheck ‘Use the system font’ and click box on the right side of ‘Font:’.

8Clike the Sans Regular 9 button.

  1. Set the font to D2Coding Bold

9Let’s set the font to D2Coing Bold!

4) Set the Font from the Profile

  • Check out: Right click > Preferences > Profiles > Font:
  • Then set it to the D2Coding Bold.
  • This will set the font as a default since you use the default profile.

10

5) Set the config file

We also can change configs in .config/terminator/config file.

1
vi ~/.config/terminator/config

6) Shortcuts

There are many shortcuts! I have selected a few that can be used frequently which is good to know. 😉

  • Vertical Split: Ctrl + Shift + E
  • Horizontal Split: Ctrl + Shift + O
  • Close current window: Ctrl + Shift + W
  • Move between terminal window: Alt + Arrow Keys
  • Resize terminal window: Ctrl + Shift + Arrow Keys
  • Switch between tabs: Ctrl + Page Up / Page Down

References


This post is licensed under CC BY 4.0 by the author.