Improved windows setup process.
This commit is contained in:
@ -10,7 +10,7 @@ and aims to make it as easy as possible to setup and use.
|
|||||||
The environment is based on Windows 10 using [[https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux][Windows Subsystem for Linux]] for a
|
The environment is based on Windows 10 using [[https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux][Windows Subsystem for Linux]] for a
|
||||||
command line interface.
|
command line interface.
|
||||||
|
|
||||||
For pair programming I rely on [[https://www.gnu.org/software/emacs/][emacs]], specifically [[https://github.com/syl20bnr/spacemacs][spacemacs]] with [[https://tmate.io/][tmate]].
|
For pair programming I rely on [[https://www.gnu.org/software/emacs/][emacs]], specifically [[https://github.com/kubemacs/kubemacs][kubemacs]] with [[https://tmate.io/][tmate]].
|
||||||
|
|
||||||
This documentation is split into two main sections:
|
This documentation is split into two main sections:
|
||||||
- [[windows-setup.org][Windows 10]]
|
- [[windows-setup.org][Windows 10]]
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
# -*- ii: ii; -*-
|
||||||
#+TITLE: Windows 10 Setup
|
#+TITLE: Windows 10 Setup
|
||||||
#+AUTHOR: James Blair
|
#+AUTHOR: James Blair
|
||||||
#+EMAIL: mail@jamesblair.net
|
#+EMAIL: mail@jamesblair.net
|
||||||
@ -6,8 +7,7 @@
|
|||||||
|
|
||||||
* Install windows subsystem for linux
|
* Install windows subsystem for linux
|
||||||
|
|
||||||
To get underway we need to enable [[https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux][wsl]]. This requires a 64bit installation
|
To get underway we need to enable [[https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux][wsl]]. This requires a 64bit installation of Windows 10.
|
||||||
of Windows 10.
|
|
||||||
|
|
||||||
#+NAME: Enable the wsl feature
|
#+NAME: Enable the wsl feature
|
||||||
#+BEGIN_SRC tmate
|
#+BEGIN_SRC tmate
|
||||||
@ -15,8 +15,7 @@
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
After enabling the wsl feature we need to download the debian installer and
|
After enabling the wsl feature we need to download the debian installer and open it.
|
||||||
open it.
|
|
||||||
|
|
||||||
#+NAME: Download the debian installer
|
#+NAME: Download the debian installer
|
||||||
#+BEGIN_SRC tmate
|
#+BEGIN_SRC tmate
|
||||||
@ -25,6 +24,7 @@
|
|||||||
powershell.exe Add-AppxPackage .\debian.appx
|
powershell.exe Add-AppxPackage .\debian.appx
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*Note:* If you encounter an error while adding the package, I have needed to use the ~wsreset~ command in the past to first reset the windows store application.
|
||||||
|
|
||||||
After the installer runs we need to manually enter a username and password for
|
After the installer runs we need to manually enter a username and password for
|
||||||
the unix account that wsl will use.
|
the unix account that wsl will use.
|
||||||
@ -81,6 +81,8 @@
|
|||||||
|
|
||||||
** Update taskbar layout
|
** Update taskbar layout
|
||||||
|
|
||||||
|
I normally take the following steps immediately for a new installtion, I have not found an easy way of automating this as yet:
|
||||||
|
|
||||||
- Hide the search box.
|
- Hide the search box.
|
||||||
- Hide the task view button.
|
- Hide the task view button.
|
||||||
- Unpin all but explorer.
|
- Unpin all but explorer.
|
||||||
@ -88,7 +90,17 @@
|
|||||||
|
|
||||||
** Update start menu layout
|
** Update start menu layout
|
||||||
|
|
||||||
- Unpin all applications from start.
|
I prefer to have no pinned "tiles" in my start menu. The script below will unpin all applications from start.
|
||||||
|
|
||||||
|
#+begin_src shell
|
||||||
|
powershell.exe -NoLogo
|
||||||
|
(New-Object -Com Shell.Application).
|
||||||
|
NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').
|
||||||
|
Items() |
|
||||||
|
%{ $_.Verbs() } |
|
||||||
|
?{$_.Name -match 'Un.*pin from Start'} |
|
||||||
|
%{$_.DoIt()}
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** Lock screen configuration
|
** Lock screen configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user