2013-03-23 14:44:30 +01:00
|
|
|
# dotfiles
|
2013-03-23 06:38:56 -07:00
|
|
|
|
2013-03-23 14:44:30 +01:00
|
|
|
This is just a bunch of dotfiles.
|
2013-03-23 17:28:30 +01:00
|
|
|
|
|
|
|
|
2020-12-16 18:34:51 +01:00
|
|
|
## ArchLinux packages
|
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
Installing packages:
|
|
|
|
|
2020-12-19 14:31:44 +01:00
|
|
|
``` sh
|
|
|
|
# Base utils
|
2024-05-18 11:36:57 +02:00
|
|
|
pacman -S bat duf eza htop inetutils jq kitty-terminfo neovim openssh tmux transmission-cli tree wget whois zellij zsh zsh-syntax-highlighting
|
2020-12-19 14:31:44 +01:00
|
|
|
pacman -S shared-mime-info xdg-user-dirs
|
2023-10-15 13:11:04 +02:00
|
|
|
pacman -S reflector
|
2020-12-22 12:32:09 +01:00
|
|
|
pacman -S skim
|
2024-12-15 18:41:11 +01:00
|
|
|
pacman -S yazi unarchiver ffmpegthumbnailer fd ripgrep-all poppler zoxide
|
2020-12-19 14:31:44 +01:00
|
|
|
# Rust
|
|
|
|
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
2024-12-01 00:00:07 +01:00
|
|
|
# Python
|
|
|
|
pacman -S python ruff uv
|
2020-12-19 14:31:44 +01:00
|
|
|
# CLI software
|
2024-12-15 18:50:19 +01:00
|
|
|
pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan python-weasyprint qrencode rsync shellcheck sqlmap ssh-audit xsv yt-dlp
|
2023-10-14 14:32:12 +02:00
|
|
|
# Hyprland
|
2024-12-30 19:30:35 +01:00
|
|
|
pacman -S hyprland xdg-desktop-portal-hyprland qt5-wayland qt6-wayland
|
2023-10-14 14:32:12 +02:00
|
|
|
pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell
|
2024-11-15 22:40:10 +01:00
|
|
|
pacman -S brightnessctl dunst fuzzel hyprpaper otf-font-awesome udiskie waybar wl-clipboard
|
2023-10-15 17:58:13 +02:00
|
|
|
pacman -S grim slurp
|
2023-12-21 18:15:44 +01:00
|
|
|
pacman -S swaylock
|
2020-12-19 14:31:44 +01:00
|
|
|
# Graphical software
|
2024-11-15 23:37:44 +01:00
|
|
|
pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm-gtk3 rhythmbox ristretto sweethome3d tumbler thunderbird vlc
|
2023-10-14 14:32:12 +02:00
|
|
|
pacman -S gvfs xarchiver
|
2020-12-19 14:31:44 +01:00
|
|
|
# Fonts
|
2023-10-14 15:33:15 +02:00
|
|
|
pacman -S noto-fonts noto-fonts-emoji ttf-dejavu ttf-inconsolata ttf-liberation ttf-roboto
|
2023-10-14 14:32:12 +02:00
|
|
|
# Archives
|
|
|
|
pacman -S unrar p7zip zip unzip minizip
|
2021-08-01 13:04:20 +02:00
|
|
|
# Command-line copy/paste utilities
|
|
|
|
pacman -S wl-clipboard xclip
|
2022-04-29 17:56:57 +02:00
|
|
|
# MS-DOS
|
|
|
|
pacman -S dosfstools mtools
|
2023-12-20 17:49:01 +01:00
|
|
|
# AUR
|
|
|
|
pacman -S pacman-contrib namcap
|
2024-08-22 18:46:23 +02:00
|
|
|
# Smartcards
|
2024-08-27 21:49:36 +02:00
|
|
|
pacman -S ccid libnfc mfoc opensc pcsc-tools pcsclite
|
2020-12-16 18:34:51 +01:00
|
|
|
```
|
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
### 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:
|
|
|
|
|
2020-12-19 14:31:44 +01:00
|
|
|
``` sh
|
|
|
|
# Base utils
|
2023-06-04 14:01:50 +02:00
|
|
|
yay -S liquidprompt vim-plug
|
2020-12-19 14:31:44 +01:00
|
|
|
# Printer
|
2020-12-16 18:34:51 +01:00
|
|
|
yay -S brother-dcp1610w brscan-skey brscan4
|
2020-12-19 14:31:44 +01:00
|
|
|
# Graphical software
|
2020-12-16 18:34:51 +01:00
|
|
|
yay -S cardpeek
|
|
|
|
```
|
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
## vim / neovim
|
2015-10-17 12:11:10 +02:00
|
|
|
|
2023-06-04 14:01:50 +02:00
|
|
|
Plugins are managed by `vim-plug`, which is installed from the AUR.
|
2015-10-17 12:11:10 +02:00
|
|
|
|
2020-12-16 18:34:51 +01:00
|
|
|
``` sh
|
2025-01-04 10:46:55 +01:00
|
|
|
vim +PlugInstall # install all plugins
|
|
|
|
vim +PlugUpdate # install or update all plugins
|
|
|
|
vim +PlugClean # remove plugins no longer in the list
|
2019-05-09 00:25:03 +02:00
|
|
|
```
|
|
|
|
|
2015-10-17 12:11:10 +02:00
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
## Wallpaper
|
2020-12-16 18:34:51 +01:00
|
|
|
|
2025-01-04 11:45:36 +01:00
|
|
|
The wallpaper is randomly selected from images (png, jpg and jpeg) located in
|
|
|
|
the `$HOME/pictures/wallpapers/` directory.
|
|
|
|
|
|
|
|
Specific wallpapers for winter can be set in the `winter` sub-directory.
|
2021-03-06 12:38:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
## /etc/locale.conf
|
|
|
|
|
|
|
|
```
|
|
|
|
cat >/etc/locale.conf << EOF
|
|
|
|
LANG=en_US.UTF-8
|
|
|
|
LC_ADDRESS=fr_FR.UTF-8
|
|
|
|
LC_MEASUREMENT=fr_FR.UTF-8
|
|
|
|
LC_PAPER=fr_FR.UTF-8
|
|
|
|
LC_TIME=fr_FR.UTF-8
|
|
|
|
EOF
|
|
|
|
```
|
2024-12-31 18:13:57 +01:00
|
|
|
|
|
|
|
|
|
|
|
## rtkit-daemon
|
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
By default, [rtkit-daemon][rtkit] tends to flood the system logs with not very
|
|
|
|
useful notifications:
|
2024-12-31 18:13:57 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
```
|
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
This can be fixed by setting a higher log level:
|
2024-12-31 18:13:57 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
sudo mkdir "/etc/systemd/system/rtkit-daemon.service.d"
|
|
|
|
echo "[Service]\nLogLevelMax=4" | sudo tee /etc/systemd/system/rtkit-daemon.service.d/log.conf >/dev/null
|
|
|
|
sudo systemctl daemon-reload
|
|
|
|
sudo systemctl restart rtkit-daemon.service
|
|
|
|
```
|
|
|
|
|
|
|
|
[rtkit]: https://archlinux.org/packages/extra/x86_64/rtkit/
|
2024-12-31 18:14:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
## NetworkManager
|
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
To deactivate WiFi when a wired connection is up, have a look at example 15
|
|
|
|
from `man 7 nmcli-examples`.
|
2024-12-31 18:14:17 +01:00
|
|
|
|
2025-01-04 10:46:55 +01:00
|
|
|
TL; DR: copy and paste a script in
|
|
|
|
`/etc/NetworkManager/dispatcher.d/70-wifi-wired-exclusive.sh` and set it
|
|
|
|
executable.
|