2021-11-08 15:50:48 +01:00
# Configuration perso pour Linux
2021-11-08 16:31:03 +01:00
Mon guide à suivre lors d'une réinstallation d'Ubuntu
### <u>Avant de réinstaller, sauvegarder les clés SSH</u>
2021-11-08 20:25:16 +01:00
- [Installe Brave ](https://brave.com/linux/#debian-9-ubuntu-1604-and-mint-18 )
2021-11-08 16:31:03 +01:00
```bash
2021-11-08 20:25:16 +01:00
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installBrave.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
2021-11-08 16:31:03 +01:00
```
2021-11-08 15:50:48 +01:00
2021-11-08 20:25:16 +01:00
- Désinstalle Firefox
2021-11-08 16:31:03 +01:00
```bash
2021-11-08 20:25:16 +01:00
sudo snap remove firefox & & rm -r $HOME/snap/firefox
2021-11-08 16:31:03 +01:00
```
2021-11-08 15:50:48 +01:00
2021-11-08 16:42:34 +01:00
- < details >< summary > Installe et configure Fish ainsi que le SSH dans Fish</ summary >
- Police (sous Windows CMD) : Cascadia Mono
2021-11-08 17:43:17 +01:00
- Couleur texte : #D3D0C8 (211, 208, 200)
- Couleur arrière-plan : #2D2D2D (45, 45, 45)
2021-11-08 16:42:34 +01:00
< / details >
2021-11-08 16:31:03 +01:00
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installFish.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
- Remettre les clés SSH dans le dossier `$HOME/.ssh`
2021-11-10 15:27:46 +01:00
- Désactive le mot de passe SU si nécessaire
2021-11-08 16:31:03 +01:00
```bash
# Édition du fichier qui gère ça
sudo visudo
# Trouve cette ligne :
%sudo ALL=(ALL) ALL
# Remplace la par celle-ci :
%sudo ALL=(ALL) NOPASSWD: ALL
```
2021-11-08 20:14:37 +01:00
- Installe Spotify et le patch
2021-11-08 18:32:23 +01:00
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSpotify.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
2021-11-09 13:49:43 +01:00
2021-11-08 20:14:37 +01:00
- Installe [Syncthing ](https://apt.syncthing.net/ ) et le [lance au démarrage ](https://docs.syncthing.net/users/autostart.html#how-to-set-up-a-system-service )
2021-11-08 20:11:56 +01:00
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSyncthing.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
2021-11-09 13:49:43 +01:00
2021-11-08 20:18:48 +01:00
- Installe [GL4Dummies ](https://gl4d.api8.fr/FR/gl4d.pdf )
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installgl4D.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
2021-11-09 13:49:43 +01:00
2021-11-08 21:51:18 +01:00
- Installe Discord
```bash
wget -q --show-progress "https://discord.com/api/download?platform=linux& format=deb" -O discord.deb & & sudo apt install ./discord.deb -y & & rm discord.deb
```
2021-11-08 22:43:14 +01:00
- Installe Obsidian
2021-11-08 21:51:18 +01:00
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installObsidian.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
2021-11-09 13:49:43 +01:00
2021-11-10 15:27:46 +01:00
- Mettre en place le VPN
2021-11-08 22:50:29 +01:00
```bash
# En SSH au serveur, dans le dossier d'openvpn
docker-compose run --rm openvpn ovpn_getclient anri > anri.ovpn
```
2021-11-09 13:49:43 +01:00
2021-11-08 22:49:04 +01:00
- Installe Flameshot
```bash
sudo apt update & & sudo apt install flameshot -y
2021-11-08 22:51:32 +01:00
```
2021-11-09 13:49:43 +01:00
- Installe Parsec
```bash
2021-11-09 13:54:37 +01:00
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installParsec.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
2021-11-09 13:49:43 +01:00
```
2021-11-10 15:27:46 +01:00
- Installe Latex
2021-11-09 14:08:11 +01:00
```bash
sudo apt update & & sudo apt install texlive-full -y
```
2021-11-10 15:27:46 +01:00
- Installe Java (AdoptOpenJDK-16)
2021-11-09 22:41:27 +01:00
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installJava.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
- Installe OnlyOffice
```bash
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installOnlyOffice.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
```
2021-11-10 16:41:29 +01:00
- Installe le sélecteur d'emojis
2021-11-10 16:41:52 +01:00
```bash
2021-11-10 21:26:49 +01:00
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installEmojiPicker.sh -O tmp.sh & & bash tmp.sh; rm tmp.sh
2021-11-10 16:41:52 +01:00
```
2021-11-10 16:41:29 +01:00
2021-11-10 15:27:46 +01:00
- Rajoute les raccourcis clavier
2021-11-08 22:52:46 +01:00
- Pour ouvrir l'explorateur de fichiers : `nautilus`
2021-11-08 23:00:06 +01:00
- Pour ouvrir l'application de capture d'écran : `flameshot gui`
2021-11-08 22:52:46 +01:00
2021-11-10 15:27:46 +01:00
- [Retire la corbeille ](https://ubuntuhandbook.org/index.php/2021/10/remove-trash-from-dock-ubuntu/ ) de la barre des tâches
2021-11-10 15:23:21 +01:00
```bash
gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
```
2021-11-08 22:51:32 +01:00
< details >
< summary > Mémo de commandes utiles peu de temps après une réinstallation/mise à jour< / summary >
-
2021-11-10 15:27:46 +01:00
- Finalise l'installation de Rust avec rustup
2021-11-08 22:51:32 +01:00
```bash
set -Up fish_user_paths ~/.cargo/bin
```
-
2021-11-10 15:27:46 +01:00
- Désactive des éléments du "Bureau" dans Ubuntu
2021-11-08 22:51:32 +01:00
```bash
sudo mv /usr/share/applications/debian-xterm.desktop /usr/share/applications_backup/
```
2021-11-09 13:54:37 +01:00
< / details >