| Prochaine révision | Révision précédente | 
| linux:custom_ubuntumate20.04 [2020/05/08 09:35]  – créée minimi | linux:custom_ubuntumate20.04 [2020/05/08 12:08] (Version actuelle)  –  minimi | 
|---|
| https://doc.ubuntu-fr.org/personnaliser_livecd | https://doc.ubuntu-fr.org/personnaliser_livecd | 
| https://community.linuxmint.com/tutorial/view/1784 | https://community.linuxmint.com/tutorial/view/1784 | 
|   |  | 
|   | Autres sources : | 
|   | https://sebsauvage.net/wiki/doku.php?id=ubuntu2004 | 
|   | https://lehollandaisvolant.net/linux/checklist/index-18.php | 
|   |  | 
|   | Firefox :  | 
|   | https://lehollandaisvolant.net/?d=2020/01/02/11/28/39-ma-liste-des-tweaks-aboutconfig-dans-firefox | 
|   | https://sebsauvage.net/wiki/doku.php?id=firefox | 
 |  | 
| Installer les prerequis : | Installer les prerequis : | 
 |  | 
| <code> | <code> | 
|   | ISO=ubuntu-mate-20.04-desktop-amd64.iso | 
| mkdir mylivecd | mkdir mylivecd | 
| cp linuxmint-18.1-mate-32bit.iso mylivecd/ | cp $ISO mylivecd/ | 
| cd mylivecd | cd mylivecd | 
| mkdir mnt | mkdir mnt | 
| sudo mount -o ro,loop linuxmint-18.1-mate-32bit.iso  mnt/ | sudo mount -o ro,loop $ISO  mnt/ | 
| sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ extracted | sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ extracted | 
| sudo unsquashfs mnt/casper/filesystem.squashfs | sudo unsquashfs mnt/casper/filesystem.squashfs | 
| </code> | </code> | 
 |  | 
| Préparer la connexion internet | Préparer la connexion internet (pas forcément utile) | 
 |  | 
| <code>sudo cp /etc/resolv.conf edit/etc/ | <code>sudo cp /etc/resolv.conf edit/etc/ | 
| mount -t devpts none /dev/pts | mount -t devpts none /dev/pts | 
| export HOME=/root | export HOME=/root | 
| export LC_ALL=C</code> | </code> | 
 |  | 
| Mettre des sources FR de ubuntu. | Mettre des sources FR de ubuntu. | 
|   | Modifier | 
|   | (mint)   /etc/apt/sources.list.d/official-package-repositories.list. "fr.archive" | 
|   | (ubuntu) /etc/apt/sources.list "fr.archive" | 
 |  | 
| Modifier /etc/apt/sources.list.d/official-package-repositories.list. "fr.archive" | <code>  | 
|   | deb http://fr.archive.ubuntu.com/ubuntu focal main restricted universe multiverse  | 
|   | deb http://fr.archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse  | 
|   | </code> | 
 |  | 
|   | (mint) | 
| <code> | <code> | 
| deb http://fr.archive.ubuntu.com/ubuntu bionic main restricted universe multiverse  | deb http://fr.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse | 
| deb http://fr.archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse  |  | 
| deb http://fr.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse |  | 
| </code> | </code> | 
 |  | 
| </code> | </code> | 
 |  | 
|   | == Firefox == | 
|   |  | 
|   | upgrader firefox thunderbird et installer paquet de langue correspondant (sinon paquet de langue en avance et non pris en compte) | 
|   |  | 
|   | * Méthode 1 "rapide" mais présente le défaut d'avoir un dossier avec le même nom pour toute les installations : | 
| copier les modifs dans /etc/skel  | copier les modifs dans /etc/skel  | 
|    profil firefox ~/.mozilla |    profil firefox ~/.mozilla | 
|   |     | 
|   | * Méthode 2 "technique"  | 
|   | Configurer les fichiers systèmes de firefox & installation d'extensions  | 
 |  | 
| upgrader firefox thunderbird et installer paquet de langue correspondant (sinon paquet de langue en avance et non pris en compte) | /usr/lib/firefox/ubuntu-mate.cfg | 
 |  | 
| mate-session-properties | <file>  | 
|   |   | 
|   | </file>  | 
|   |   | 
|   |   | 
|   | == mate-session-properties ==  | 
 |  | 
| configurer les applications à ne pas lancer/lancer au démarrage (mintupload, mintwelcome, orca (lecteur d'écran), vino) | configurer les applications à ne pas lancer/lancer au démarrage (mintupload, mintwelcome, orca (lecteur d'écran), vino) | 
| puis copier le contenu du dossier ~/.config/autostart dans /etc/.config/autostart | puis copier le contenu du dossier ~/.config/autostart dans /etc/.config/autostart | 
|     |     | 
| /etc/apt/sources.list.d/official-package-repositories.list |   | 
| ajouter (fr pour archive ubuntu) + adapter mirroir  |   | 
| <code> |   | 
| deb http://fr.archive.ubuntu.com/ubuntu bionic main restricted universe multiverse |   | 
| deb http://fr.archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse |   | 
| deb http://fr.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse |   | 
| </code> |   | 
 |  | 
| rappel maj | == rappel maj (ou pas plutôt mises à jours automatiques) == | 
 |  | 
| [[https://www.desclicks.net/ressources/configs/rappel_maj.sh|rappel_maj.sh]] | [[https://www.desclicks.net/ressources/configs/rappel_maj.sh|rappel_maj.sh]] | 
| </file> | </file> | 
 |  | 
| ==== Suppr ====  | == Mises à jour automatiques == | 
| <code>aptitude purge hexchat </code> |  | 
 |  | 
|   * hexchat : messagerie instantanée  | https://guide.ubuntu-fr.org/server/automatic-updates.html  | 
|   *  |   | 
|   | <code> sudo apt install unattended-upgrades </code>  | 
|   | paramétrer unattended-upgrades, ouvrez /etc/apt/apt.conf.d/50unattended-upgrades  | 
|   | <file>  | 
|   | Unattended-Upgrade::Allowed-Origins {  | 
|   |         "${distro_id}:${distro_codename}";  | 
|   |         "${distro_id}:${distro_codename}-security";  | 
|   |         "${distro_id}:${distro_codename}-updates";  | 
|   | //      "${distro_id}:${distro_codename}-proposed";  | 
|   | //      "${distro_id}:${distro_codename}-backports";  | 
|   | };  | 
|   |   | 
|   | // Blacklist si besoin  | 
|   | Unattended-Upgrade::Package-Blacklist {  | 
|   | //      "vim";  | 
|   | //      "libc6";  | 
|   | //      "libc6-dev";  | 
|   | //      "libc6-i686";  | 
|   | };  | 
|   | </file>  | 
|   |   | 
|   | Activation via /etc/apt/apt.conf.d/20auto-upgrades  | 
|   | <file>  | 
|   | APT::Periodic::Update-Package-Lists "1";  | 
|   | APT::Periodic::Download-Upgradeable-Packages "1";  | 
|   | APT::Periodic::AutocleanInterval "7";  | 
|   | APT::Periodic::Unattended-Upgrade "1";  | 
|   | </file>  | 
|   |   | 
|   | ==== Suppr ====  | 
|   | <code>aptitude purge evolution </code> | 
 |  | 
|   |   * evolution : client de messagerie | 
| ==== Ajout ====  | ==== Ajout ====  | 
| <code>aptitude install vlc ttf-mscorefonts-installer libdvd-pkg libreoffice-l10n-fr firefox-locale-fr</code> | <code>aptitude install \  | 
|   | vlc vlc-l10n \  | 
|   | ttf-mscorefonts-installer \  | 
|   | libdvd-pkg \  | 
|   | libreoffice-l10n-fr \  | 
|   | firefox-locale-fr</code> | 
 |  | 
|   * vlc media player |   * vlc media player | 
| <code>gsettings set org.mate.caja.preferences enable-delete false</code> | <code>gsettings set org.mate.caja.preferences enable-delete false</code> | 
 |  | 
| ** MintUpdate ** | ** (Spécial Mint) MintUpdate ** | 
 |  | 
| /usr/share/glib-2.0/schemas/com.linuxmint.updates.gschema.xml | /usr/share/glib-2.0/schemas/com.linuxmint.updates.gschema.xml |