dots/tutoriels/my_install.md
2026-06-05 13:11:08 +02:00

96 lines
4.2 KiB
Markdown

# Exemple
!(gitlab.com/afoucaultc/dotfiles/preview0.png)
!(gitlab.com/afoucaultc/dotfiles/preview1.png)
!(gitlab.com/afoucaultc/dotfiles/preview2.png)
# Packages et outils
## Git et Yay
Il est important d'installer yay (pour les installation depuis l'Arch User Repository) et setup git pour récupérer des dotfiles par exemple (dans le cas où ils sont en privé). Penser à enregistrer la clé ssh dans gitlab (la .pub)
```
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
sudo pacman -S openssh xclip
ssh-keygen -t ed25519 -C "comment"
git config --global user.name "name"
git config --global user.email "email"
```
## Window manager
### Hyprland
Specific step :
- Configuration Nvidia : aller dans `/etc/mkinitcpio.conf` et changer la ligne `MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)`, puis lancer `sudo mkinitcpio -P` (voir wiki hyprland)
- installer `libva-nvidia-driver`
- changer BIOS settings from hybrid graphics to discrete graphics (si besoin)
```
Problèmes connus :
- artefacts sur l'écran principal (depuis changement sur la CG à préférer, avec 2ème écran connecté)
```
Lire le [wiki](https://wiki.hypr.land/Getting-Started/) qui est très bien fait
### Additions à hyprland
App manager (raccourci Alt W) : `Rofi` avec ce [git](https://github.com/adi1090x/rofi) et ne pas oublier d'activer le .sh (rangé dans `.config/rofi/launchers/type-1/launcher.sh` -- `chmod +x xxxx.sh`)
Icon theme : `papyrus` voir ce [git](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme)
Font theme : `ttf-b612`, `ttf-adwaitamono-nerd`, `ttf-luciole` pour les thèmes principaux, ajout de `ttf-nerd-fonts-symbols ttf-ms-fonts adobe-source-sans-fonts` pour l'affichage et autres besoins
Cursor theme : `bibata cursor ice` voir ce [git](https://github.com/ful1e5/Bibata_Cursor)
Notifications : `mako`
Status bar : `ags-hyprpanel-git` (old config de `ashell` dispo dans les dotfiles
Wallpaper : `hyprpaper`
Theming : `hyprtoolkit`
Lockscreen : `hyprlock`
Visualiseur de tâches : `btop`
Bash : `zsh`
Theming (autres) : `gtk1` `gt2` `gtk3` `gtk4`
### Autres nécessaires
Bluetooth : `bluez bluez-utils blueman`
Son : `pipewire wireplumber sof-firmware pipewire-pulse pipewire-alsa`
Internet : `Zen Browser` (changement vers searxng à l'avenir)
Navigateur de fichiers : `dolphin`
## Terminal
### Kitty (raccourci ALT+Q)
Installer zsh et le définir comme principal
```bash
chsh -s usr/bin/zsh
```
Ajout de [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh) (ancienne config perso dans les dotfiles, mais ohmyzsh est vraiment pratique)
### Neovim (raccourci ALT+N)
Installer node.js, unzip, npm et yarn
## Autres outils de production
### Typora (markdown)
`Typora` (NON LIBRE, licence à vie pour pas trop cher) pour l'écriture en markdown
### VimTeX + Zathura
Installer `texlive` (voir [wiki](https://wiki.archlinux.org/title/TeX_Live) et `zathura` (visionneur de pdf) avec l'extension de lecture de pdf (`zathura-pdf-poppler`)
Ensuite, voir l'[extension Vim](https://github.com/lervag/vimtex). Raccourcis ENTER+L (puis choisir)
### Image viewer + autres utiles medias
`nomacs`, `GIMP`, `Inkscape`
## Autres
### Mullvad VPN (aled)
Peut nécessiter d'installer les clés avant, voir wiki arch + AUR comment page
### Screen sharing
Voir [ce lien](https://gist.github.com/brunoanc/2dea6ddf6974ba4e5d26c3139ffb7580)
## Script d'installation
```bash
sudo pacman -S git openssh xclip
# specific hardware
sudo pacman -S libva-nvidia-driver intel-oneapi-mkl intel-ucode nvidia-open nvidia-prime nvidia-settings
sudo pacman -S hyprland hyprpaper hyprlock hyprtoolkit dolphin rofi neovim kitty zsh zathura zathura-pdf-poppler texlive cliphist wl-clipboard mako pipewire wireplumber sof-firmware pipewire-pulse pipewire-alsa bluez bluez-utils blueman btop gimp unzip npm yarn wget stylua adobe-source-sans-fonts dolphin gimp imagemagick inkscape noto-fonts-emoji nwg-look ttf-nerd-fonts-symbols unzip virtualbox virtualbox-host-modules-arch gtk3 gtk4
yay -S zotero node.js grimblast-git ags-hyprpanel-git nomacs mullvad-vpn-bin bibata-cursor-theme-bin brightnessctl gtk-engine-murrine ttf-luciole ttf-ms-fonts typora zen-browser-bin gtk1 gtk2
```
Autres à voir via les wikis respectifs : mullvad vpn (ATTENTION il faut télécharger la version bin)