ubuntu:2404:script
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| ubuntu:2404:script [2024/05/25 07:39] – sbestel | ubuntu:2404:script [2025/11/08 07:54] (Version actuelle) – sbestel | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| #!/bin/bash | #!/bin/bash | ||
| - | #### Script d' | + | #### Script d' |
| # Aide à l' | # Aide à l' | ||
| Ligne 11: | Ligne 11: | ||
| clear | clear | ||
| # | # | ||
| - | # Menu pour install | + | # Menu pour install |
| # | # | ||
| (0) - UBUNTU MAJ système & install par défaut | (0) - UBUNTU MAJ système & install par défaut | ||
| (1) - X UBUNTU MAJ système & install par défaut | (1) - X UBUNTU MAJ système & install par défaut | ||
| - | (2) - L UBUNTU MAJ système & install par défaut | + | (2) - Linux MINT |
| - | (3) - Divers applis | + | (3) - Applis étendues |
| - | (4) - Applications kids | + | (4) - Jeux cartes et réflexion |
| - | (5) - Applications Asso | + | (5) - |
| - | (6) - Outils Admin | + | (6) - |
| (7) - Programmation | (7) - Programmation | ||
| - | (9) - | + | (9) - Jeux enfants |
| - | (10) - force upgrade 20.04 à 22.04 (etape 1) | + | (10) - |
| - | (11) - force upgrade | + | (11) - MAJ et nettoyage système |
| (*) - Quitter | (*) - Quitter | ||
| Ligne 33: | Ligne 33: | ||
| incontournables () { | incontournables () { | ||
| - | # sudo cp -f files/ | + | sudo apt update && |
| - | | + | |
| - | # Decrease the swap use | + | # Decrease the swap use |
| - | sudo cp -f files/ | + | |
| | | ||
| - | | + | sudo mkdir / |
| - | sudo cp files/ | + | |
| - | | + | sudo apt install -y synaptic libreoffice shotwell inkscape gimp glabels cheese |
| - | sudo apt install -y hardinfo numlockx | + | |
| - | sudo apt install -y gimp-data-extras chromium-browser | + | |
| - | sudo apt install -y openshot scribus freeplane basket | + | |
| - | sudo apt install -y kazam calibre | + | |
| - | sudo apt install -y build-essential x264 x265 flac opus-tools vorbis-tools lame mkvtoolnix mkvtoolnix-gui oggvideotools | + | |
| - | sudo apt install -y kde-l10n-fr language-pack-fr ginmp-help-fr verbiste verbiste-gnome | + | sudo apt install -y libreoffice-l10n-fr thunderbird-locale-fr firefox-locale-fr chromium-browser-l10n |
| - | sudo apt install -y libreoffice-l10n-fr thunderbird-locale-fr firefox-locale-fr chromium-browser-l10n | + | |
| - | sudo apt install -y language-pack-gnome-fr language-pack-gnome-fr-base language-pack-kde-fr mc | + | |
| # Désactiver la fonction Apport | # Désactiver la fonction Apport | ||
| - | | + | sudo sed -i ' |
| - | sudo systemctl disable apport.service | + | |
| - | systemctl mask apport.service | + | |
| | | ||
| - | | + | mkdir ~/ |
| - | + | ||
| - | sudo apt install -y snapd gnome-software-plugin-snap filezilla youtube-dl | + | |
| - | sudo apt install -y flatpak gnome-software-plugin-flatpak pdfshuffler ffmpeg | + | |
| - | | + | sudo apt install -y screenfetch |
| | | ||
| - | | + | echo vm.swappiness=5 | sudo tee / |
| - | echo vm.vfs_cache_pressure=50 | sudo tee -a / | + | |
| - | sudo sysctl -p / | + | |
| - | sudo service procps restart | + | |
| - | sudo swapoff -av | + | |
| - | sudo swapon -av | + | |
| + | } | ||
| + | |||
| + | |||
| + | ubuntu () { | ||
| + | sudo apt install -y snapd gnome-software-plugin-snap filezilla youtube-dl | ||
| + | sudo apt install -y flatpak gnome-software-plugin-flatpak | ||
| } | } | ||
| Ligne 83: | Ligne 85: | ||
| # **************** 0000000000000 ********************** | # **************** 0000000000000 ********************** | ||
| 0) # UBUNTU - MAJ & install applis par défaut | 0) # UBUNTU - MAJ & install applis par défaut | ||
| + | incontournables | ||
| + | ubuntu | ||
| - | sudo apt update && sudo apt upgrade -y | ||
| sudo apt full-upgrade -y | sudo apt full-upgrade -y | ||
| sudo cp files/ | sudo cp files/ | ||
| Ligne 90: | Ligne 93: | ||
| sudo apt install -y nautilus-script-audio-convert easytag-nautilus nautilus-emblems | sudo apt install -y nautilus-script-audio-convert easytag-nautilus nautilus-emblems | ||
| sudo apt install -y nautilus-image-converter gnome-tweak-tool clamtk-gnome | sudo apt install -y nautilus-image-converter gnome-tweak-tool clamtk-gnome | ||
| - | sudo apt install -y gnote | + | sudo apt install -y gnote gnome-tweak-tool |
| + | sudo apt install -y calibre easytag gnome-software | ||
| + | |||
| - | incontournables | ||
| ;; | ;; | ||
| # **************** 11111111111111111 ********************** | # **************** 11111111111111111 ********************** | ||
| 1) # XUBUNTU - MAJ & install applis par défaut | 1) # XUBUNTU - MAJ & install applis par défaut | ||
| - | # modif du fichier sources.list avec les partenaires | + | incontournables |
| + | ubuntu | ||
| sudo apt update && sudo apt upgrade -y | sudo apt update && sudo apt upgrade -y | ||
| Ligne 104: | Ligne 109: | ||
| | | ||
| - | sudo apt install -y plank xubuntu-restricted-addons ubuntu-restricted-extras | + | sudo apt install -y xubuntu-restricted-addons ubuntu-restricted-extras |
| incontournables | incontournables | ||
| Ligne 112: | Ligne 117: | ||
| Encoding=UTF-8 | Encoding=UTF-8 | ||
| Type=Application | Type=Application | ||
| - | Name=Plank | + | Name=plank |
| Exec=/ | Exec=/ | ||
| RunHook=0 | RunHook=0 | ||
| Ligne 122: | Ligne 127: | ||
| # **************** 22222222222222222222 ********************** | # **************** 22222222222222222222 ********************** | ||
| - | 2) # L UBUNTU - MAJ & install applis par défaut | + | 2) incontournables |
| - | sudo apt update && sudo apt upgrade | + | sudo bash -c 'cat > / |
| - | sudo apt install | + | [Seat:*] |
| - | + | greeter-show-manual-login=true | |
| - | incontournables | + | greeter-allow-guest=false |
| + | | ||
| + | EOF' | ||
| ;; | ;; | ||
| # **************** 333333333333333 ********************** | # **************** 333333333333333 ********************** | ||
| 3) # Divers applis | 3) # Divers applis | ||
| - | | + | |
| + | sudo apt install -y iptux onboard | ||
| + | sudo apt install -y openshot | ||
| ;; | ;; | ||
| # **************** 444444444444444 ********************** | # **************** 444444444444444 ********************** | ||
| - | 4) # Personnalisation station Kids | + | 4) # |
| - | source bash/ | + | |
| ;; | ;; | ||
| 5) # Jeux | 5) # Jeux | ||
| - | source bash/ | + | |
| ;; | ;; | ||
| 6) # | 6) # | ||
| - | source bash/ | + | |
| ;; | ;; | ||
| Ligne 176: | Ligne 184: | ||
| sudo apt install -y junior-games-text | sudo apt install -y junior-games-text | ||
| - | 10) # force upgrade 20.04 à 22.04 | + | 10) |
| - | + | ||
| - | sudo sed -i ' | + | |
| - | sudo sed -i ' | + | |
| - | cat / | + | |
| - | sudo apt update && sudo apt upgrade -y | + | |
| - | sudo apt --purge autoremove -y | + | |
| - | sudo apt install update-manager-core -y # required for upgrade | + | |
| - | if [ ! -d ~/ | + | |
| - | | + | |
| - | mkdir ~/ | + | |
| - | fi | + | |
| - | cp files/ | + | |
| - | echo " | + | |
| - | Version=1.0 | + | |
| - | Encoding=UTF-8 | + | |
| - | Type=Application | + | |
| - | Name=MAJ | + | |
| - | Exec=sh -c $HOME/ | + | |
| - | Terminal=true" | + | |
| - | + | ||
| - | chmod a+x ~/ | + | |
| - | chmod a+x ~/ | + | |
| - | sudo reboot | + | |
| ;; | ;; | ||
ubuntu/2404/script.1716622791.txt.gz · Dernière modification : 2024/05/25 07:39 de sbestel
