Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
linux:custom_mint [2018/02/16 10:32] minimilinux:custom_mint [2020/02/27 15:21] (Version actuelle) – [Ajout] minimi
Ligne 12: Ligne 12:
 cp linuxmint-18.1-mate-32bit.iso mylivecd/ cp linuxmint-18.1-mate-32bit.iso mylivecd/
 cd mylivecd cd mylivecd
-mkdir tmp+mkdir mnt
 sudo mount -o ro,loop linuxmint-18.1-mate-32bit.iso  mnt/ sudo mount -o ro,loop linuxmint-18.1-mate-32bit.iso  mnt/
 sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ extracted sudo rsync --exclude=/casper/filesystem.squashfs -a mnt/ extracted
Ligne 33: Ligne 33:
 export HOME=/root export HOME=/root
 export LC_ALL=C</code> export LC_ALL=C</code>
 +
 +Mettre des sources FR de ubuntu.
 +
 +Modifier /etc/apt/sources.list.d/official-package-repositories.list. "fr.archive"
 +
 +<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>
 +
 +mettre à jour la cache
 +
 +<code>
 +apt-get update
 +</code>
  
 Customiser l'environnement  Customiser l'environnement 
Ligne 83: Ligne 99:
 ajouter (fr pour archive ubuntu) + adapter mirroir  ajouter (fr pour archive ubuntu) + adapter mirroir 
 <code> <code>
-deb http://fr.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse +deb http://fr.archive.ubuntu.com/ubuntu bionic main restricted universe multiverse 
-deb http://fr.archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse +deb http://fr.archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse 
-deb http://fr.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse+deb http://fr.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
 </code> </code>
  
Ligne 104: Ligne 120:
 </file> </file>
  
-Suppr +==== Suppr ==== 
-<code>aptitude remove --purge hexchat pidgin pidgin-libnotify</code>+<code>aptitude purge hexchat </code> 
 + 
 +  * hexchat : messagerie instantanée 
 +  *  
 + 
 +==== Ajout ====  
 +<code>aptitude install vlc ttf-mscorefonts-installer libdvd-pkg libreoffice-l10n-fr firefox-locale-fr</code> 
 + 
 +  * vlc media player 
 +  * ttf-mscorefonts-installer : polices microsoft pour la compatibilité 
 +  * ttf-ancient-fonts : polices emoji 
 +  * ttf-ubuntu-font-family ttf-dejavu ttf-dejavu-extra ttf-liberation : autres polices 
 +  * libdvd-pkg : lecture des dvd 
 +  * numlockx : pour activer le pavé numérique au démarrage (config lightdm à modifier après installation) 
 +  * "compiz" : compiz compiz-core compiz-gnome compiz-plugins compiz-plugins-default compizconfig-settings-manager python-compizconfig libcompizconfig0 
 +  * "flatpak & Snap" : flatpak xdg-desktop-portal xdg-desktop-portal xdg-desktop-portal-gtk 
 + 
 + 
 + 
 +===== Configurations ===== 
 + 
 +** Caja ** 
 +Désactiver la suppression directe dans caja 
 +<code>gsettings set org.mate.caja.preferences enable-delete false</code> 
 + 
 +** MintUpdate ** 
 + 
 +/usr/share/glib-2.0/schemas/com.linuxmint.updates.gschema.xml 
 + 
 +Cacher mintupdate après maj 
 +<code>gsettings set com.linuxmint.updates hide-window-after update true</code> 
 + 
 +Ne montrer l'icone qu'en cas de maj ou d'erreurs (garder false, sinon "trou" dans la barre des tâches) 
 +<code>gsettings set com.linuxmint.updates hide-systray false</code> 
 + 
 +** Ne pas poser la question des dépôts locaux ** 
 +<code>gsettings set com.linuxmint.updates default-repo-is-ok true</code> 
 + 
 +** Activer la mise à jour automatique (journalière par défaut) ** 
 +<code>mintupdate-automation upgrade enable</code> 
 + 
 +** Activer nettoyage des vieux noyaux ** 
 +<code>mintupdate-automation autoremove enable</code> 
 + 
 +==== Activer canaux européen wifi ==== 
 +<code>sudo iw reg set FR</code> 
 + 
 +==== L’accellération matérielle pour Firefox ==== 
 + 
 +Sous Linux, l’accellération matérielle est désactivée. Pour l’activer (dans firefox) il faut aussi le permettre au niveau du système. Ici on dit au serveur graphique de laisser Firefox utiliser l’accellération matérielle : 
 + 
 +<code>sudo bash -c "echo export MOZ_USE_OMTC=1 >> /etc/X11/Xsession.d/90environment"</code> 
 + 
 +Ensuite, on l’active au sein de Firefox en mettant ces deux options à true dans le about:config : 
 + 
 +<code>layers.acceleration.force-enabled 
 +layers.offmainthreadcomposition.enabled</code>
  
-Ajout 
-<code>aptitude install vlc ttf-mscorefonts-installer</code> 
  
  
-Changer fond écran 
 <code>gsettings set org.mate.background picture-filename /usr/share/backgrounds/linuxmint-serena/anieto2k_hot_balloon_trip.jpg</code> <code>gsettings set org.mate.background picture-filename /usr/share/backgrounds/linuxmint-serena/anieto2k_hot_balloon_trip.jpg</code>
 ou modifier /usr/share/backgrounds/linuxmint/linuxmint.jpg ou modifier /usr/share/backgrounds/linuxmint/linuxmint.jpg
Ligne 138: Ligne 207:
  
 /usr/lib/linuxmint/mintMenu/applications.list pour modifier les favoris par défaut /usr/lib/linuxmint/mintMenu/applications.list pour modifier les favoris par défaut
 +
 +Désactiver le verouillage écran en cas de veille 
 +
 +<code>
 +dconf write /org/mate/screensaver/idle-activation-enabled false
 +dconf write /org/mate/screensaver/lock-enabled false
 +</code>
  
 Sortir du Chroot Sortir du Chroot
Ligne 146: Ligne 222:
 rm -rf /etc/resolv.conf rm -rf /etc/resolv.conf
 rm -rf /etc/hosts rm -rf /etc/hosts
-ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf+#ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf 
 +cd /etc 
 +ln -sf ../run/systemd/resolve/stub-resolv.conf
 rm -rf /root rm -rf /root
 mkdir /root mkdir /root
Ligne 162: Ligne 240:
 xhost -</code> xhost -</code>
  
-(unmount /proc ...) //ignore warning in this command 
-(exit) //if fails try exit 0 
-(sudo umount edit/dev)  //ignore error/warning in this command 
  
  
 Iso en fr Iso en fr
 +
 <code>echo "fr" | sudo tee extracted/isolinux/lang</code> <code>echo "fr" | sudo tee extracted/isolinux/lang</code>
 +
 +
 +
  
 ==== Regenerate manifest (ignore any warning) ==== ==== Regenerate manifest (ignore any warning) ====
 <code> <code>
-su+su -i  
 +cd CHEMIN 
 +</code> 
 + 
 +<code>
 chmod +w extracted/casper/filesystem.manifest chmod +w extracted/casper/filesystem.manifest
 chroot edit dpkg-query -W --showformat='${Package} ${Version}\n' > extracted/casper/filesystem.manifest chroot edit dpkg-query -W --showformat='${Package} ${Version}\n' > extracted/casper/filesystem.manifest
Ligne 205: Ligne 288:
  
 <code> <code>
-mkisofs -D -r -V "$IMAGE_NAME" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../Linux-Mint-cinnamon-x64_custom.iso .+mkisofs -D -r -V "LinuxMint Custom" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o ../tmp.iso .
 exit exit
-<code>+</code>