Features | Applications |
---|---|
Window Manager | i3 |
Status Line | polybar |
Applications Launcher | rofi |
Code Editor | neovim, visual studio code |
Browser | firefox |
File Manager | lf, thunar |
Notification Manager | dunst |
Shell | zsh with oh-my-zsh theme |
Bluetooth Manager | blueman |
Wifi Hotspot | linux-wifi-hotspot |
Screenshot | flameshot, scrot |
Desktop Record | recordmydesktop |
Disk Manager | gparted |
Grub Manager | grub-customizer |
Theme Manager | lxappearance-gtk3 |
Image Viewer | feh |
Video Player | mpv |
Aur, Download Helper | yay, git, curl, wget |
Terminal | kitty |
Icons Theme | WhiteSur-icon-theme |
Main Theme | tokyo-night |
Cursor Theme | catpuchin-cursor |
Login Manager | lightdm, lightdm-webkit2-greeter, lightdm-webkit2-theme-glorious |
Lockscreen | betterlockscreen |
Compositor | picom |
Vietnamese Input | ibus-bamboo |
System Monitor | gotop |
Volume Control | pavucontrol |
Achrive Manager | rar, unrar, zip, unzip, tar |
Trash Manager | trash-cli |
Clipboard Manager | xclip |
Ntfs Support | ntfs-3g |
System Information Tool | neofetch |
Multi Monitors Tool | arandr |
Features | Applications |
---|---|
Desired Apps | figma, gimp, kdenlive, inkscape |
Color Pitcher | xcolor |
Social Apps | discord, microsoft teams, zalo-web-app |
Office Suite | only-office |
Dev Environment | python with pip, ruby with rbenv, flutter, android studio, gcc, cmake, nodejs with npm |
Brownser | microsoft-edge |
Dotfiles Manager | git bare |
Name | Features |
---|---|
screenshot | To screenshot and copy the picture to clipboard |
setavatar | To change avatar lightdm |
extract | To unachrive file regardless of zip or rar |
zsh-history-fix | To solve zsh history error |
showwifipass | To show logged in wifi password |
setwallpaper | To set wallpaper of i3 wm |
add-lightdm-background | To auto add background to the storage background of lightdm |
cleanarch | To clean your arch linux |
Install arch ( you can follow the instruction below or this video to dual boot with window)
Install arch
- Step 1: Setup Time
timedatectl set-ntp true
- Step 2: Check UEFI
ls /sys/firmware/efi
- Step 3: Check internet connection
ping google.com
- Step 3.5: Connect to Wi-Fi (Skip if you already success in step 3)
iwctl device listChoose one device from the list example: wlan0
station wlan0 get-networks station wlan0 connect "Wi-fi Name" exit
- Step 4: Sort Package Download Server
pacman -Sy reflectorreflector -c [Region] -c [Region-Close] -c [Region-Close] -c [Region-Close] -a 12 --sort rate --save /etc/pacman.d/mirrorlistIf you are Vietnamese use this
reflector -c Vietnam -c Singapore -c Japan -c India -a 12 --sort rate --save /etc/pacman.d/mirrorlistNOTE: There are usually error on this step, but you can totally ignore it and be fine!
Check mirror list that reflector generate
cat /etc/pacman.d/mirrorlist
- Step 5: Disk Checking
lsblk
- Step 6: Disk Partition (Read it all before do)
cfdisk /dev/nvme0n1NOTE: Sometimes it will be sda instead of nvme0n1!
A disk usually has more than 50GB to work properly (You should take a picture)
Example:
(Always) 500M for (EFI System). (Eg: /dev/nvme0n1 or /dev/sda)
(Example) 1GB for (Linux swap) (If less RAM add more Swap) (eg: /dev/nvme0n1p2 or /dev/sda2)
(Should) 30GB (or more) for root (Linux Filesystem) (eg: /dev/nvme0n1p3 or /dev/sda3)
(Always) The rest for home (Linux Filesystem) (eg: /dev/nvme0n1p4 or /dev/sda4)
Disk partition with cfdisk: (replace sda with nvme like the above)
- Choose (gpt) if asked
- At Free Space choose [NEW]
- Enter disk space (eg: 500M,30GB,.....)
- At dev/nvme0n1p1 choose [TYPE] and choose partition type like above
- Repeat with all the other partition
- Choose [WRITE] to save it all
Swap Rule:
- RAM ⩽ 2GB: Double the RAM (eg: 2GB RAM then 4GB Swap)
- 2 GB – 8 GB: Equal the RAM (eg: 3GB RAM then 3GB Swap)
- 8 GB: Minimum 4GB for Swap (add more as you like)
- Step 7: Disk formatting
- New arch linux only do this
mkfs.fat -F32 /dev/nvme0n1p1 mkswap /dev/nvme0n1p2 swapon /dev/nvme0n1p2 mkfs.ext4 /dev/nvme0n1p3 mkfs.ext4 /dev/nvme0n1p4
- If you dual boot with Window do this
For swap partition do this
mkswap /dev/nvme0n1p2 swapon /dev/nvme0n1p2For root partition do this (it will format partition)
mkfs.ext4 /dev/nvme0n1p3For home partition do this (it will format partition)
mkfs.ext4 /dev/nvme0n1p4NOTE: Replace with nvme if you have nvme instead of sda as the above
- Step 8: Mount Partitions
NOTE: Replace with nvme if you have nvme instead of sda as the above
- New arch linux only do this
mount /dev/nvme0n1p3 /mnt mkdir /mnt/boot mount /dev/nvme0n1p1 /mnt/boot mkdir /mnt/home mount /dev/nvme0n1p4 /mnt/home
- If you dual boot with Window do this
mount /dev/nvme0n1p3 /mnt mkdir /mnt/home mount /dev/nvme0n1p4 /mnt/home
- Step 9: Install base packages
pacstrap -i /mnt base base-devel linux linux-firmware linux-headers intel-ucode sudo git neofetch networkmanager network-manager-applet dhcpcd neovim
- Step 10: Basic setup
Note: If you dual boot with windows then do mount the EFI partition first: mkdir /mnt/boot mount /dev/nvme0n1p1 /mnt/bootgenfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mntNOTE: For this step replace [timezone] with region example Australia/Sydney
ln -sf /usr/share/zoneinfo/[timezone]/[timezone] /etc/localtimeIf you are Vietnamese do this
ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtimehwclock --systohcnvim /etc/locale.gen After that uncomment: en_US.UTF-8 UTF-8For those who don't know how to use neovim:
- Press [i] to enter vim edit mode
- At line # en_US.UTF-8 UTF-8 remove # and the additional spaces then press [ESC]
- Enter the following keys [:] [w] [q] then [ENTER]
locale-genecho LANG=en_US.UTF-8 > /etc/locale.confNOTE: From the following step replace stilux-pc with your pc name (note names should be short and not contain special characters use - for spaces eg: stilux-pc)
echo stilux-pc > /etc/hostnamenvim /etc/hostsAdd the following line: (do like above to edit vim) (press [TAB] at [TAB])
127.0.0.1[TAB]localhost ::1[TAB]localhost 127.0.1.1[TAB]stilux-pc.localdomain[TAB]stilux-pc(Exit and save like above)
Create password for root (Admin)
passwdEnter the password blindly, they will not show up
- Step 11: Add User Replace stilux with your preferred username
useradd -m stilux passwd stiluxEnter the password blindly, like above
usermod -aG wheel,audio,video,optical,storage,power stiluxEDITOR=nvim visudo(use neovim like above)
Add: stilux ALL=(ALL) ALL Uncomment: %wheel ALL=(ALL) ALL(Save and exit like above)
- Step 12: Create Grub Boot
Check if nvme0n1p1 is mount if not mount again
lsblkInstall ntfs-3g if you dual boot with windows
pacman -S ntfs-3g os-proberpacman -S grub efibootmgr dosfstools mtoolsnvim /etc/default/grub After that uncomment: GRUB_DISABLE_OS_PROBER=falseSave and exit like above
systemctl enable dhcpcd.service systemctl enable NetworkManager.serviceNote: /boot is the EFI partition that you mount in step 10
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --recheckgrub-mkconfig -o /boot/grub/grub.cfg
- Step 13: Exit, Reboot, Update
exit umount -lR /mnt reboot
How to login:
- Enter the username at first
- Enter the password blindly then [ENTER]
Update the system:
sudo pacman -SyuNOTE: Should do once everyday
Enter root password (admin)
Reconnect to Wi-Fi
nmtuiRestart System
rebootTurn off the system
poweroff
Install i3 window manager ( you can follow the instruction below or this video to install i3 )
Install i3
sudo pacman -S xorg xorg-xinit i3-wm dmenu kitty sudo cp /etc/X11/xinit/xinitrc ~/.xinitrc
sudo nvim ~/.xinitrc After that remove: twm & xclock -geometry 50x50-1+1 & xclock -geometry 80x50+494+51 & xclock -geometry 80x20+494-0 & exec xterm -geometry 80x66+0+0 -name login And add: exec i3
- You need to install arch linux and i3 window manager before setup this config
- Open terminal and copy this command
git clone https://github.com/sontungexpt/stilux-dotfiles.git && cd stilux-dotfiles && chmod +x setup && ./setup && cd .. && rm -rf stilux-dotfiles
- Follow the instructions in the terminal when the scripts is running
Key Binding Description Mod + Enter Open terminal (kitty default) h, j, k, l Move focus left, down, up, right Mod + d Open rofi Mod + g Open github Mod + m Open bluetooth manager Mod + n Open wifi-hotspot Mod + b Open mail Mod + u Open UIT school web Mod + shift + u Open UIT course Mod + x Lock screen Mod + shift + s Print a select area and copy it to clipboard(no save picture) printscr Print the full-screen desktop shift + printscr Print a select area and save it to Pictures/Screenshots crtl + printscr Capture the focused window and save it to the directory Mod + shift + f Open flameshot gui Mod + t Open thunar file manager