Debian 12.5.0 64-bit @ 2024.03.06
Inspired by:
- OS: Debian 12
- DE: KDE/Plasma
- WM: KWin
- Terminal: Konsole
- Shell: ZSH with Starship
- Fonts:
- Regular: Iosevka / Fira Code Nerd
- Mono: Fira Code Nerd
- ColorScheme: Gruvbox-Dark-B-LB
- Icons: Gruvbox
- Dotfiles: here
- Wallpapers: here
User setup:
Switch to root:
su
Install sudo
:
sudo apt install sudo
Create new user (if not already):
sudo adduser <username>
Allow sudo for new user:
sudo usermod -aG sudo <username>
Switch to freshly sudoed user:
su <username>
Update all thingies:
sudo apt update && sudo apt upgrade
Install neccessary (for me) soft:
list
micro
curl
htop
btop
latte-dock
snapd
wireguard
sudo apt install micro curl htop btop latte-dock snapd wireguard -y
Install zsh
& reboot session:
sudo ap install zsh -y && which zsh && chsh -s $(which zsh) && sudo reboot now
Install Oh My Zsh
:
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
If errors with GitHub appears
Add this to `/etc/hosts`:
```
199.232.28.133 raw.githubusercontent.com
```
Plugins for Oh My Zsh
:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && curl -sS https://starship.rs/install.sh | sudo sh
Remember to restart zsh after reconfig:
exec zsh
Configure timezone:
timedatectl set-timezone Europe/Moscow
Install fonts
sudo mv *.ttf /usr/share/fonts/truetype
Setting up KDE:
- Global Theme
- Login Screen (with global theme colors)
- Screen Locking Wallpapers
- Konsole Theme
VSCode Insiders
sudo apt-get install wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
rm -f packages.microsoft.gpg
sudo apt update && sudo apt install code-insiders
VSCode
sudo apt-get install wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
rm -f packages.microsoft.gpg
sudo apt update && sudo apt install code
VSCodium
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
| gpg --dearmor \
| sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg \
&& echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' \
| sudo tee /etc/apt/sources.list.d/vscodium.list \
&& sudo apt update && sudo apt install codium
Telegram Desktop
wget https://telegram.org/dl/desktop/linux -O tg.tar.xz \
&& tar -xf tg.tar.xz \
&& rm tg.tar.xz \
&& mv ./Telegram/Telegram ./Telegram/telegram \
&& mv ./Telegram/Updater ./Telegram/telegram-updater \
&& sudo mv ./Telegram/telegram /usr/bin/ \
&& sudo mv ./Telegram/telegram-updater /usr/bin/ \
&& rm -rf ./Telegram
Shadowsocks
wget https://github.com/shadowsocks/shadowsocks-qt5/releases/download/v3.0.1/Shadowsocks-Qt5-3.0.1-x86_64.AppImage -O shadowsocks \
&& chmod a+x shadowsocks \
&& sudo mv shadowsocks /usr/bin/
Delete some bloatware:
sudo apt remove kmail kate konqueror -y