Outils pour utilisateurs

Outils du site


systemes_dexploitation:windows:windows_10

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
systemes_dexploitation:windows:windows_10 [2017/11/07 20:01] – [Solarize Theme] sgariepysystemes_dexploitation:windows:windows_10 [2022/02/02 00:42] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 ====== Windows 10 ====== ====== Windows 10 ======
  
 +====== Windows Sub Linux ======
  
  
  
-====== Installer bash ======+===== Installer bash ===== 
 + 
 +Le nom officiel de l'application est **Windows Subsystem for Linux**.  Le [[https://github.com/Microsoft/WSL|projet est sur GitHub]].  Depuis le //Fall Creator's Update//, le //developer mode// n'est plus nécessaire et s'obtient à partir du Windows Store (à vérifier). 
  
 ===== Prérequis ===== ===== Prérequis =====
Ligne 12: Ligne 16:
  
 ===== Installation ===== ===== Installation =====
 +
 +==== Avant Fall Creator's Update ====
  
  
Ligne 22: Ligne 28:
   - À ce point on peut commencer à utiliser bash sur Windows.   - À ce point on peut commencer à utiliser bash sur Windows.
  
 +==== Après Fall Creator's Update ====
 +
 +  - Activer WSL comme avant (pas besoin d'activer le mode Développeur)
 +  - Aller dans le **Windows Store** et installer **Ubuntu** (ou autre distro Linux disponible)
  
 ===== Installer Zsh ===== ===== Installer Zsh =====
Ligne 43: Ligne 53:
     - Faire un clic-droit et sélectionner **Open file location**.     - Faire un clic-droit et sélectionner **Open file location**.
     - Sur le fichier ''.lnk'', en appayant sur <key>Shift</key> cliquer sur **Copy as path**.     - Sur le fichier ''.lnk'', en appayant sur <key>Shift</key> cliquer sur **Copy as path**.
-  - Exécuter ''.\Update-Link.ps1 "<shortcut.lnk>" dark+  - Exécuter ''%%.\Update-Link.ps1 "<shortcut.lnk>" dark%%''.
  
 Pour PowerShell: Pour PowerShell:
Ligne 51: Ligne 61:
   . (Join-Path -Path (Split-Path -Parent -Path $PROFILE) -ChildPath $(switch($HOST.UI.RawUI.BackgroundColor.ToString()){'White'{'Set-SolarizedLightColorDefaults.ps1'}'Black'{'Set-SolarizedDarkColorDefaults.ps1'}default{return}}))</code>   . (Join-Path -Path (Split-Path -Parent -Path $PROFILE) -ChildPath $(switch($HOST.UI.RawUI.BackgroundColor.ToString()){'White'{'Set-SolarizedLightColorDefaults.ps1'}'Black'{'Set-SolarizedDarkColorDefaults.ps1'}default{return}}))</code>
  
 +
 +===== Le fichiers physiquement =====
 +
 +Avant le Fall Creator's Update, les fichiers de WSL se trouvent dans '' %USERPROFILE%\appdata\local\lxss'' Suite à la mise à jour, ils sont dans ''%USERPROFILE%\appdata\local\Packages\CanonicalGroupLimited.UbuntuonWindows_[série_alphanumérique_aléatoire]\LocalState\rootfs\home''.
 +
 +
 +
 +
 +===== Hyper Terminal =====
 +
 +On peut utiliser [[https://hyper.is/|Hyper Terminal]].
 +
 +
 +Sources : 
 +
 +  * [[https://jessicadeen.com/badass-terminal-fcu-wsl-edition-oh-my-zsh-powerlevel9k-tmux-and-more/|Badass Terminal: FCU WSL Edition]]
 +  * [[https://evdokimovm.github.io/windows/zsh/shell/syntax/highlighting/ohmyzsh/hyper/terminal/2017/02/24/how-to-install-zsh-and-oh-my-zsh-on-windows-10.html|How to Install Zsh and Oh My Zsh on Windows 10]]
  
 ===== Emplacement des fichiers ===== ===== Emplacement des fichiers =====
Ligne 61: Ligne 88:
  
  
 +===== Troubleshooting =====
 +
 +Si le clone d'un git ne fonctionne pas avec une erreur du genre:
 +
 +<code>
 +Cloning into '<repo>'...
 +error: chmod on /mnt/c/<repopath>/.git/config.lock failed: Operation not permitted
 +fatal: could not set 'core.filemode' to 'false'
 +</code>
 +
 +Éditer ou créer le fichier ''/etc/wsl.conf'' et ajouter:
 +
 +<code>
 +[automount]
 +options = "metadata"
 +</code>
  
 ====== Bureaux virtuels ====== ====== Bureaux virtuels ======
Ligne 68: Ligne 111:
  
 Source : [[http://www.lesnumeriques.com/ordinateur-portable/tutoriel-windows-10-gerer-bureaux-virtuels-a2441.html|Windows 10 : gérer les bureaux virtuels]] Source : [[http://www.lesnumeriques.com/ordinateur-portable/tutoriel-windows-10-gerer-bureaux-virtuels-a2441.html|Windows 10 : gérer les bureaux virtuels]]
 +
 +====== Language Packs ======
 +
 +[[https://www.itechtics.com/windows-10-version-1709-language-packs-direct-download-links/|Language Packs pour 1709]]
 +
  
  
  
  
systemes_dexploitation/windows/windows_10.1510081300.txt.gz · Dernière modification : 2022/02/02 00:42 (modification externe)