Arch#i3(sway)
Официальный дистрибутив Arch Linux
-----------------------------------
# cfdisk => sda1
# mkfs.ext4 /dev/sda1 -L root
# mount /dev/sda1 /mnt
-----------------------------------------------------
# pacstrap -i /mnt base base-devel linux linux-firmware nano dhcpcd
------------------------------------------------------
# arch-chroot /mnt pacman -S grub-bios
# genfstab -U /mnt >> /mnt/etc/fstab
# arch-chroot /mnt /bin/bash
-----------------------------------------------------------------------
# nano /etc/locale.gen => [#]en_US.UTF-8 UTF-8
# locale-gen
-----------------------------------------------------------------------
# mkinitcpio -p linux
-----------------------
# grub-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
--------------------------------------
# passwd
--------
# exit
# reboot
-----------------------------------
# hostnamectl set-hostname хост_имя
--------------------------------------
# grub-mkconfig -o /boot/grub/grub.cfg
--------------------------------------
# systemctl enable dhcpcd
# systemctl start dhcpcd
------------------------
# pacman -Syyu
---------------------------------------------------------------------------------------------------------------
# useradd -m -g users -G audio,games,lp,optical,power,scanner,storage,systemd-journal,video,wheel -s /bin/bash имя_пользователя
# passwd имя_пользователя
# EDITOR=nano visudo => %wheel ALL=(ALL) ALL
# exit
---------------------------------------------------
# pacman -S xorg-server xorg-xinit mesa xterm polkit
# pacman -S xf86-video-nouveau => Nvidia
# pacman -S xf86-video-intel => Intel
# pacman -S xf86-video-ati xf86-video-amdgpu => AMD
------------------------------------------------------
# pacman -S ttf-liberation ttf-dejavu
-------------------------------------
# pacman -S alsa-utils
# alsactl init
--------------------
# pacman -S i3 dmenu
# pacman -S rxvt-unicode urxvt-perls
# pacman -S xorg-xrandr xorg-xkill xorg-xcalc xclip xorg-xdpyinfo
# pacman -S qutebrowser
# pacman -S mc ranger
# pacman -S feh scrot flameshot
# pacman -S unzip unrar p7zip
# pacman -S mpv youtube-dl
# pacman -S ncdu tree
# pacman -S atop htop nvtop radeontop btop gotop vmstat iostat bottom powertop iotop hddtemp lshw sysstat smartmontools hdparm dmidecode kmon nmon smem hwinfo tlp
# pacman -S iftop vnstat traceroute net-tools nmap hping dnsutils lsof nethogs bwm-ng
# pacman -S wireless_tools wireless_regdb wpa_supplicant usb_modeswitch
# pacman -S git curl wget rtorrent
# pacman -S zathura-pdf-mupdf
# pacman -S libreoffice-fresh libreoffice-fresh-ru
---------------------------------------------------
# pacman -S sway xorg-server-xwayland grim slurp wf-recorder
-------------------------------------------------------------
$ nano ~/.bash_profile => [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
-------------------------------------------------------------------------------------------------
$ cp /etc/X11/xinit/xinitrc ~/.xinitrc
$ nano ~/.xinitrc => exec i3
-----------------------------------------------------------------------------------------------------
# nano /etc/X11/xorg.conf.d/00-keyboard.conf => "us,ru" и "grp:alt_shift_toggle,grp_led:scroll"
-----------------------------------------------------------------------------------------------------
# systemctl reboot
------------------
# startx => i3
# sway => sway
------------------
@ Шрифты и конфиги