Add more info
This commit is contained in:
parent
015ad88c33
commit
2881c44d30
116
README.md
116
README.md
@ -248,7 +248,119 @@ Save the config
|
||||
Now you can finally reboot!
|
||||
|
||||
## 8. Post installation
|
||||
- Display manager: `lightdm`
|
||||
- xorg: `pacman -S xorg xorg-server`
|
||||
### Update the system
|
||||
```
|
||||
# pacman -Syu
|
||||
```
|
||||
### Make a swapfile
|
||||
```
|
||||
# dd if=/dev/zero of=/swapfile bs=1M count=4096 status=progress
|
||||
# chmod 600 /swapfile
|
||||
# mkswap /swapfile
|
||||
# swapon /swapfile
|
||||
# cp /etc/fstab /etc/fstab.bak
|
||||
# echo '/swapfile none swap sw 0 0' >> /etc/fstab
|
||||
```
|
||||
### Install Paru
|
||||
```
|
||||
$ sudo pacman -S git
|
||||
$ git clone https://aur.archlinux.org/paru.git
|
||||
$ cd paru
|
||||
$ makepkg -si
|
||||
$ cd ..
|
||||
$ rm -rf paru/
|
||||
```
|
||||
### Install xorg
|
||||
```
|
||||
$ sudo pacman -S xorg xf86-video-intel vulkan-intel
|
||||
```
|
||||
|
||||
### Install a display manager
|
||||
```
|
||||
$ sudo pacman -S lightdm lightdm-<init-system> lightdm-gtk-greeter
|
||||
$ sudo rc-update add lightdm //OpenRC
|
||||
```
|
||||
|
||||
### Intel backlight
|
||||
Probably you won't need this if you use `xbacklight`, but if for some reason xbacklight doesn't work, you can use intel_baclkight:
|
||||
Allow the `video` group
|
||||
```
|
||||
/etc/udev/rules.d/backlight.rules
|
||||
|
||||
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", GROUP="video", MODE="0664"
|
||||
RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness"
|
||||
RUN+="/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness"
|
||||
```
|
||||
|
||||
### English international keyboard
|
||||
Run
|
||||
```
|
||||
# setxkbmap -rules evdev -model evdev -layout us -variant altgr-intl
|
||||
```
|
||||
Or persist it on the xorg settings
|
||||
```
|
||||
/etc/X11/xorg.conf.d/00-keyboard.conf
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "Keyboard Defaults"
|
||||
MatchIsKeyboard "yes"
|
||||
Option "XkbLayout" "us"
|
||||
Option "XkbVariant" "altgr-intl"
|
||||
EndSection
|
||||
```
|
||||
|
||||
### Touchpad
|
||||
Install
|
||||
```
|
||||
$ sudo pacman -S libinput xf86-input-libinput xorg-xinput
|
||||
```
|
||||
Enable natural scrolling and tab click
|
||||
```
|
||||
/etc/X11/xorg.conf.id/30-touchpad.conf
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "touchpad"
|
||||
Driver "libinput"
|
||||
MatchIsTouchpad "on"
|
||||
Option "Tapping" "on"
|
||||
Option "NaturalScrolling" "true"
|
||||
EndSection
|
||||
```
|
||||
|
||||
### Install dmenu
|
||||
```
|
||||
$ sudo pacman -S git
|
||||
$ git clone https://git.suckless.org/dmenu
|
||||
$ cd dmenu
|
||||
$ make && sudo make clean install
|
||||
```
|
||||
|
||||
### Enable Universe repository
|
||||
```
|
||||
/etc/pacman.conf
|
||||
|
||||
[universe]
|
||||
Server = https://universe.artixlinux.org/$arch
|
||||
```
|
||||
|
||||
### Optimus-manager for hybrid-GPU laptops
|
||||
You will need the Universe repository for this
|
||||
```
|
||||
$ sudo pacman -S optimus-manager-<init> <DM>-optimus-<init> optimus-manager-git
|
||||
```
|
||||
And then enable the `optimus-manager` service.
|
||||
Example with OpenRC
|
||||
```
|
||||
$ sudo pacman -S optimus-manager-openrc lightdm-optimus-openrc optimus-manager-git
|
||||
$ sudo rc-update add optimus-manager
|
||||
```
|
||||
|
||||
### Useful programs
|
||||
- Xorg and dependencies for DWM or Dmenu: `pacman -S xorg xorg-server libxinerama`
|
||||
- Pipewire audio backend: `pacman -S pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack`
|
||||
- Tiling window manager written in Rust: `leftwm`
|
||||
- Notification system: `dunst`
|
||||
- Disk usage utility: `ncdu`
|
||||
- Nice looking disk encryption password prompt: `plymouth`
|
||||
- Graphical xrandr for screen configuration: `arandr`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user