Skip to content

Latest commit

 

History

History
99 lines (81 loc) · 2.95 KB

history.md

File metadata and controls

99 lines (81 loc) · 2.95 KB

Minimal Debian with a GUI

Debian 12.5 + Wayland + Sway

  • Install Debian minimal without any additional packages
  • Create a /boot and a partition fur LUKS encryption
  • Use the LUKS partition as physicall volume for LVM
  • Create a volume group and three logical volumes for / and /home and /swap

Basic Setup

Check package mirrors

nano /etc/apt/sources.list
# add the following:
deb http://deb.debian.org/debian bookworm contrib main non-free-firmware
deb-src http://deb.debian.org/debian bookworm contrib main non-free-firmware
deb http://deb.debian.org/debian-security bookworm-security contrib main non-free-firmware
deb-src http://deb.debian.org/debian-security bookworm-security contrib main non-free-firmware
deb http://deb.debian.org/debian bookworm-updates contrib main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates contrib main non-free-firmware

Get a network connection

To install further packages I used my mobile via USB tethering

dhclient 
ip a
#@ Disable install of suggested packages 
nano /etc/apt/apt.conf
APT::Install-Recommends "false";
apt-get update && apt-get upgrade

Install Core Tools

apt-get install man git curl mc nano mlocate sudo network-manager htop
#wlr-randr --output eDP-1 --off
updatedb
#echo "PATH=$PATH:/usr/sbin" >> /etc/bash.bashrc 
logout
usermod -aG sudo user

Install Sway

apt-get install sway greetd xwayland waybar swayimg wofi wlr-randr grimshot
# See also https://linuxconfig.org/how-to-install-configure-and-customize-waybar-on-linux
mkdir -p .config/sway .config/waybar .config/foot
cp /etc/sway/config .config/sway/
#The background image at ~/.config/sway/pexels-iriser-1366957.jpg
#is from Irina Iriser:
#https://www.pexels.com/photo/high-rise-buildings-during-nighttime-1366957/

cp /etc/xdg/foot/foot.ini .config/foot
nano /etc/greetd/config.toml 
# change line to:
command = "/usr/sbin/agreety --cmd bash"

# Change .config/sway/config:
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu wofi --show run

#export "XDG_RUNTIME_DIR=/run/user/$(id -u)" >> ~/.bashrc
echo $XDG_RUNTIME_DIR 
export WAYLAND_DISPLAY=wayland-0
export GDK_BACKEND=wayland

Install Xorg

lspci | grep VGA
apt-get install xserver-xorg-video-intel xserver-xorg-core xinit xserver-xorg-input-libinput xserver-xorg-input-mouse xserver-xorg-input-synaptics
apt-get install pulseaudio fonts-font-awesome pavucontrol
#apt-get install xserver-xorg-video-fbdev
cd /etc/X11/
Xorg -configure
#export DISPLAY=:0
#export DISPLAY=$WAYLAND_DISPLAY
apt-get install i3 dmenu i3lock i3status alacritty
nano .config/i3/config 
startx

General X Tools

apt-get install pulseaudio fonts-font-awesome pavucontrol 

Install Applications

sudo apt-get install ./VMware-Horizon-Client-2406-8.13.0-9995429239.x64.deb 
sudo apt-get install qutebrowser firefox-esr