Improved remaining windows setup steps.
This commit is contained in:
@ -1,4 +1,13 @@
|
|||||||
# -*- ii: ii; -*-
|
# -*- ii: ii; -*-
|
||||||
|
|
||||||
|
#+NAME: Download and install VcXsrv
|
||||||
|
#+BEGIN_SRC shell
|
||||||
|
# Download the vcxsrv installer
|
||||||
|
powershell.exe curl.exe -L -0 $env:TEMP\installer.exe https://sourceforge.net/projects/vcxsrv/files/latest/download
|
||||||
|
|
||||||
|
# Install vcxsrv
|
||||||
|
powershell.exe $env:TEMP\installer.exe
|
||||||
|
#+END_SRC
|
||||||
#+TITLE: Windows 10 Setup
|
#+TITLE: Windows 10 Setup
|
||||||
#+AUTHOR: James Blair
|
#+AUTHOR: James Blair
|
||||||
#+EMAIL: mail@jamesblair.net
|
#+EMAIL: mail@jamesblair.net
|
||||||
@ -71,10 +80,11 @@ You can use the following command to verify the distribution and version you now
|
|||||||
|
|
||||||
#+NAME: Download and install VcXsrv
|
#+NAME: Download and install VcXsrv
|
||||||
#+BEGIN_SRC shell
|
#+BEGIN_SRC shell
|
||||||
cd /c/Users/$USER/Downloads/
|
# Download the vcxsrv installer
|
||||||
wget https://sourceforge.net/projects/vcxsrv/files/latest/download
|
powershell.exe curl.exe -L -0 $env:TEMP\installer.exe https://sourceforge.net/projects/vcxsrv/files/latest/download
|
||||||
mv download installer.exe
|
|
||||||
cmd.exe /c installer.exe
|
# Install vcxsrv
|
||||||
|
powershell.exe $env:TEMP\installer.exe
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
@ -87,7 +97,7 @@ You can use the following command to verify the distribution and version you now
|
|||||||
cd /c/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Startup
|
cd /c/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Startup
|
||||||
cat > VcXsrv.xlaunch << EOF
|
cat > VcXsrv.xlaunch << EOF
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="False" XDMCPTerminate="False"/>
|
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="True" XDMCPTerminate="False"/>
|
||||||
EOF
|
EOF
|
||||||
cmd.exe /c VcXsrv.xlaunch
|
cmd.exe /c VcXsrv.xlaunch
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@ -99,7 +109,10 @@ You can use the following command to verify the distribution and version you now
|
|||||||
|
|
||||||
#+NAME: Configure tray icons
|
#+NAME: Configure tray icons
|
||||||
#+BEGIN_SRC shell
|
#+BEGIN_SRC shell
|
||||||
|
# Ensure all tray icons are visible
|
||||||
powershell.exe Set-ItemProperty HKLM:\SOFTWARE\Micorosoft\Windows\CurrentVersion\Explorer EnableAutoTray 0
|
powershell.exe Set-ItemProperty HKLM:\SOFTWARE\Micorosoft\Windows\CurrentVersion\Explorer EnableAutoTray 0
|
||||||
|
|
||||||
|
# Restart explorer
|
||||||
powershell.exe ps explorer | kill
|
powershell.exe ps explorer | kill
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -118,6 +131,8 @@ I normally take the following steps immediately for a new installtion, I have no
|
|||||||
|
|
||||||
I prefer to have no pinned "tiles" in my start menu. The script below will 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.
|
||||||
|
|
||||||
|
*Note:* In subsequent versions of Windows 10 this script seems to fail so I am back to doing this manually for now...
|
||||||
|
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
powershell.exe -NoLogo
|
powershell.exe -NoLogo
|
||||||
(New-Object -Com Shell.Application).
|
(New-Object -Com Shell.Application).
|
||||||
@ -131,6 +146,8 @@ Items() |
|
|||||||
|
|
||||||
** Lock screen configuration
|
** Lock screen configuration
|
||||||
|
|
||||||
|
I prefer a simple lock screen with no clutter so normally take the following steps:
|
||||||
|
|
||||||
- Untick show tips
|
- Untick show tips
|
||||||
- Set background to be picture and use in folder
|
- Set background to be picture and use in folder
|
||||||
- Remove status detailed or otherwise for apps on lock screen
|
- Remove status detailed or otherwise for apps on lock screen
|
||||||
@ -138,7 +155,12 @@ Items() |
|
|||||||
|
|
||||||
** Fix inactive window title colors
|
** Fix inactive window title colors
|
||||||
|
|
||||||
https://winaero.com/blog/change-color-of-inactive-title-bars-in-windows-10/
|
One of the annoyances I have in windows ten is after setting a title bar color for windows as part of standard theming any inactive windows have an awful white glare instead of retaining that color. Thankfully there is a [[ https://winaero.com/blog/change-color-of-inactive-title-bars-in-windows-10][registry tweak]] we can do to fix this.
|
||||||
|
|
||||||
|
#+NAME: Configure inactive window title color
|
||||||
|
#+BEGIN_SRC shell
|
||||||
|
powershell.exe Set-ItemProperty HKCU:\SOFTWARE\Micorosoft\Windows\DWM AccentColorInactive ff484a4c
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
* Configure a web browser
|
* Configure a web browser
|
||||||
@ -147,14 +169,12 @@ My current browser of choice is [[https://www.mozilla.org/en-US/firefox/new/][Fi
|
|||||||
|
|
||||||
#+NAME: Download and run firefox installer
|
#+NAME: Download and run firefox installer
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
cd "%USERPROFILE%\Downloads"
|
# Download the firefox installer
|
||||||
powershell.exe curl.exe -L -o firefox.exe https://download.mozilla.org/?product=firefox-stub&os=win64&lang=en-U
|
powershell.exe curl.exe -L -o $env:TEMP\firefox.exe https://download.mozilla.org/?product=firefox
|
||||||
firefox.exe
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+RESULTS: Download and run firefox installer
|
# Launch the installer
|
||||||
#+begin_example
|
#env:TEMP\firefox.exe
|
||||||
#+end_example
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
One of the customisations we apply is to update the color of the newtab page in firefox to match the rest of the theme we use and prevent white glare. To achieve this we use [[https://superuser.com/questions/1235975/change-firefox-new-tab-background#][usercss]].
|
One of the customisations we apply is to update the color of the newtab page in firefox to match the rest of the theme we use and prevent white glare. To achieve this we use [[https://superuser.com/questions/1235975/change-firefox-new-tab-background#][usercss]].
|
||||||
@ -163,7 +183,7 @@ Note there is an about:config setting that needs to be set to enable these style
|
|||||||
|
|
||||||
#+NAME: Configure usercss
|
#+NAME: Configure usercss
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
cd /c/Users/jmhbnz/AppData/Roaming/Mozilla/Firefox/Profiles/f7lryukb.default-release-1591505157037/chrome/
|
cd /c/Users/$USER/AppData/Roaming/Mozilla/Firefox/Profiles/[Default Profile]/chrome/
|
||||||
cat > userContent.css << EOF
|
cat > userContent.css << EOF
|
||||||
/* https://userstyles.org/styles/90565/firefox-adjust-white-flash-when-opening-new-tab */
|
/* https://userstyles.org/styles/90565/firefox-adjust-white-flash-when-opening-new-tab */
|
||||||
/* https://userstyles.org/styles/142191/remove-new-tab-flash */
|
/* https://userstyles.org/styles/142191/remove-new-tab-flash */
|
||||||
|
|||||||
Reference in New Issue
Block a user