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-12-30 10:36:35 +01:00
.config Use custom configuration for Flameshot 2021-12-23 15:11:06 +01:00
installBrave.sh Code cleanup 2021-12-28 17:05:59 +01:00
installClipboardHistory.sh Code cleanup 2021-12-28 17:05:59 +01:00
installFish.sh don't use do-release-upgrade anymore in WSL 2021-12-30 10:35:54 +01:00
installFlameshot.sh Code cleanup 2021-12-28 17:05:59 +01:00
installgl4D.sh Code cleanup 2021-12-28 17:05:59 +01:00
installGlobalScript.sh Don't use the bad way to update WSL anymore 2021-12-30 10:36:35 +01:00
installJava.sh Code cleanup 2021-12-28 17:05:59 +01:00
installLatex.sh remove not found message and add removed icon message 2021-12-28 16:51:51 +01:00
installMultiMC.sh Code cleanup 2021-12-28 17:05:59 +01:00
installObsidian.sh Code cleanup 2021-12-28 17:05:59 +01:00
installOnlyoffice.sh Code cleanup 2021-12-28 17:05:59 +01:00
installParsec.sh Code cleanup 2021-12-28 17:05:59 +01:00
installRust.sh add little message at the end of the file 2021-12-23 15:02:27 +01:00
installSignal.sh Code cleanup 2021-12-28 17:05:59 +01:00
installSpotify.sh use our dedicated rust script installation and remove spotify banner 2021-12-28 17:12:17 +01:00
installSyncthing.sh Code cleanup 2021-12-28 17:05:59 +01:00
README.md fix typo 2021-12-28 17:15:21 +01:00
removeBannerSpotify.sh add little message at the end of the file 2021-12-23 15:02:27 +01:00
ubuntuConfiguration.sh adapt the size of the dock to be the same as w11 2021-12-28 19:43:06 +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 ET GPG.

Détails concernant l'import/export de la clé GPG
  • Export clé publique : gpg --output public.gpg --armor --export user@email
  • Export clé privé : gpg --output private.gpg --armor --export-secret-key user@email
  • Import clés publique : gpg --import public.gpg
  • Import clés privé : gpg --allow-secret-key-import --import private.gpg
  • Avoir le numéro de la clé (sec) : gpg --list-secret-keys --keyid-format LONG user@email (dans sec rsa4096/30F2B65B9246B6CA 2017-08-18 [SC] c'est 30F2B65B9246B6CA)
  • Utiliser cette clé pour Git : git config --global user.signingkey <numéro de la clé>

Script global pour Ubuntu et WSL

Regarde en détail le script pour Ubuntu et WSL pour connaître quels apps sont installées et quelle configuration est appliquée.

wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installGlobalScript.sh -O tmp.sh && sudo 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
    
  • Remettre les clés SSH dans le dossier $HOME/.ssh

    # Pour remettre les bonnes permissions, vous pouvez exécuter cette commande après avoir remis vos clés ssh (au cas où elles est été altérés).
    sudo chown $USER:$USER $HOME/.ssh/* && sudo chmod u=r,g=,o= $HOME/.ssh/* && sudo chmod u=r,g=r,o=r $HOME/.ssh/*.pub && sudo chmod u=r,g=r,o=r $HOME/.ssh/config && sudo chmod u=rw,g=,o= $HOME/.ssh/environment
    
  • Désactive le mot de passe SU si nécessaire

    sudo sed -i "26s#.*#%sudo   ALL=(ALL:ALL) NOPASSWD: ALL#" /etc/sudoers
    
  • 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
    

    Faculativement, lance ce script pour supprimer la bannière en bas (attention il va falloir refaire la manipulation à chaque mise-à-jour)

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/removeBannerSpotify.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

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installFlameshot.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • 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

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

    # Utilises SDKMAN, gère Fish si installé
    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

    wget -q --show-progress https://raw.githubusercontent.com/GaZaTu/x11-emoji-picker/master/install.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • Met en place quelques configurations que j'utilises sur Ubuntu

    wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/ubuntuConfiguration.sh -O tmp.sh && bash tmp.sh; rm tmp.sh
    
  • 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
    
  • Installe des trucs utile pour Python

    sudo apt update && sudo apt install python3-virtualenv python3-tk -y
    
  • Installe Rust

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

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

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