This post covers the configuration of the Debian operating system.
What is Debian?
Debian GNU/Linux is a free operating system, developed by thousands of volunteers from around the world who collaborate via the Internet.
Debian’s dedication to free software, its volunteer base, its non-commercial nature, and its open development model distinguish it from other GNU operating system distributions1.
Add Wi-Fi and NVIDIA Drivers
Running the following commands will log in as root and add the repositories needed to install drivers not included in the fully free repositories:
| |
Verify that the packages have been installed:
| |
Add a User to the Sudo Group
| |
Verify Sudo Group Membership
| |
Log In with the Sudo Group User
| |
Install git and wget
| |
Install zsh and Oh My Zsh2
| |
Install Powerlevel10k
Download and place the 4 .ttf fonts from Meslo Nerd in /usr/local/share/fonts. They must have permissions 644 (-rw-r–r–).3
Create the /usr/local/share/fonts directory:
| |
Download the fonts:
| |
Clone the powerlevel10k project:
| |
Replace the following value in ~/.zshrc:
| |
Configure to your liking and reload the ~/.zshrc file:
| |
Add Launchers to the Menu
Use the following command to emulate the applications in /etc/profile within zsh.
| |
Recommended Software Installation
Snapd
Installation
Install the snapd and core packages:
| |
Add Snap Executables Path to bash and Zsh PATH
Add the snap executables path to the PATH:
| |
Verify that the path has been added correctly:
| |
Add Launchers to the Application Menu
Create a symbolic link from the directory that stores snap launchers (/var/lib/snapd/desktop/applications) to the system applications directory (usr/share/applications/)
| |
Flatpak
Installation
From the official Flatpak documentation, follow these steps:
- Install Flatpak
| |
- Add the Flatpak repository
| |
- Reboot the system to apply the changes.
Add Launchers to the Menu
Create a symbolic link from the directory that stores flatpak launchers (/var/lib/flatpak/exports/share/applications/) to the system applications directory (usr/share/applications/)
| |
Aptitude
| |
Nextcloud Sync Client
Download the AppImage file from Nextcloud, grant execution permissions to the user, and run it with:
| |
Sync the folders.
KeePassXC
Note: installed via Snap because the official repositories have an outdated version.
- Install via snap:
| |
Download the browser extension.
Configure the browser extension using an official KeePassXC script. Save the script and run:
| |
If you get the error Could not find keepassxc.proxy! Ensure the keepassxc snap is installed properly., this is because the snap executables path needs to be added to the PATH:
| |
Run the script again:
| |
VSCodium 4
- Add the repository GPG key:
| |
- Add the repository:
| |
- Update repositories and install VSCodium:
| |
Using LaTeX with VSCodium
- In settings, search for
word wrapand enable it so that lines do not extend infinitely. - Install the LaTeX distribution Texlive (recommended by the VSCodium LaTeX Workshop extension), ChkTex for LaTeX semantic checking, and texlive-extra-utils for extensions like latexindent.
| |
- Add the path
| |
Inkscape
Install via the Flatpak repositories.
| |
Mattermost-Desktop
According to the official Mattermost documentation, for Debian-based operating systems, the steps to follow are:
- Download the latest version of Mattermost (use the official documentation page): 64-bit systems mattermost-desktop-4.6.2-linux-amd64.deb
Zotero
The reference steps are from the Debian wiki for installing Zotero.
Install Zotero via Flatpak:
| |
Add Zotero to the PATH:
| |
Run Zotero:
| |
Sync the library and install the BetterBibTex plugin. To install the BetterBibTex plugin, follow its documentation.
Once installed, add the following script to include the keywords when exporting with
OwnCloud
Follow the installation guide for Debian.
Once installed, sync the folders.
Thunderbird
Copy and paste the .thunderbird folder for a complete migration. Install with:
| |
Pip
| |
Node and npm
| |
Kubernetes
kubectl
Install using native package management
HDMI Audio Configuration
According to this post, add the following to /etc/pulse/default.pa:
| |
XFCE Customization on Debian
Theme
Download themes from xfce-look, filtering by rating. Some recommended ones are Qogir-dark, Ultimate-dark, or Nordic. Extract them and copy them to the .themes folder, located at /home/username/.themes.
Go to Appearance -> Themes -> Qogir-dark.
Icons
Add the Qogir-dark icons. Download them from xfce-look, extract them, and copy them to the .icons folder located at /home/username/.icons.
Go to Appearance -> Icons -> Qogir-dark
Dock
Install Plank:
| |
Window Manager
Install emerald:
| |
Run the emerald-theme-manager program and choose a theme:
| |
Run in the background:
| |
Plymouth
Steps followed from the official Debian wiki.
i3wm Window Manager
| |