Development Environments [2]: Ubuntu 20.04 Settings on RTX 4080 -4 -
D2Coding Font
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.
- version I downloaded: D2Coding Ver 1.3.2
1) Download D2Coding Font
- 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>
- Unzip the downloaded file to
/usr/share/fonts/d2coding
.
1
sudo unzip -d /usr/share/fonts/d2coding D2Coding-Ver1.3.2-20180524.zip
- 내려받은 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
- First, let’s go to
Preferences
from the≡
button.
- Then go to
Profiles
>Choose A Terminal Font
- You can check the changed font right away!
Terminator
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
This is what it looks like for the installation!👩💻
2) Set the Terminator
You can find the Terminator
through search.
This is what it looks like when you open the terminator
!
3) Set the Font Globally
- Check out: Right click >
Preferences
>Keybindings
- Uncheck ‘Use the system font’ and click box on the right side of ‘Font:’.
Clike the Sans Regular 9 button.
- Set the font to
D2Coding Bold
Let’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.
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