==== Debian Install ====
{{tag>linux debian}}
====== Debian with Xorg or Wayland ======
* install netinst with no extra components
* network
sudo apt install network-manager network-manager-gnome
sudo systemctl enable --now NetworkManager
*** xorg - select this if you want to use [[https://wiki.debian.org/Xorg|xorg]]**
sudo apt install xorg
sudo apt install i3
sudo apt install lightdm
sudo systemctl enable lightdm
sudo reboot
*** wayland - select this if you want to use [[https://wiki.debian.org/sway|wayland]]**
sudo apt install sway sway-backgrounds swaybg swayidle swaylock xwayland fuzzel waybar
# If running from tty1 start sway
[ "$(tty)" = "/dev/tty1" ] && exec sway
* utilities
sudo apt install firefox-esr sudo vim git zip unzip mc acpi fonts-font-awesome
* add main user to sudo
vim /etc/sudoers
* sound
sudo apt install alsa-utils
sudo alsactl init
aplay /usr/share/sounds/alsa/Noise.wav
sudo apt-get install pulseaudio
systemctl --user restart pulseaudio.service
$ pulseaudio --kill
$ pulseaudio --start
* power management
sudo apt install tlp tlp-rdw
sudo systemctl enable --now tlp.service