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
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
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
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
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
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
apt-get install pulseaudio fonts-font-awesome pavucontrol
sudo apt-get install ./VMware-Horizon-Client-2406-8.13.0-9995429239.x64.deb
sudo apt-get install qutebrowser firefox-esr