Update the README

This commit is contained in:
Rodolphe Bréard 2025-01-04 10:46:55 +01:00
parent 70fd4983a2
commit 4e8dd3ad51
Signed by: rodolphe
SSH key fingerprint: SHA256:3rodCKnk1MUOfSlIKY0nHbBtvFyQx4EqjS+JIy69lN0

View file

@ -5,6 +5,8 @@ This is just a bunch of dotfiles.
## ArchLinux packages ## ArchLinux packages
Installing packages:
``` sh ``` sh
# Base utils # Base utils
pacman -S bat duf eza htop inetutils jq kitty-terminfo neovim openssh tmux transmission-cli tree wget whois zellij zsh zsh-syntax-highlighting pacman -S bat duf eza htop inetutils jq kitty-terminfo neovim openssh tmux transmission-cli tree wget whois zellij zsh zsh-syntax-highlighting
@ -41,6 +43,20 @@ pacman -S pacman-contrib namcap
pacman -S ccid libnfc mfoc opensc pcsc-tools pcsclite pacman -S ccid libnfc mfoc opensc pcsc-tools pcsclite
``` ```
### Arch User Repository
Installing yay:
``` sh
mkdir -p "$HOME/projects/builds"
git clone "https://aur.archlinux.org/yay.git" "$HOME/projects/builds/yay"
cd "$HOME/projects/builds/yay"
makepkg
pacman -U "yay-<version>-x86_64.pkg.tar.zst"
```
Installing packages:
``` sh ``` sh
# Base utils # Base utils
yay -S liquidprompt vim-plug yay -S liquidprompt vim-plug
@ -50,18 +66,22 @@ yay -S brother-dcp1610w brscan-skey brscan4
yay -S cardpeek yay -S cardpeek
``` ```
## vim ## vim / neovim
Plugins are managed by `vim-plug`, which is installed from the AUR. Plugins are managed by `vim-plug`, which is installed from the AUR.
``` sh ``` sh
vim +PlugInstall vim +PlugInstall # install all plugins
vim +PlugUpdate # install or update all plugins
vim +PlugClean # remove plugins no longer in the list
``` ```
## wallpaper ## Wallpaper
The wallpaper is randomly set from images (png, jpg and jpeg) from `~/pictures/wallpapers/enabled/`. You should populate this directory with symbolic links pointing to images stored in `~/pictures/wallpapers/`. The wallpaper is randomly set from images (png, jpg and jpeg) from
`~/pictures/wallpapers/enabled/`. You should populate this directory with
symbolic links pointing to images stored in `~/pictures/wallpapers/`.
## /etc/locale.conf ## /etc/locale.conf
@ -79,7 +99,8 @@ EOF
## rtkit-daemon ## rtkit-daemon
Par défaut, [rtkit-daemon][rtkit] a tendance à inonder les journaux systèmes de notifications peu intéressantes : By default, [rtkit-daemon][rtkit] tends to flood the system logs with not very
useful notifications:
``` ```
déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users. déc. 31 14:16:56 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
@ -88,7 +109,7 @@ déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 process
déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users. déc. 31 14:17:00 lpt-01 rtkit-daemon[1347]: Supervising 12 threads of 9 processes of 1 users.
``` ```
La solution est de lui fixer un niveau de journalisation plus adapté : This can be fixed by setting a higher log level:
``` ```
sudo mkdir "/etc/systemd/system/rtkit-daemon.service.d" sudo mkdir "/etc/systemd/system/rtkit-daemon.service.d"
@ -97,13 +118,14 @@ sudo systemctl daemon-reload
sudo systemctl restart rtkit-daemon.service sudo systemctl restart rtkit-daemon.service
``` ```
Ainsi, `journalctl -f` n'est plus surchargé.
[rtkit]: https://archlinux.org/packages/extra/x86_64/rtkit/ [rtkit]: https://archlinux.org/packages/extra/x86_64/rtkit/
## NetworkManager ## NetworkManager
Pour désactiver le WiFi lorsqu'une liaison filaire est disponible, regarder l'exemple 15 du `man 7 nmcli-examples`. To deactivate WiFi when a wired connection is up, have a look at example 15
from `man 7 nmcli-examples`.
TL; DR: copier/coller un script dans `/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh` et rendre ce fichier exécutable. TL; DR: copy and paste a script in
`/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh` and set it
executable.