Personal configuration for Manjaro
This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2021-11-14 00:44:24 +01:00
.config/fish fr -> en 2021-11-14 00:44:24 +01:00
.ssh Add my SSH config 2021-11-08 15:32:43 +01:00
createKeyboardsShortcut.sh fr -> en 2021-11-14 00:44:24 +01:00
installBrave.sh Mise à jour de 'installBrave.sh' 2021-11-08 17:12:18 +01:00
installClipboardHistory.sh Adding clipboard history installer 2021-11-12 15:55:49 +01:00
installEmojiPicker.sh fr -> en 2021-11-14 00:44:24 +01:00
installFish.sh fr -> en 2021-11-14 00:44:24 +01:00
installgl4D.sh fr -> en 2021-11-14 00:44:24 +01:00
installGlobalScript.sh Adding clipboard history installer 2021-11-12 15:55:49 +01:00
installJava.sh adding capability to update java 2021-11-11 22:48:11 +01:00
installObsidian.sh fr -> en 2021-11-14 00:44:24 +01:00
installOnlyoffice.sh fr -> en 2021-11-14 00:44:24 +01:00
installParsec.sh fr -> en 2021-11-14 00:44:24 +01:00
installSpotify.sh fr -> en 2021-11-14 00:44:24 +01:00
installSyncthing.sh fr -> en 2021-11-14 00:44:24 +01:00
README.md adding vscode 2021-11-12 17:51:18 +01:00

Configuration perso pour Linux

Mon guide à suivre lors d'une réinstallation d'Ubuntu

Avant de réinstaller, sauvegarder les clés SSH

Script global pour Ubuntu et WSL

Regarde en détail le script pour Ubuntu et WSL pour connaitre quels apps sont installés et quelle configuration est appliquée.

wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installGlobalScript.sh -O tmp.sh && bash tmp.sh; rm tmp.sh

Scripts pour chaque application

  • Installe Brave

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installBrave.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Désinstalle Firefox

    sudo snap remove firefox && rm -r $HOME/snap/firefox
    
  • Installe et configure Fish ainsi que le SSH dans Fish
    • Police (sous Windows CMD) : Cascadia Mono
    • Couleur texte : #D3D0C8 (211, 208, 200)
    • Couleur arrière-plan : #2D2D2D (45, 45, 45)
    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installFish.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Installe VSCode

    # Possible qu'il y est un problème de "keyrings", dans ce cas il faut
    # se rendre dans `seahorse` et désactiver le mot de passe du keyring
    # par défaut.
    sudo snap install code --classic -y
    
  • Remettre les clés SSH dans le dossier $HOME/.ssh

  • Désactive le mot de passe SU si nécessaire

    # É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
    
  • Installe Spotify et le patch

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSpotify.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Installe Syncthing et le lance au démarrage

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installSyncthing.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Installe GL4Dummies (temporaire)

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installgl4D.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Installe Discord

    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
    
  • Installe Obsidian

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installObsidian.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Mettre en place le VPN

    # En SSH au serveur, dans le dossier d'openvpn
    docker-compose run --rm openvpn ovpn_getclient anri > anri.ovpn
    
  • Installe Flameshot

    sudo apt update && sudo apt install flameshot -y
    
  • Installe Parsec

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installParsec.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Installe Latex

    sudo apt update && sudo apt install texlive-full -y
    
  • Installe Java (AdoptOpenJDK-16)

    # A l'avenir pour mettre à jour Java, vous devrez re-lancez ce script (ne passe pas par un gestionnaire de paquet)
    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

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installOnlyOffice.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Installe le sélecteur d'emojis

    # Attention le script ne gère pas les raccourcis qui sont déjà assignés à "Super + ;"
    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installEmojiPicker.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Rajoute les raccourcis clavier

    # Attention le script ne gère pas les raccourcis qui sont déjà assignés à certaines touches
    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/createKeyboardsShortcut.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Retire la corbeille de la barre des tâches

    gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false
    
  • Historique du presse-papier

    # Lisez le fichier (ou les logs à l'exécution) car ce script nécessite des manipulations en plus
    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installClipboardHistory.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
Mémo de commandes utiles peu de temps après une réinstallation/mise à jour
    • Finalise l'installation de Rust avec rustup pour rustlings
      set -Up fish_user_paths ~/.cargo/bin
      
    • Désactive des éléments du "Bureau" dans Ubuntu
      sudo mv /usr/share/applications/debian-xterm.desktop /usr/share/applications_backup/