You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-07-20-customizing-my-debian-terminal.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,11 @@
3
3
I would like to note before beginning that this is on Debian 12 with KDE Plasma as my desktop environment. The colors may not be the same if you are on a different desktop environment or if you use a different terminal emulator.
4
4
5
5
Ever since I switched to Debian, I've been using the default shell configuration. Recently, after I riced my Kali VM up a bit, I was inspired to start doing some terminal ricing on my host Debian machine. In this process, I went from the default shell configuration that looks like this:
@@ -31,16 +33,22 @@ Konsole will be my terminal emulator of choice. There is no particular reason be
31
33
### Making a New Profile
32
34
33
35
This step is required to run zsh instead of bash. Before we do this, we need to double check where our zsh is installed. To do this, we can use `which zsh`. Make sure to remember the directory it gives you. To start creating our new profile, we open Konsole, then on the top bar we click Settings then Manage Profiles.
Once we are on this page, we will click New on the right to start making a new profile.
37
40
There are only a few options we need to change, those being the profile name, and the command.
38
41
We can set the profile name to whatever we wish, I chose to use "Main".
39
42
For the command, we want to use the directory that `which zsh` gave us. For me, this was `/usr/bin/zsh`. Make sure to check the 'Default profile' box so Konsole will launch into this profile by default. Once we are done in the General tab, it should look something like this:
Additionally, if we click the Scrolling tab on the left, we can set our Scrollback to unlimited. I find this incredibly useful as sometimes commands will output very large amounts of text that's long enough to move previous commands beyond the scrollback distance.
I also opted to uncheck "Highlight the lines coming into view setting" in this area. This will remove the blue lines on the left of the terminal when new text appears.
51
+
44
52

45
53
46
54
### Changing Misc. Konsole Settings
@@ -53,15 +61,20 @@ We have a couple different tabs on the left with settings we will want to change
53
61
54
62
- General
55
63
- Remember window size: unchecked
64
+
56
65

66
+
57
67
- Tab Bar / Splitters
58
68
- Show: Always
59
69
- This will make the new tab button visible even when there is only 1 tab
60
70
- Position: Above terminal area
61
71
- Show 'New Tab' button: checked
72
+
62
73

74
+
63
75
- Temporary Files
64
76
- Scrollback file location: User cache directory (~/.cache/konsole)
I adapted this from Kali Linux's default prompt. If you are looking to customize this further, [this website](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html) describes the custom variables usable inside the PROMPT variable.
76
91
77
92
## Setting up eza
@@ -110,14 +125,18 @@ This will make `ls` actually run `eza --icons --color=always --group-directories
110
125
### Installing Nerd Font Icons
111
126
112
127
If we were to try it now, we would see this:
128
+
113
129

130
+
114
131
What's up with all the icons!? They're not working! This is because we have not yet installed a font to allow these icons to appear correctly.
115
132
We can download the font required [here](https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/NerdFontsSymbolsOnly.zip). Once this zip is downloaded, open it and install both .ttf files.
116
133
117
134
Note: If you are getting an error about not being able to read the font, you likely need to switch from a Wayland session to an x11 session. Do this by logging out, clicking the session type in the bottom left, and switching it to x11. After this, log back in and try again.
118
135
119
136
Now let's try it again.
137
+
120
138

139
+
121
140
It works!
122
141
123
142
### Changing eza color output
@@ -130,13 +149,17 @@ export LS_COLORS
130
149
If you want to change these colors around, I recommend looking [here](https://gist.github.com/thomd/7667642). This post does not mention it, but you can also change color per file extension. For example: `*.py=93` changes .py files to an unbolded yellow color. This color scheming was grabbed from Kali linux and then edited.
131
150
132
151
After these changes, our `ls` should look like so:
152
+
133
153

154
+
134
155
Looks great! Except for some of the symbols...
135
156
136
157
### Setting up eza config
137
158
138
159
If you look closely, you will notice that some symbols aren't exactly what you would expect. For example, let's look at the symbols for .zip and other compressed file formats.
160
+
139
161

162
+
140
163
I believe this issue is caused due to the [seen icon](https://unicodes.jessetane.com/%EF%90%90) having the same Unicode code as the default zip icon used by eza. I also had issues with .jar files showing an eight-ball icon, but I did not have the same issue when recreating these steps in a virtual machine.
141
164
142
165
First, we have to make the eza config:
@@ -168,4 +191,5 @@ If you would like to customize these icons, I recognize reading [this](https://g
168
191
169
192
## Results
170
193
That wraps it up! We should now have a terminal that looks like the following:
0 commit comments