diff --git a/install.sh b/install.sh index 844482a..258ef60 100644 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Bannière -cat wibian.figlet +echo "Wibian Extras" | figlet -f big echo -ne "\n" # Vérifie si le script est lancé avec les droits root @@ -13,118 +13,12 @@ fi username=$(id -u -n 1000) builddir=$(pwd) -# Changement de la langue par défaut -localectl set-locale LANG=fr_FR.UTF-8 -echo "La langue française a été définie par défaut pour ce système" - -# Définition du nom d'hôte -echo "- Quel nom d'hôte voulez-vous donner à cette nouvelle machine ?" -read machinename -clear -hostnamectl set-hostname $machinename -sed -i '1i 127.0.0.1\t'$machinename /etc/hosts - -# noatime pour les partitions ext4 -#cp /etc/fstab /etc/fstab.bck -#awk '!/^#/ && ($3 != "swap") && ($2 != "/media/cdrom0") { if(!match(/noatime/, $4)) $4=$4",noatime" } 1' /etc/fstab > /etc/fstab.tmp -#mv /etc/fstab.tmp /etc/fstab - # Mise à jour de la liste des paquets disponibles et mise à jour des paquets installés apt update apt upgrade -y -# Installation des composants du serveur graphique Xorg -apt install -y xorg xbacklight xbindkeys xinput xvkbd - -# Installation de l'environnement de bureau MATE en mode core -apt install -y mate-desktop-environment-core - -# Installation du gestionnaire d'affichage -apt install -y desktop-base lightdm lightdm-gtk-greeter-settings - -# Isntallations des outils de gestion de l'alimentation. -apt install -y acpi acpid - -# Installation des outils de gestion du son -apt install -y alsa-utils mate-media pulseaudio - -# Installation des outils de gestion des cartes réseaux -apt install -y network-manager-gnome network-manager-openvpn-gnome - -# Installation des outils liés au bluetooth -apt install -y blueman pulseaudio-module-bluetooth - -# Installation des outils liés aux imprimantes -apt install -y cups system-config-printer -apt install --install-recommends -y printer-driver-all - -# Installation d'un outil de notification et d'installation des mises à jour -apt install -y gnome-package-updater mate-indicator-applet package-update-indicator - -# Polices d'écritures and icônes -apt install -y fonts-recommended fonts-font-awesome papirus-icon-theme ttf-mscorefonts-installer - -# Activation des services fraichement installés -systemctl enable acpid -systemctl enable cups -systemctl enable bluetooth -systemctl enable lightdm - -# Installation des paquets complémentaires pour MATE -packages=( - alarm-clock-applet - atril - caja-admin - caja-mediainfo - caja-share - caja-eiciel - celluloid - cheese - dconf-editor - foliate - engrampa - eom - gnome-disk-utility - gnome-system-tools - gparted - greybird-gtk-theme - gtkhash - gucharmap - kazam - metadata-cleaner - mate-applets - mate-applet-brisk-menu - mate-calc - mate-dock-applet - mate-power-manager - mate-screensaver - mate-system-monitor - mate-tweak - mate-utils - peek - pluma - polybar - qshutdown - picom - redshift-gtk - seahorse - shutter - stacer - tilix - timeshift - variety - synaptic - xscreensaver-gl - zim -) - -for package in "${packages[@]}"; do - echo "Installation de $package..." - apt install -y $package -done - -# Installation des paquets utilitaires -apt install -y curl flatpak freerdp2-x11 figlet htop libnotify-bin nmap net-tools numlockx speedtest-cli stress s-tui swaks testdisk tldr tlp unzip whois wmctrl xdotool +# Installation des dépendances pour Zoom +apt install libxcb-xtest0 ibus # Installation de la solution de virtualisation KVM apt install -y bridge-utils dnsmasq-base qemu-system qemu-utils firewalld gir1.2-spiceclientgtk-3.0 libvirt-daemon-system virt-manager virt-viewer @@ -138,14 +32,11 @@ virsh net-autostart default # apt install -y brasero # apt install -y caja-nextcloud # apt install -y geany geany-plugin-addons geany-plugin-git-changebar geany-plugin-overview geany-plugin-spellcheck geany-plugin-treebrowser geany-plugin-vimode -apt install -y firefox-esr-l10n-fr -apt install -y thunderbird-l10n-fr # apt install -y gimp gimp-data-extras gimp-help-fr # apt install -y hugin # apt install -y imagination # apt install -y kdenlive # apt install -y obs-studio -# apt install -y simple-scan # Désinstallation des paquets non désirés apt remove -y fortunes-min