$ iwctl
#[iwd] device list
#[iwd] station <device_name> get-networks
#[iwd] station <device_name> connect <network_name>
# network-password:
** Check connection **
ping -c 5 archlinux.org
# reflector --country Iran,Denmark,Germany --sort rate --save /etc/pacman.d/mirrorlist
# pacman -Sy archlinux-keyring
# pacman -S networkmanager
# EDITOR=/usr/bin/nvim
# useradd -m saeed
# usermod -aG wheel,audio,video,storage,optical,network saeed
# passwd
# exprot EDITOR=nvim
# visduo # uncomment `Wheel ALL(ALL=ALL)`
# systemctl enable NetworkManager.service
chagne wifi backend from wpa_supplicant to iwd
sudo pacman -S iwd
/etc/NetworkManager/conf.d/wifi_backend.conf
---
[device]
wifi.backend=iwd
Connect/disconnect to wifi with nmcli
$ nmcli device status
$ nmcli device wifi list
$ sudo nmcli device wifi connect <wifi_name> password <wifi_passwd>
# nmcli device discconect <divce_name>
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
$ sudo pacman -S xorg-server xorg-xinit xorg-xinput
# sound system
$ sudo pacman -S alsa-utils pulseaudio pulseaudio-alsa
# Graphic card use built-in!!!
# Window Manager
$ sudo pacman -S qtile noto-fonts adobe-source-code-pro-fonts
- tty font config
$ showconsolefont # display avilable fonts
$ setfont <bitmap_font_name.postfix>
# Perment font setting font console.
$ nvim /etc/vconsole.conf
FONT=<bitmap-font-name>
- qtile:
$ sudo pacman -S qtile - xinitrc:
$ echo "qtile start" >> .xinitrc - run:
$ startx - disable touch pad:
$ xinput disable "AlpsPS/2 ALPS GlidePoint" - Home folder
$ sudo pacman -S xdg-user-dirs
$ xdg-user-dirs-update
- Qtile useful commands
$ qtile cmd-obj -o cmd -f restart
$ qtile cmd-obj -o cmd -f reload_config
- Zsh: custom config path
$ chsh -s /usr/bin/zsh
$ sudo nvim /etc/zsh/zprofile
$ export ZDOTDIR=/home/saeed/.config/zsh
- Scrot: Take screenshot
$ scrot -d 3 ~/Screenshots/%Y-%m-%d-%T-screenshot.png
- Chnage default file manager to pcmanfm
xdg-mime query filetype folder
xdg-mime default pcmanfm.desktop inode/directory
- Net speed widget
pip install psutil
- picom
# use picom -b rather than picom &
# picom & will eats swape drive and system will freeze.
picom -b
- Get code of key to use in key defining for zsh
Press
ctl + vafter that press the key a beeter waycat -vand type any key to get code of the key is runshowkey -a - Create
.desktopfile for any script to be regonziable by rofi - Install noto-font-cjk noto-font-emoji noto-font-extra to render all fonts.
- Pulseaudio issue: When plug headphone sound doesn't switch to headephone or
if it switch after unpluged it sound lost completely.
To fix this comment out
load-module module-switch-on-prot-availableon /etc/pulse/default/.pa Packges to install:
sudo pacman -S pulseaudio pulseaudio-alsa pulseaudio-jack
$ sudo pacman -S base-devl kitty zsh firefox feh pcmanfm-gtk3
$ sudo pacman -S rofi openssh picom zip unzip xarchiver
$ sudo pacman -S python-pip tk reflector tmux
$ sudo pacman -S noto-fonts-emoji ttf-font-awesome
$ sudo pacman -S starship ttf-nerd-fonts-symbols-common
$ sudo pacman -S ripgrep fd sqlite node npm tk tree scrot xsel
$ git init --bare $HOME/.dotfiles.git
$ echo 'alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME"' >> $HOME/.zshrc
$ source ~/.zshrc
$ dotfiles config --local status.showUntrackedFiles no
Remove git bare workflow becuase I wouldn't able to use git diff. Using symbolic link to mange dots.
- Window Manager:
Qtiledwm - Terminal:
Kittyst - Shell: Zsh
- App Launcher:
rofidemenu - Editor: Neovim
- Editor2:
VS CodeEmacs[Maybe] - Browser:
Firefox / EdgeBrave - File Manager: PcmanFM
- Compositor:
picom - Terminal Multiplexer: tmux

